Function hydra_dx_math::transcendental::exp
source · pub fn exp<S, D>(operand: S, neg: bool) -> Result<D, ()>where
S: FixedUnsigned + PartialOrd<D> + One,
D: FixedUnsigned + PartialOrd<S> + From<S> + One,
Expand description
exponential function e^(operand) neg - bool indicates that operand is negative value.