Skip to main content

logb

Function logb 

Source
pub fn logb<F: Float>(b: F, x: F) -> F
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.