log2(x: f64) → f64

Category: [math](builtinsmath)_

Base-2 logarithm.

ParameterTypeDescriptionRemarks
xf64The input value.
returnsf64The result.
wcl
log2(8.0)   // base-2 logarithm of 8 → 3.0