math(M) 19 June 1992 math(M) Name math - math functions and constants Syntax #include <math.h> Description This file contains declarations of all the functions in the Development System Math Library as well as various functions in the C Library that return floating-point values. It defines the structure and constants used by the matherr(S) error- handling mechanisms, including the following constant used as an error- return value: HUGE The maximum value of a single-precision floating-point number. The following mathematical constants are defined for user convenience: ME The base of natural logarithms (e). MLOG2E The base-2 logarithm of e. MLOG10E The base-10 logarithm of e. MLN2 The natural logarithm of 2. MLN10 The natural logarithm of 10. MPI pi, the ratio of the circumference of a circle to its diameter. MPI2 pi/2 MPI4 pi/4 M1PI 1/pi M2PI 2/pi M2SQRTPI 2/sqrt(pi) MSQRT2 The positive square root of 2. MSQRT12 The positive square root of 1/2. For the definitions of various machine-dependent ``constants,'' see the description of the <values.h> header file. See also intro(S), matherr(S), values(M) Standards conformance math is conformant with: X/Open Portability Guide, Issue 3, 1989.