Back to Math
log2
Base-2 logarithm.
Syntax
log2(x) → Log base 2 of x
Backends
TypeScript
Description
Base-2 logarithm.
Parameters
| Name | Description |
|---|---|
| x | Positive input |
Returns
Log base 2 of x
Base-2 logarithm.
log2(x) → Log base 2 of x
Base-2 logarithm.
| Name | Description |
|---|---|
| x | Positive input |
Log base 2 of x