Partially implemented standard C's math.h

style error: space between for and paren, please.