Math.Log2¶
Name | Mandatory | Description | Default | Type |
---|---|---|---|---|
⬅️ Input |
The input float or sequence of floats to calculate the base 2 logarithm of. This value must be a positive number or sequence of positive numbers. | Float Float2 Float3 Float4 Color [Any] |
||
Output ➡️ |
Outputs the base 2 logarithm. | Float Float2 Float3 Float4 Color [Any] |
This shard calculates the base 2 logarithm for the given input. The output is the exponent to which 2 must be raised to obtain the input value.
Examples¶
1 2 3 |
|
[info] [sample-wire] @f3(0 -1 3.32193)