pub fn log2(x: impl IntoExpr) -> Result<Expr>
The base-2 logarithm of x (C++ log2, prim.log2).
x
log2
prim.log2