log2()

Computes the 2-log of x

Reference: DuckDB 2.0.0

Arguments & returns

log2(x)

Scalar
Overload link x Returns
#01 DOUBLE DOUBLE

Example

log2 example
SQL
Haybarn WASM 2.0.0-rc12 · In your browser

Engine example · Run to view results.