The Open
D
Programming Language
Learn
Language
Library
Contribute
Blog
exp
std
math
exponential
Calculates e
x
.
Special Values
x
e
x
+∞
+∞
-∞
+0.0
NaN
NaN
real
exp
(real x)
double
exp
(double x)
version(none)
pragma(
inline
, true) @
safe
pure nothrow @
nogc
double
exp
(
double
x
)
float
exp
(float x)
double
exp
(double x)
float
exp
(float x)
Meta
Source
See Implementation
std
math
exponential
aliases
FP_ILOGB0
FP_ILOGBNAN
functions
exp
exp2
expm1
frexp
ilogb
ldexp
log
log10
log1p
log2
logb
pow
powmod
scalbn
Calculates ex.