log2(x: f64) → f64
Category: [math](builtinsmath)_
Base-2 logarithm.
| Parameter | Type | Description | Remarks |
|---|---|---|---|
| x | f64 | The input value. | — |
| returns | f64 | The result. | — |
wcl
log2(8.0) // base-2 logarithm of 8 → 3.0log2(x: f64) → f64
Category: [math](builtinsmath)_
Base-2 logarithm.
| Parameter | Type | Description | Remarks |
|---|---|---|---|
| x | f64 | The input value. | — |
| returns | f64 | The result. | — |
log2(8.0) // base-2 logarithm of 8 → 3.0