Calculates ex -
1
. For values of x close to 0, the exact sum of
expm1(x) + 1
is much closer to the true
result of ex
than exp(x)
.
Hide omitted argument names for this function
Omitted Argument NamesThe argument name for
field
can be omitted; the following forms of this function are equivalent:logscalemath:expm1("field")
and:
logscalemath:expm1(field="field")
These examples show basic structure only.