Numerics
From cppreference.com
< c
The C numerics library includes common mathematical functions and types, as well as support for random number generation.
Contents 
[edit] Common mathematical functions
The header math.h
provides standard C library mathematical functions such as fabs, sqrt, and sin.
[edit] Floatingpoint environment
The header fenv.h
defines flags and functions related to exceptional floatingpoint state, such as overflow and division by zero.
[edit] Pseudorandom number generation
The header stdlib.h
also includes Cstyle random number generation via srand and rand.
[edit] Complex number arithmetic
The header complex.h
provides types and functions about complex numbers.
[edit] Typegeneric math
The header tgmath.h
provides some macros for a function which names XXX:
 real function:
 float variant
XXXf
 double variant
XXX
 long double variant
XXXl
 float variant
 complex function:
 float variant
cXXXf
 double variant
cXXX
 long double variant
cXXXl
 float variant
[edit] See also
C++ documentation for Numerics library
