pub fn apply_exponent_factor<T, const DECIMALS: u8>(
value: T,
exponent_factor: T,
) -> Option<T>where
T: FixedPointOps<DECIMALS>,
Expand description
Apply exponent factor using this formula: x^E
.
Assuming that all values are “float“s with the same decimals.