Skip to content

Math.Expm1

Name - Description Default Type
<input> The input float or sequence of floats used as the exponent for the base e exponential function. FloatFloat2Float3Float4Color[Any]
<output> Outputs the result of the exponential operation. FloatFloat2Float3Float4Color[Any]

This shard calculates the exponential function with base e (Euler's number) for the given input and subtracts 1 from the result.

Examples

1
2
3
4
(float 0)
(Math.Expm1) (Log)

(Assert.Is (float 0) true)