The <math.h> include file declares all the
floating-point math functions:
acos asin atan atan2 Bessel ceil |
cos cosh erf erfc exp fabs |
floor fmod frexp gamma hypot ldexp |
log log10 modf pow sin sinh |
sqrt tan tanh |
Notes:
<math.h> defines the macro HUGE_VAL, which expands to a positive double expression, and possibly to infinity on systems that support infinity.
For all mathematical functions, a domain error occurs when an input argument is outside the range of values that are allowed for that function. In the event of a domain error, errno is set to the value of EDOM.
A range error occurs if the result of the function cannot be represented in a double value. If the magnitude of the result is too large (overflow), the function returns the positive or negative value of the macro HUGE_VAL, and sets errno to ERANGE. If the result is too small (underflow), the function returns zero.
(C) Copyright IBM Corporation 1992, 2006. All Rights Reserved.