Expand description
LogBase2 and
LogBase2Assign, traits for
computing the base-2 logarithm of Floats.
Functionsยง
- primitive_
float_ log_ base_ 2 - Computes the base-2 logarithm of a primitive float, $\log_2 x$.
- primitive_
float_ log_ base_ 2_ rational - Computes the base-2 logarithm of a
Rational, returning a primitive float result.