decimal v0.9.1 (2018-01-31T21:09:19Z)
Dub
Repo
expm1
decimal
decimal
Calculates e
x
- 1
@
IEEECompliant
("expm1", 42)
D
expm1
(
D
)
(
auto
const
ref
D
x
)
if
(
isDecimal
!
D
)
Throws
InvalidOperationException
x is signaling
NaN
UnderflowException
e
x
- 1 is too small to be represented
OverflowException
e
x
- 1 is too big to be represented
InexactException
the result is inexact
Special values
x
expm1(x)
NaN
NaN
±0.0
±0.0
-∞
-1.0
+∞
+∞
Meta
Source
See Implementation
decimal
decimal
aliases
Precision
decimal128
decimal32
decimal64
nextToward
classes
DecimalException
DivisionByZeroException
InexactException
InvalidOperationException
OverflowException
UnderflowException
enums
DecimalClass
ExceptionFlags
RoundingMode
precisionDefault
functions
NaN
acos
acosh
approxEqual
asin
asinh
atan
atan2
atan2pi
atanh
atanpi
cbrt
ceil
cmp
compound
copysign
cos
cosh
cospi
decimalClass
dot
exp
exp10
exp10m1
exp2
exp2m1
expm1
fabs
fdim
floor
fma
fmax
fmaxAbs
fmin
fminAbs
fmod
frexp
fromDPD
fromMsCurrency
fromMsDecimal
getNaNPayload
hypot
ilogb
isCanonical
isEqual
isFinite
isGreater
isGreaterOrEqual
isGreaterOrUnordered
isIdentical
isInfinity
isLess
isLessOrEqual
isLessOrUnordered
isNaN
isNormal
isNotEqual
isPowerOf10
isSignaling
isSubnormal
isUnordered
isZero
ldexp
log
log10
log10p1
log2
log2p1
logp1
lrint
lround
modf
nearbyint
nextAfter
nextDown
nextPow10
nextUp
poly
pow
quantexp
quantize
remainder
rint
rndtonl
root
round
rsqrt
sameQuantum
scalbn
scaledProd
scaledProdDiff
scaledProdSum
sgn
signbit
sin
sinPi
sinh
sqrt
sum
sumAbs
sumSquare
tan
tanh
to
toDPD
toExact
toMsCurrency
toMsDecimal
totalOrder
totalOrderAbs
trunc
truncPow10
structs
DECIMAL
Decimal
DecimalControl
templates
CommonDecimal
isDecimal
Calculates ex - 1