Table of contents
1. The math.h library in C2. Trigonometric functions
3. Hyperbolic functions
4. Exponential and logarithmic functions
5. Power functions
6. Rounding and remainder functions
7. Special functions
8. Floating-point classification and constants
9. Conclusion
All the functions discussed here typically operate on
double
arguments and returndouble
values. C99 and later also define single-precision (float
, typically suffixf
) and extended-precision (long double
, typically suffixl
) variants for most of these functions, such assin
,sinl
,sinf
, etc.