expm1
Returns e raised to the power of x, minus 1 (e^x - 1). This is more accurate than exp(e, x) - 1 when x is near 0.
Special Cases:
- expm1(+inf) = +inf
- expm1(-inf) = -1
- expm1(nan) = nan
Function parameters
Parameters
- x:anytype
Returns e raised to the power of x, minus 1 (e^x - 1).
Functions
- expm1
- Returns e raised to the power of x, minus 1 (e^x - 1).
Source