Report a bug
If you spot a problem with this page, click here to create a Bugzilla issue.
Improve this page
Quickly fork, edit online, and submit a pull request for this page.
Requires a signed-in GitHub account. This works well for small changes.
If you'd like to make larger changes you may want to consider using
a local clone.
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.
License:
Distributed under the
Boost Software License 1.0.
(See accompanying file LICENSE)
Authors:
Sean Kelly
Source core/stdc/math.d
- alias
float_t
= float; - alias
double_t
= double; - enum double
HUGE_VAL
; - enum double
HUGE_VALF
; - enum double
HUGE_VALL
; - enum float
INFINITY
; - enum float
NAN
; - enum int
FP_ILOGB0
; - enum int
FP_ILOGBNAN
; - enum int
MATH_ERRNO
; - enum int
MATH_ERREXCEPT
; - enum int
math_errhandling
; FP_NAN
FP_INFINITE
FP_ZERO
FP_SUBNORMAL
FP_NORMAL
FP_FAST_FMA
FP_FAST_FMAF
FP_FAST_FMAL
- nothrow @nogc @trusted int
fpclassify
(floatx
); - nothrow @nogc @trusted int
fpclassify
(doublex
); - nothrow @nogc @trusted int
fpclassify
(realx
); - nothrow @nogc @trusted int
isfinite
(floatx
); - nothrow @nogc @trusted int
isfinite
(doublex
); - nothrow @nogc @trusted int
isfinite
(realx
); - nothrow @nogc @trusted int
isinf
(floatx
); - nothrow @nogc @trusted int
isinf
(doublex
); - nothrow @nogc @trusted int
isinf
(realx
); - nothrow @nogc @trusted int
isnan
(floatx
); - nothrow @nogc @trusted int
isnan
(doublex
); - nothrow @nogc @trusted int
isnan
(realx
); - nothrow @nogc @trusted int
isnormal
(floatx
); - nothrow @nogc @trusted int
isnormal
(doublex
); - nothrow @nogc @trusted int
isnormal
(realx
); - nothrow @nogc @trusted int
signbit
(floatx
); - nothrow @nogc @trusted int
signbit
(doublex
); - nothrow @nogc @trusted int
signbit
(realx
); - nothrow @nogc @trusted int
isgreater
(floatx
, floaty
); - nothrow @nogc @trusted int
isgreater
(doublex
, doubley
); - nothrow @nogc @trusted int
isgreater
(realx
, realy
); - nothrow @nogc @trusted int
isgreaterequal
(floatx
, floaty
); - nothrow @nogc @trusted int
isgreaterequal
(doublex
, doubley
); - nothrow @nogc @trusted int
isgreaterequal
(realx
, realy
); - nothrow @nogc @trusted int
isless
(floatx
, floaty
); - nothrow @nogc @trusted int
isless
(doublex
, doubley
); - nothrow @nogc @trusted int
isless
(realx
, realy
); - nothrow @nogc @trusted int
islessequal
(floatx
, floaty
); - nothrow @nogc @trusted int
islessequal
(doublex
, doubley
); - nothrow @nogc @trusted int
islessequal
(realx
, realy
); - nothrow @nogc @trusted int
islessgreater
(floatx
, floaty
); - nothrow @nogc @trusted int
islessgreater
(doublex
, doubley
); - nothrow @nogc @trusted int
islessgreater
(realx
, realy
); - nothrow @nogc @trusted int
isunordered
(floatx
, floaty
); - nothrow @nogc @trusted int
isunordered
(doublex
, doubley
); - nothrow @nogc @trusted int
isunordered
(realx
, realy
); - nothrow @nogc @trusted double
acos
(doublex
); - nothrow @nogc @trusted float
acosf
(floatx
); - nothrow @nogc @trusted real
acosl
(realx
); - nothrow @nogc @trusted double
asin
(doublex
); - nothrow @nogc @trusted float
asinf
(floatx
); - nothrow @nogc @trusted real
asinl
(realx
); - nothrow @nogc @trusted double
atan
(doublex
); - nothrow @nogc @trusted float
atanf
(floatx
); - nothrow @nogc @trusted real
atanl
(realx
); - nothrow @nogc @trusted double
atan2
(doubley
, doublex
); - nothrow @nogc @trusted float
atan2f
(floaty
, floatx
); - nothrow @nogc @trusted real
atan2l
(realy
, realx
); - nothrow @nogc @trusted double
cos
(doublex
); - nothrow @nogc @trusted float
cosf
(floatx
); - nothrow @nogc @trusted real
cosl
(realx
); - nothrow @nogc @trusted double
sin
(doublex
); - nothrow @nogc @trusted float
sinf
(floatx
); - nothrow @nogc @trusted real
sinl
(realx
); - nothrow @nogc @trusted double
tan
(doublex
); - nothrow @nogc @trusted float
tanf
(floatx
); - nothrow @nogc @trusted real
tanl
(realx
); - nothrow @nogc @trusted double
acosh
(doublex
); - nothrow @nogc @trusted float
acoshf
(floatx
); - nothrow @nogc @trusted real
acoshl
(realx
); - nothrow @nogc @trusted double
asinh
(doublex
); - nothrow @nogc @trusted float
asinhf
(floatx
); - nothrow @nogc @trusted real
asinhl
(realx
); - nothrow @nogc @trusted double
atanh
(doublex
); - nothrow @nogc @trusted float
atanhf
(floatx
); - nothrow @nogc @trusted real
atanhl
(realx
); - nothrow @nogc @trusted double
cosh
(doublex
); - nothrow @nogc @trusted float
coshf
(floatx
); - nothrow @nogc @trusted real
coshl
(realx
); - nothrow @nogc @trusted double
sinh
(doublex
); - nothrow @nogc @trusted float
sinhf
(floatx
); - nothrow @nogc @trusted real
sinhl
(realx
); - nothrow @nogc @trusted double
tanh
(doublex
); - nothrow @nogc @trusted float
tanhf
(floatx
); - nothrow @nogc @trusted real
tanhl
(realx
); - nothrow @nogc @trusted double
exp
(doublex
); - nothrow @nogc @trusted float
expf
(floatx
); - nothrow @nogc @trusted real
expl
(realx
); - nothrow @nogc @trusted double
exp2
(doublex
); - nothrow @nogc @trusted float
exp2f
(floatx
); - nothrow @nogc @trusted real
exp2l
(realx
); - nothrow @nogc @trusted double
expm1
(doublex
); - nothrow @nogc @trusted float
expm1f
(floatx
); - nothrow @nogc @trusted real
expm1l
(realx
); - nothrow @nogc @trusted double
frexp
(doublevalue
, int*exp
); - nothrow @nogc @trusted float
frexpf
(floatvalue
, int*exp
); - nothrow @nogc @trusted real
frexpl
(realvalue
, int*exp
); - nothrow @nogc @trusted int
ilogb
(doublex
); - nothrow @nogc @trusted int
ilogbf
(floatx
); - nothrow @nogc @trusted int
ilogbl
(realx
); - nothrow @nogc @trusted double
ldexp
(doublex
, intexp
); - nothrow @nogc @trusted float
ldexpf
(floatx
, intexp
); - nothrow @nogc @trusted real
ldexpl
(realx
, intexp
); - nothrow @nogc @trusted double
log
(doublex
); - nothrow @nogc @trusted float
logf
(floatx
); - nothrow @nogc @trusted real
logl
(realx
); - nothrow @nogc @trusted double
log10
(doublex
); - nothrow @nogc @trusted float
log10f
(floatx
); - nothrow @nogc @trusted real
log10l
(realx
); - nothrow @nogc @trusted double
log1p
(doublex
); - nothrow @nogc @trusted float
log1pf
(floatx
); - nothrow @nogc @trusted real
log1pl
(realx
); - nothrow @nogc @trusted double
log2
(doublex
); - nothrow @nogc @trusted float
log2f
(floatx
); - nothrow @nogc @trusted real
log2l
(realx
); - nothrow @nogc @trusted double
logb
(doublex
); - nothrow @nogc @trusted float
logbf
(floatx
); - nothrow @nogc @trusted real
logbl
(realx
); - nothrow @nogc @trusted double
modf
(doublevalue
, double*iptr
); - nothrow @nogc @trusted float
modff
(floatvalue
, float*iptr
); - nothrow @nogc @trusted real
modfl
(realvalue
, real*iptr
); - nothrow @nogc @trusted double
scalbn
(doublex
, intn
); - nothrow @nogc @trusted float
scalbnf
(floatx
, intn
); - nothrow @nogc @trusted real
scalbnl
(realx
, intn
); - nothrow @nogc @trusted double
scalbln
(doublex
, c_longn
); - nothrow @nogc @trusted float
scalblnf
(floatx
, c_longn
); - nothrow @nogc @trusted real
scalblnl
(realx
, c_longn
); - nothrow @nogc @trusted double
cbrt
(doublex
); - nothrow @nogc @trusted float
cbrtf
(floatx
); - nothrow @nogc @trusted real
cbrtl
(realx
); - nothrow @nogc @trusted double
fabs
(doublex
); - nothrow @nogc @trusted float
fabsf
(floatx
); - nothrow @nogc @trusted real
fabsl
(realx
); - nothrow @nogc @trusted double
hypot
(doublex
, doubley
); - nothrow @nogc @trusted float
hypotf
(floatx
, floaty
); - nothrow @nogc @trusted real
hypotl
(realx
, realy
); - nothrow @nogc @trusted double
pow
(doublex
, doubley
); - nothrow @nogc @trusted float
powf
(floatx
, floaty
); - nothrow @nogc @trusted real
powl
(realx
, realy
); - nothrow @nogc @trusted double
sqrt
(doublex
); - nothrow @nogc @trusted float
sqrtf
(floatx
); - nothrow @nogc @trusted real
sqrtl
(realx
); - nothrow @nogc @trusted double
erf
(doublex
); - nothrow @nogc @trusted float
erff
(floatx
); - nothrow @nogc @trusted real
erfl
(realx
); - nothrow @nogc @trusted double
erfc
(doublex
); - nothrow @nogc @trusted float
erfcf
(floatx
); - nothrow @nogc @trusted real
erfcl
(realx
); - nothrow @nogc @trusted double
lgamma
(doublex
); - nothrow @nogc @trusted float
lgammaf
(floatx
); - nothrow @nogc @trusted real
lgammal
(realx
); - nothrow @nogc @trusted double
tgamma
(doublex
); - nothrow @nogc @trusted float
tgammaf
(floatx
); - nothrow @nogc @trusted real
tgammal
(realx
); - nothrow @nogc @trusted double
ceil
(doublex
); - nothrow @nogc @trusted float
ceilf
(floatx
); - nothrow @nogc @trusted real
ceill
(realx
); - nothrow @nogc @trusted double
floor
(doublex
); - nothrow @nogc @trusted float
floorf
(floatx
); - nothrow @nogc @trusted real
floorl
(realx
); - nothrow @nogc @trusted double
nearbyint
(doublex
); - nothrow @nogc @trusted float
nearbyintf
(floatx
); - nothrow @nogc @trusted real
nearbyintl
(realx
); - nothrow @nogc @trusted double
rint
(doublex
); - nothrow @nogc @trusted float
rintf
(floatx
); - nothrow @nogc @trusted real
rintl
(realx
); - nothrow @nogc @trusted c_long
lrint
(doublex
); - nothrow @nogc @trusted c_long
lrintf
(floatx
); - nothrow @nogc @trusted c_long
lrintl
(realx
); - nothrow @nogc @trusted long
llrint
(doublex
); - nothrow @nogc @trusted long
llrintf
(floatx
); - nothrow @nogc @trusted long
llrintl
(realx
); - nothrow @nogc @trusted double
round
(doublex
); - nothrow @nogc @trusted float
roundf
(floatx
); - nothrow @nogc @trusted real
roundl
(realx
); - nothrow @nogc @trusted c_long
lround
(doublex
); - nothrow @nogc @trusted c_long
lroundf
(floatx
); - nothrow @nogc @trusted c_long
lroundl
(realx
); - nothrow @nogc @trusted long
llround
(doublex
); - nothrow @nogc @trusted long
llroundf
(floatx
); - nothrow @nogc @trusted long
llroundl
(realx
); - nothrow @nogc @trusted double
trunc
(doublex
); - nothrow @nogc @trusted float
truncf
(floatx
); - nothrow @nogc @trusted real
truncl
(realx
); - nothrow @nogc @trusted double
fmod
(doublex
, doubley
); - nothrow @nogc @trusted float
fmodf
(floatx
, floaty
); - nothrow @nogc @trusted real
fmodl
(realx
, realy
); - nothrow @nogc @trusted double
remainder
(doublex
, doubley
); - nothrow @nogc @trusted float
remainderf
(floatx
, floaty
); - nothrow @nogc @trusted real
remainderl
(realx
, realy
); - nothrow @nogc @trusted double
remquo
(doublex
, doubley
, int*quo
); - nothrow @nogc @trusted float
remquof
(floatx
, floaty
, int*quo
); - nothrow @nogc @trusted real
remquol
(realx
, realy
, int*quo
); - nothrow @nogc @trusted double
copysign
(doublex
, doubley
); - nothrow @nogc @trusted float
copysignf
(floatx
, floaty
); - nothrow @nogc @trusted real
copysignl
(realx
, realy
); - nothrow @nogc @trusted double
nan
(char*tagp
); - nothrow @nogc @trusted float
nanf
(char*tagp
); - nothrow @nogc @trusted real
nanl
(char*tagp
); - nothrow @nogc @trusted double
nextafter
(doublex
, doubley
); - nothrow @nogc @trusted float
nextafterf
(floatx
, floaty
); - nothrow @nogc @trusted real
nextafterl
(realx
, realy
); - nothrow @nogc @trusted double
nexttoward
(doublex
, realy
); - nothrow @nogc @trusted float
nexttowardf
(floatx
, realy
); - nothrow @nogc @trusted real
nexttowardl
(realx
, realy
); - nothrow @nogc @trusted double
fdim
(doublex
, doubley
); - nothrow @nogc @trusted float
fdimf
(floatx
, floaty
); - nothrow @nogc @trusted real
fdiml
(realx
, realy
); - nothrow @nogc @trusted double
fmax
(doublex
, doubley
); - nothrow @nogc @trusted float
fmaxf
(floatx
, floaty
); - nothrow @nogc @trusted real
fmaxl
(realx
, realy
); - nothrow @nogc @trusted double
fmin
(doublex
, doubley
); - nothrow @nogc @trusted float
fminf
(floatx
, floaty
); - nothrow @nogc @trusted real
fminl
(realx
, realy
); - nothrow @nogc @trusted double
fma
(doublex
, doubley
, doublez
); - nothrow @nogc @trusted float
fmaf
(floatx
, floaty
, floatz
); - nothrow @nogc @trusted real
fmal
(realx
, realy
, realz
);
Copyright © 1999-2017 by the D Language Foundation | Page generated by
Ddoc on Sat Nov 4 04:02:10 2017