Expand description
LogBase and
LogBaseAssign, implemented for a
Rational base, for computing $\log_b x$ of a Float
with an arbitrary rational base $b>1$.
Functionsยง
- primitive_
float_ log_ base_ rational_ base - Computes $\log_b x$, the base-$b$ logarithm of a primitive float, where $b$ is a
Rationalgreater than 1. Using this function is more accurate than computing the logarithm using the standard library, whose logarithm functions are not always correctly rounded.