log2
Overloads
| Name | Description |
|---|---|
log2(real arg) -> real | Calculates the base-2 logarithm of the given value. |
log2(bool arg) -> real | Calculates the base-2 logarithm of the given value. |
log2(integer arg) -> real | Calculates the base-2 logarithm of the given value. |
log2(real arg) -> real
Calculates the base-2 logarithm of the given value.
Parameters
- arg: The value to calculate the base-2 logarithm for.
log2(bool arg) -> real
Calculates the base-2 logarithm of the given value.
Parameters
- arg: The value to calculate the base-2 logarithm for.
log2(integer arg) -> real
Calculates the base-2 logarithm of the given value.
Parameters
- arg: The value to calculate the base-2 logarithm for.