Function hydra_dx_math::transcendental::pow
source · pub fn pow<S, D>(operand: S, exponent: S) -> Result<D, ()>where
S: FixedUnsigned + One + PartialOrd<D> + Zero,
D: FixedUnsigned + From<S> + One + Zero,
D::Bits: Copy + ToFixed + AddAssign + BitOrAssign + ShlAssign,
S::Bits: Copy + ToFixed + AddAssign + BitOrAssign + ShlAssign + Shr + ShrAssign,
Expand description
power function with arbitrary fixed point number exponent