Skip to content

Math.Exp2

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

This shard calculates the exponential function with base 2 for the given input. The exponential function with base 2 is equivalent to raising 2 to the power of the input.

Examples

1
2
3
4
(float 5)
(Math.Exp2) (Log)

(Assert.Is (float 32) true)