NAME | SYNOPSIS | DESCRIPTION | SEE ALSO
#include <math.h>
This file contains declarations of all the functions in the Math Library (described in Section 3M), as well as various functions in the C Library (Section 3C) that return floating-point values.
It defines the structure and constants used by the matherr(3M) error-handling mechanisms, including the following constant used as a error-return value:
The maximum value of a single-precision floating-point number.
The following mathematical constants are defined for user convenience:
The base of natural logarithms (e).
The base-2 logarithm of e.
The base-10 logarithm of e.
The natural logarithm of 2.
The natural logarithm of 10.
pi, the ratio of the circumference of a circle to its diameter.
pi/2.
pi/4.
1/pi.
2/pi.
2 over the square root of pi.
The positive square root of 2.
The positive square root of 1/2.
The following mathematical constants are also defined in this header file:
The maximum value of a non-infinite single-precision floating point number.
positive infinity. For the definitions of various machine-dependent constants see values(3HEAD).
NAME | SYNOPSIS | DESCRIPTION | SEE ALSO