| Name |
Description |
acosh |
hyperbolic arccosine |
asinh |
hyperbolic arcsine |
atanh |
hyperbolic arctangent |
cbrt |
cube root |
copysign(x,y) |
returns the value of x with the sign of y |
erf |
error function |
erfc |
complementary error function |
exp2(x) |
raise 2 to the power of x, 2x |
expm1(x) |
one less than the exponential of x, ex − 1 |
fdim(x,y) |
positive difference between x and y, fmax(x−y, 0) |
fma(x,y,z) |
multiply and add, (x * y) + z |
fmax(x,y) |
largest value of x and y |
fmin(x,y) |
smallest value of x and y |
hypot(x,y) |
hypotenuse, sqrt(x2 + y2) |
ilogb |
the exponent of a floating-point value, converted to an int |
lgamma |
natural log of the absolute value of the gamma function |
llrint |
round to integer (returns long long) using current rounding mode |
lrint |
round to integer (returns long) using current rounding mode |
llround |
round to integer (returns long long) |
lround |
round to integer (returns long) |
log1p(x) |
natural logarithm of 1 + x |
log2 |
base-2 logarithm |
logb |
extract exponent from floating-point number |
nan(s) |
returns NaN, possibly using string argument |
nearbyint |
round floating-point number to nearest integer |
nextafter(x,y) |
returns next representable value after x (towards y) |
nexttoward(x,y) |
same as nextafter, except y is always a long double |
remainder(x,y) |
calculates remainder, as required by IEC 60559 |
remquo(x,y,p) |
same as remainder, but store quotient (as int) at target of pointer p |
rint |
round to integer (returns int) using current rounding mode |
round |
round to integer (returns int) |
scalbln(x,n) |
x * FLT_RADIXn (n is long) |
scalbn(x,n) |
x * FLT_RADIXn (n is int) |
tgamma |
gamma function |
trunc |
truncate floating-point number |