mir-core — Libmir Archive
Libmir Archive
API Reference Index
mir-core Guide
Dlang.org
exp2
mir
math
common
Computes 2 raised to the power of x.
T
exp2
(T x)
T
exp2
(T x)
T
exp2
(T x)
version(!LDC && !GNU)
static if
(!(
__VERSION__ >= 2082
))
T
exp2
(
T
)
(
in
T
x
)
if
(
isFloatingPoint
!
T
)
mir
math
common
aliases
fastmath
fmamath
optmath
functions
approxEqual
ceil
copysign
cos
exp
exp2
fabs
floor
fmax
fmin
fmuladd
log
log10
log2
nearbyint
pow
powi
rint
round
sin
sqrt
trunc
Computes 2 raised to the power of x.