Open System Services System Calls Reference Manual (G06.25+, H06.03+)

Files math(4)
NAME
math - Species the mathematical constants
SYNOPSIS
#include <math.h>
DESCRIPTION
The math.h header le denes symbolic names and constant values of type double.
The symbolic names are:
HUGE_VAL Species a positive double expression that cannot necessarily be represented as
a type oat value. Used as an error indicator when returned as a value for
mathematics library functions.
For Tandem-format oating-point data, the value of HUGE_VAL is
DBL_MAX. For IEEE oating-point data, the value of HUGE_VAL is positive
innity of type double.
MAXFLOAT Species the value of the maximum noninnite single-precision oating-point
number.
For Tandem-format oating-point data, the value of MAXFLOAT is
DBL_MAX. For IEEE oating-point data, the value of MAXFLOAT is also
DBL_MAX, but the value of DBL_MAX differs between the two formats.
Refer to the oat(4) reference page for more information about DBL_MAX.
The following constants of type double are accurate within the precision of the double type:
M_E Species the value of e.
M_LN2 Species the value of log to the base e of 2.
M_LN10 Species the value of log to the base e of 10.
M_LOG2E Species the value of log to the base 2 of e.
M_LOG10E Species the value of log to the base 10 of e.
M_PI Species the value of pi.
M_PI_2 Species the value of pi divided by 2.
M_PI_4 Species the value of pi divided by 4.
M_SQRT2 Species the value of the square root of 2.
M_SQRT1_2 Species the value of 1 divided by the square root of 2.
M_1_PI Species the value of 1 divided by pi.
M_2_PI Species the value of 2 divided by pi.
M_2_SQRTPI Species the value of 2 divided by the square root of pi.
RELATED INFORMATION
Files: oat(4).
527186-003 Hewlett-Packard Company 1117