Trait Log2
sdfu::mathtypes
pub trait Log2 { fn log2(&self) -> Self; }
Returns log base 2 of self.
fn log2(&self) -> Self
impl Log2 for f32
impl Log2 for f64