Module core.stdc.math
D header file for C99.
This module contains bindings to selected types and
functions from the standard C header <math.h>
. Note that this
is not automatically generated, and may omit some types/functions from the
original C header.
Functions
Name | Description |
acos(x)
|
|
acos(x)
|
|
acosf(x)
|
|
acosf(x)
|
|
acosh(x)
|
|
acosh(x)
|
|
acoshf(x)
|
|
acoshf(x)
|
|
acoshl(x)
|
|
acoshl(x)
|
|
acoshl(x)
|
|
acosl(x)
|
|
acosl(x)
|
|
asin(x)
|
|
asin(x)
|
|
asinf(x)
|
|
asinf(x)
|
|
asinh(x)
|
|
asinh(x)
|
|
asinh(x)
|
|
asinh(x)
|
|
asinhf(x)
|
|
asinhf(x)
|
|
asinhl(x)
|
|
asinhl(x)
|
|
asinhl(x)
|
|
asinl(x)
|
|
asinl(x)
|
|
atan(x)
|
|
atan(x)
|
|
atan2(y, x)
|
|
atan2(y, x)
|
|
atan2(y, x)
|
|
atan2f(y, x)
|
|
atan2f(y, x)
|
|
atan2f(y, x)
|
|
atan2l(y, x)
|
|
atan2l(y, x)
|
|
atanf(x)
|
|
atanf(x)
|
|
atanf(x)
|
|
atanf(x)
|
|
atanh(x)
|
|
atanh(x)
|
|
atanh(x)
|
|
atanh(x)
|
|
atanh(x)
|
|
atanhf(x)
|
|
atanhf(x)
|
|
atanhf(x)
|
|
atanhl(x)
|
|
atanhl(x)
|
|
atanhl(x)
|
|
atanhl(x)
|
|
atanhl(x)
|
|
atanl(x)
|
|
atanl(x)
|
|
atanl(x)
|
|
cbrt(x)
|
|
cbrt(x)
|
|
cbrt(x)
|
|
cbrt(x)
|
|
cbrt(x)
|
|
cbrtf(x)
|
|
cbrtf(x)
|
|
cbrtf(x)
|
|
cbrtf(x)
|
|
cbrtf(x)
|
|
cbrtf(x)
|
|
cbrtl(x)
|
|
cbrtl(x)
|
|
cbrtl(x)
|
|
cbrtl(x)
|
|
cbrtl(x)
|
|
cbrtl(x)
|
|
ceil(x)
|
|
ceil(x)
|
|
ceil(x)
|
|
ceil(x)
|
|
ceil(x)
|
|
ceilf(x)
|
|
ceilf(x)
|
|
ceilf(x)
|
|
ceilf(x)
|
|
ceill(x)
|
|
ceill(x)
|
|
copysign(x, y)
|
|
copysign(x, y)
|
|
copysign(x, y)
|
|
copysignf(x, y)
|
|
copysignf(x, y)
|
|
copysignf(x, y)
|
|
copysignf(x, y)
|
|
copysignf(x, y)
|
|
copysignf(x, y)
|
|
copysignl(x, y)
|
|
copysignl(x, y)
|
|
cos(x)
|
|
cos(x)
|
|
cos(x)
|
|
cosf(x)
|
|
cosf(x)
|
|
cosh(x)
|
|
cosh(x)
|
|
cosh(x)
|
|
cosh(x)
|
|
cosh(x)
|
|
coshf(x)
|
|
coshf(x)
|
|
coshf(x)
|
|
coshf(x)
|
|
coshf(x)
|
|
coshl(x)
|
|
coshl(x)
|
|
coshl(x)
|
|
coshl(x)
|
|
coshl(x)
|
|
cosl(x)
|
|
cosl(x)
|
|
erf(x)
|
|
erf(x)
|
|
erf(x)
|
|
erf(x)
|
|
erfc(x)
|
|
erfc(x)
|
|
erfc(x)
|
|
erfc(x)
|
|
erfcf(x)
|
|
erfcf(x)
|
|
erfcl(x)
|
|
erfcl(x)
|
|
erfcl(x)
|
|
erff(x)
|
|
erff(x)
|
|
erff(x)
|
|
erff(x)
|
|
erfl(x)
|
|
erfl(x)
|
|
erfl(x)
|
|
erfl(x)
|
|
exp(x)
|
|
exp(x)
|
|
exp(x)
|
|
exp(x)
|
|
exp2(x)
|
|
exp2(x)
|
|
exp2(x)
|
|
exp2(x)
|
|
exp2f(x)
|
|
exp2f(x)
|
|
exp2f(x)
|
|
exp2f(x)
|
|
exp2l(x)
|
|
exp2l(x)
|
|
exp2l(x)
|
|
expf(x)
|
|
expf(x)
|
|
expf(x)
|
|
expf(x)
|
|
expl(x)
|
|
expl(x)
|
|
expl(x)
|
|
expl(x)
|
|
expm1(x)
|
|
expm1(x)
|
|
expm1(x)
|
|
expm1(x)
|
|
expm1f(x)
|
|
expm1f(x)
|
|
expm1f(x)
|
|
expm1f(x)
|
|
expm1l(x)
|
|
expm1l(x)
|
|
expm1l(x)
|
|
expm1l(x)
|
|
expm1l(x)
|
|
fabs(x)
|
|
fabs(x)
|
|
fabs(x)
|
|
fabs(x)
|
|
fabsf(x)
|
|
fabsf(x)
|
|
fabsf(x)
|
|
fabsf(x)
|
|
fabsl(x)
|
|
fabsl(x)
|
|
fabsl(x)
|
|
fdim(x, y)
|
|
fdim(x, y)
|
|
fdim(x, y)
|
|
fdimf(x, y)
|
|
fdimf(x, y)
|
|
fdiml(x, y)
|
|
fdiml(x, y)
|
|
floor(x)
|
|
floor(x)
|
|
floor(x)
|
|
floor(x)
|
|
floorf(x)
|
|
floorf(x)
|
|
floorf(x)
|
|
floorf(x)
|
|
floorl(x)
|
|
floorl(x)
|
|
fma(x, y, z)
|
|
fma(x, y, z)
|
|
fmaf(x, y, z)
|
|
fmaf(x, y, z)
|
|
fmaf(x, y, z)
|
|
fmal(x, y, z)
|
|
fmal(x, y, z)
|
|
fmal(x, y, z)
|
|
fmax(x, y)
|
|
fmax(x, y)
|
|
fmax(x, y)
|
|
fmax(x, y)
|
|
fmax(x, y)
|
|
fmaxf(x, y)
|
|
fmaxf(x, y)
|
|
fmaxf(x, y)
|
|
fmaxf(x, y)
|
|
fmaxf(x, y)
|
|
fmaxl(x, y)
|
|
fmaxl(x, y)
|
|
fmin(x, y)
|
|
fmin(x, y)
|
|
fmin(x, y)
|
|
fmin(x, y)
|
|
fmin(x, y)
|
|
fminf(x, y)
|
|
fminf(x, y)
|
|
fminf(x, y)
|
|
fminf(x, y)
|
|
fminf(x, y)
|
|
fminf(x, y)
|
|
fminl(x, y)
|
|
fminl(x, y)
|
|
fmod(x, y)
|
|
fmod(x, y)
|
|
fmod(x, y)
|
|
fmodf(x, y)
|
|
fmodf(x, y)
|
|
fmodf(x, y)
|
|
fmodf(x, y)
|
|
fmodl(x, y)
|
|
fmodl(x, y)
|
|
fpclassify(x)
|
|
fpclassify(x)
|
|
fpclassify(x)
|
|
fpclassify(x)
|
|
fpclassify(x)
|
|
fpclassify(x)
|
|
frexp(value, exp)
|
|
frexp(value, exp)
|
|
frexp(value, exp)
|
|
frexp(value, exp)
|
|
frexp(value, exp)
|
|
frexpf(value, exp)
|
|
frexpf(value, exp)
|
|
frexpf(value, exp)
|
|
frexpf(value, exp)
|
|
frexpf(value, exp)
|
|
frexpl(value, exp)
|
|
frexpl(value, exp)
|
|
hypot(x, y)
|
|
hypot(x, y)
|
|
hypot(x, y)
|
|
hypot(x, y)
|
|
hypot(x, y)
|
|
hypot(x, y)
|
|
hypotf(x, y)
|
|
hypotf(x, y)
|
|
hypotf(x, y)
|
|
hypotf(x, y)
|
|
hypotf(x, y)
|
|
hypotf(x, y)
|
|
hypotl(x, y)
|
|
hypotl(x, y)
|
|
hypotl(x, y)
|
|
ilogb(x)
|
|
ilogb(x)
|
|
ilogb(x)
|
|
ilogb(x)
|
|
ilogbf(x)
|
|
ilogbf(x)
|
|
ilogbf(x)
|
|
ilogbf(x)
|
|
ilogbl(x)
|
|
ilogbl(x)
|
|
ilogbl(x)
|
|
isfinite(x)
|
|
isfinite(x)
|
|
isfinite(x)
|
|
isfinite(x)
|
|
isfinite(x)
|
|
isgreater(x, y)
|
|
isgreaterequal(x, y)
|
|
isinf(x)
|
|
isinf(x)
|
|
isinf(x)
|
|
isinf(x)
|
|
isless(x, y)
|
|
islessequal(x, y)
|
|
islessgreater(x, y)
|
|
isnan(x)
|
|
isnormal(x)
|
|
isnormal(x)
|
|
isnormal(x)
|
|
isnormal(x)
|
|
isunordered(x, y)
|
|
ldexp(x, exp)
|
|
ldexp(x, exp)
|
|
ldexp(x, exp)
|
|
ldexp(x, exp)
|
|
ldexp(x, exp)
|
|
ldexpf(x, exp)
|
|
ldexpf(x, exp)
|
|
ldexpf(x, exp)
|
|
ldexpf(x, exp)
|
|
ldexpf(x, exp)
|
|
ldexpl(x, exp)
|
|
ldexpl(x, exp)
|
|
lgamma(x)
|
|
lgamma(x)
|
|
lgamma(x)
|
|
lgamma(x)
|
|
lgammaf(x)
|
|
lgammaf(x)
|
|
lgammaf(x)
|
|
lgammaf(x)
|
|
lgammal(x)
|
|
lgammal(x)
|
|
lgammal(x)
|
|
lgammal(x)
|
|
llrint(x)
|
|
llrint(x)
|
|
llrint(x)
|
|
llrint(x)
|
|
llrint(x)
|
|
llrint(x)
|
|
llrintf(x)
|
|
llrintf(x)
|
|
llrintf(x)
|
|
llrintf(x)
|
|
llrintf(x)
|
|
llrintl(x)
|
|
llrintl(x)
|
|
llrintl(x)
|
|
llrintl(x)
|
|
llrintl(x)
|
|
llround(x)
|
|
llround(x)
|
|
llround(x)
|
|
llroundf(x)
|
|
llroundf(x)
|
|
llroundl(x)
|
|
llroundl(x)
|
|
log(x)
|
|
log(x)
|
|
log(x)
|
|
log(x)
|
|
log10(x)
|
|
log10(x)
|
|
log10(x)
|
|
log10(x)
|
|
log10f(x)
|
|
log10f(x)
|
|
log10f(x)
|
|
log10f(x)
|
|
log10f(x)
|
|
log10f(x)
|
|
log10l(x)
|
NetBSD has no log10l. It is just alias log(double)
|
log10l(x)
|
|
log10l(x)
|
|
log10l(x)
|
|
log1p(x)
|
|
log1p(x)
|
|
log1p(x)
|
|
log1p(x)
|
|
log1p(x)
|
|
log1pf(x)
|
|
log1pf(x)
|
|
log1pf(x)
|
|
log1pf(x)
|
|
log1pf(x)
|
|
log1pl(x)
|
|
log1pl(x)
|
|
log1pl(x)
|
|
log1pl(x)
|
|
log2(x)
|
|
log2(x)
|
|
log2(x)
|
|
log2(x)
|
|
log2(x)
|
|
log2(x)
|
|
log2f(x)
|
|
log2f(x)
|
|
log2f(x)
|
|
log2f(x)
|
|
log2f(x)
|
|
log2l(x)
|
|
log2l(x)
|
|
log2l(x)
|
|
log2l(x)
|
|
log2l(x)
|
|
logb(x)
|
|
logb(x)
|
|
logb(x)
|
|
logb(x)
|
|
logb(x)
|
|
logb10l(x)
|
|
logb1pl(x)
|
|
logb2l(x)
|
|
logbf(x)
|
|
logbf(x)
|
|
logbf(x)
|
|
logbf(x)
|
|
logbl(x)
|
|
logbl(x)
|
|
logf(x)
|
|
logf(x)
|
|
logf(x)
|
|
logf(x)
|
|
logf(x)
|
|
logl(x)
|
|
logl(x)
|
|
logl(x)
|
|
logl(x)
|
|
logl(x)
|
NetBSD has no logl. It is just alias log(double)
|
lrint(x)
|
|
lrint(x)
|
|
lrint(x)
|
|
lrint(x)
|
|
lrint(x)
|
|
lrintf(x)
|
|
lrintf(x)
|
|
lrintf(x)
|
|
lrintf(x)
|
|
lrintf(x)
|
|
lrintl(x)
|
|
lrintl(x)
|
|
lround(x)
|
|
lround(x)
|
|
lround(x)
|
|
lround(x)
|
|
lround(x)
|
|
lround(x)
|
|
lroundf(x)
|
|
lroundf(x)
|
|
lroundf(x)
|
|
lroundf(x)
|
|
lroundl(x)
|
|
lroundl(x)
|
|
lroundl(x)
|
|
modf(value, iptr)
|
|
modf(value, iptr)
|
|
modf(value, iptr)
|
|
modf(value, iptr)
|
|
modf(value, iptr)
|
|
modff(value, iptr)
|
|
modff(value, iptr)
|
|
modff(value, iptr)
|
|
modff(value, iptr)
|
|
modff(value, iptr)
|
|
modfl(value, iptr)
|
|
modfl(value, iptr)
|
|
modfl(value, iptr)
|
|
nan(tagp)
|
|
nan(tagp)
|
|
nan(tagp)
|
|
nanf(tagp)
|
|
nanf(tagp)
|
|
nanf(tagp)
|
|
nanl(tagp)
|
|
nanl(tagp)
|
|
nanl(tagp)
|
|
nearbyint(x)
|
|
nearbyint(x)
|
|
nearbyint(x)
|
|
nearbyint(x)
|
|
nearbyint(x)
|
|
nearbyintf(x)
|
|
nearbyintf(x)
|
|
nearbyintf(x)
|
|
nearbyintf(x)
|
|
nearbyintf(x)
|
|
nearbyintl(x)
|
|
nearbyintl(x)
|
|
nearbyintl(x)
|
|
nextafter(x, y)
|
|
nextafter(x, y)
|
|
nextafter(x, y)
|
|
nextafter(x, y)
|
|
nextafterf(x, y)
|
|
nextafterf(x, y)
|
|
nextafterl(x, y)
|
|
nextafterl(x, y)
|
|
nexttoward(x, y)
|
|
nexttoward(x, y)
|
|
nexttoward(x, y)
|
|
nexttowardf(x, y)
|
|
nexttowardf(x, y)
|
|
nexttowardf(x, y)
|
|
nexttowardf(x, y)
|
|
nexttowardl(x, y)
|
|
nexttowardl(x, y)
|
|
nexttowardl(x, y)
|
|
pow(x, y)
|
|
pow(x, y)
|
|
pow(x, y)
|
|
pow(x, y)
|
|
powf(x, y)
|
|
powf(x, y)
|
|
powf(x, y)
|
|
powf(x, y)
|
|
powl(x, y)
|
|
powl(x, y)
|
|
powl(x, y)
|
|
remainder(x, y)
|
|
remainder(x, y)
|
|
remainder(x, y)
|
|
remainder(x, y)
|
|
remainder(x, y)
|
|
remainderf(x, y)
|
|
remainderf(x, y)
|
|
remainderf(x, y)
|
|
remainderf(x, y)
|
|
remainderl(x, y)
|
|
remainderl(x, y)
|
|
remainderl(x, y)
|
|
remquo(x, y, quo)
|
|
remquo(x, y, quo)
|
|
remquo(x, y, quo)
|
|
remquo(x, y, quo)
|
|
remquo(x, y, quo)
|
|
remquof(x, y, quo)
|
|
remquof(x, y, quo)
|
|
remquof(x, y, quo)
|
|
remquof(x, y, quo)
|
|
remquof(x, y, quo)
|
|
remquol(x, y, quo)
|
|
remquol(x, y, quo)
|
|
remquol(x, y, quo)
|
|
rint(x)
|
|
rint(x)
|
|
rint(x)
|
|
rintf(x)
|
|
rintf(x)
|
|
rintf(x)
|
|
rintl(x)
|
|
rintl(x)
|
|
round(x)
|
|
round(x)
|
|
round(x)
|
|
round(x)
|
|
roundf(x)
|
|
roundf(x)
|
|
roundf(x)
|
|
roundf(x)
|
|
roundl(x)
|
|
roundl(x)
|
|
roundl(x)
|
|
scalbln(x, n)
|
|
scalbln(x, n)
|
|
scalbln(x, n)
|
|
scalbln(x, n)
|
|
scalblnf(x, n)
|
|
scalblnf(x, n)
|
|
scalblnf(x, n)
|
|
scalblnf(x, n)
|
|
scalblnf(x, n)
|
|
scalblnl(x, n)
|
|
scalblnl(x, n)
|
|
scalbn(x, n)
|
|
scalbn(x, n)
|
|
scalbn(x, n)
|
|
scalbn(x, n)
|
|
scalbnf(x, n)
|
|
scalbnf(x, n)
|
|
scalbnl(x, n)
|
|
scalbnl(x, n)
|
|
scalbnl(x, n)
|
|
signbit(x)
|
|
signbit(x)
|
|
signbit(x)
|
|
signbit(x)
|
|
signbit(x)
|
|
sin(x)
|
|
sin(x)
|
|
sinf(x)
|
|
sinf(x)
|
|
sinh(x)
|
|
sinh(x)
|
|
sinh(x)
|
|
sinhf(x)
|
|
sinhf(x)
|
|
sinhf(x)
|
|
sinhl(x)
|
|
sinhl(x)
|
|
sinhl(x)
|
|
sinhl(x)
|
|
sinl(x)
|
|
sinl(x)
|
|
sqrt(x)
|
|
sqrt(x)
|
|
sqrt(x)
|
|
sqrt(x)
|
|
sqrt(x)
|
|
sqrt(x)
|
|
sqrtf(x)
|
|
sqrtf(x)
|
|
sqrtf(x)
|
|
sqrtf(x)
|
|
sqrtl(x)
|
|
sqrtl(x)
|
|
sqrtl(x)
|
|
tan(x)
|
|
tan(x)
|
|
tan(x)
|
|
tan(x)
|
|
tanf(x)
|
|
tanf(x)
|
|
tanf(x)
|
|
tanh(x)
|
|
tanh(x)
|
|
tanhf(x)
|
|
tanhf(x)
|
|
tanhl(x)
|
|
tanhl(x)
|
|
tanhl(x)
|
|
tanl(x)
|
|
tanl(x)
|
|
tanl(x)
|
|
tgamma(x)
|
|
tgamma(x)
|
|
tgamma(x)
|
|
tgammaf(x)
|
|
tgammaf(x)
|
|
tgammaf(x)
|
|
tgammal(x)
|
|
tgammal(x)
|
|
tgammal(x)
|
|
trunc(x)
|
|
trunc(x)
|
|
trunc(x)
|
|
trunc(x)
|
|
truncf(x)
|
|
truncf(x)
|
|
truncf(x)
|
|
truncf(x)
|
|
truncl(x)
|
|
truncl(x)
|
|