Skip to main content

logb

Function logb 

Source
pub fn logb<F>(b: F, x: F) -> F
where F: Float,
Expand description

The logarithm of x to base b, ln x / ln b. Base 2 and base 10 take log2 and log10, which are exact at powers of their base.