Function hydra_dx_math::transcendental::ln[][src]

pub fn ln<S, D>(operand: S) -> Result<(D, bool), ()> where
    S: FixedUnsigned,
    D: FixedUnsigned + From<S>,
    D::Bits: Copy + ToFixed + AddAssign + BitOrAssign + ShlAssign,
    S::Bits: Copy + ToFixed + AddAssign + BitOrAssign + ShrAssign + Shr
Expand description

natural logarithm Returns tuple(D,bool) where bool indicates whether D is negative. This happens when operand is < 1.