Functions
|
Basic operations
|
|
|
computes absolute value of an integral value (|x|) (function)
|
|
|
absolute value of an absolute value of an floating point value (|x|) (function)
|
|
|
the quotient and remainder of integer division (function)
|
|
|
remainder of the floating point division operation (function)
|
|
|
signed remainder of the division operation (function)
|
|
|
signed remainder as well as the three last bits of the division operation (function)
|
|
|
fused multiply-add operation (function)
|
|
|
larger of two floating point values (function)
|
|
|
smaller of two floating point values (function)
|
|
|
positive difference of two floating point values (max(0, x-y)) (function)
|
|
|
not-a-number (NaN) (function)
|
Exponential functions
|
|
|
returns e raised to the given power (ex) (function)
|
|
|
returns 2 raised to the given power (2x) (function)
|
|
|
returns e raised to the given power, minus one (ex-1) (function)
|
|
|
computes natural (base e) logarithm (to base e) (ln(x)) (function)
|
|
|
computes common (base 10) logarithm (log10(x)) (function)
|
|
|
natural logarithm (to base e) of 1 plus the given number (function)
|
|
|
extracts exponent of the number (function)
|
|
|
extracts exponent of the number (function)
|
Power functions
|
|
|
computes square root (√x) (function)
|
|
|
computes cubic root (3√x) (function)
|
|
|
computes square root of the sum of the squares of two given numbers (√x2 +y2 ) (function)
|
|
|
raises a number to the given power (xy) (function)
|
Trigonometric functions
|
|
|
computes sine (sin(x)) (function)
|
|
|
computes cosine (cos(x)) (function)
|
|
|
computes tangent (tan(x)) (function)
|
|
|
computes arc sine (arcsin(x)) (function)
|
|
|
computes arc cosine (arccos(x)) (function)
|
|
|
computes arc tangent (arctan(x)) (function)
|
|
|
arc tangent, using signs to determine quadrants (function)
|
Hyperbolic functions
|
|
|
computes hyperbolic sine (sh(x)) (function)
|
|
|
computes hyperbolic cosine (ch(x)) (function)
|
|
|
hyperbolic tangent (function)
|
|
|
hyperbolic arc sine (function)
|
|
|
hyperbolic arc cosine (function)
|
|
|
hyperbolic arc tangent (function)
|
Error and gamma functions
|
|
|
error function (function)
|
|
|
complementary error function (function)
|
|
|
natural logarithm of the gamma function (function)
|
|
|
gamma function (function)
|
Nearest integer floating point operations
|
|
|
nearest integer not less than the given value (function)
|
|
|
nearest integer not greater than the given value (function)
|
|
|
nearest integer not greater in magnitude than the given value (function)
|
|
|
nearest integer, rounding away from zero in halfway cases (function)
|
|
|
nearest integer using current rounding mode (function)
|
|
|
nearest integer using current rounding mode with exception if the result differs (function)
|
Floating point manipulation functions
|
|
|
decomposes a number into significand and a power of 2 (function)
|
|
|
multiplies a number by 2 raised to a power (function)
|
|
|
decomposes a number into integer and fractional parts (function)
|
|
|
multiplies a number by FLT_RADIX raised to a power (function)
|
|
|
next representable floating point value towards the given value (function)
|
|
|
copies the sign of a floating point value (function)
|
Classification
|
|
|
categorizes the given floating point value (function)
|
|
|
checks if the given number has finite value (function)
|
|
|
checks if the given number is infinite (function)
|
|
|
checks if the given number is NaN (function)
|
|
|
checks if the given number is normal (function)
|
|
|
checks if the given number is negative (function)
|
Macro constants
|
|
|
indicates value too big to be representable (infinity) by double (macro constant)
|
|
|
indicates value too big to be representable (infinity) by float (macro constant)
|
|
|
indicates value too big to be representable (infinity) by long double (macro constant)
|
Classification
|
|
|
indicates infinite floating point value (macro constant)
|
|
|
indicates not-a-number (NaN) (macro constant)
|
|
|
indicates normal number (macro constant)
|
|
|
indicates subnormal number (macro constant)
|
|
|
indicates zero (macro constant)
|