Title: int absint
1int abs(int) double fabs(double)
Both compute the absolute value. abs is used for
ints and fabs is used for doubles. abs(-3) 3 fab
s(-4.5) 4.5
2double ceil(double) double floor(double)
ceil(2.0)2.0 floor(2.0)2.0
3double cos(double) / in radians / double
sin(double) double tan(double)
tan ( pi/2.0) near infinity
4double log(double) / ln, log base e / double
log10(double) /log base 10 /
double exp(double) / e to the power
/ exp(2.4) e2.4
exp ( log ( 53.2)) 53.2 log ( exp (17.1)) 17.1
5double pow(double b, double c) / b to the
c / bc double sqrt(double)
You can't take the square root of a negative
number. Therefore, you can't do pow(-3.0,
0.5) sqrt(-3.0) (If you try pow(-3.0, 1/2)
you get 1.0, because pow(-3.0,1/2) pow(-3.0,
0.0) 1.0)