pub fn pow(&self, exponent: i32) -> f64 {
        match self {
            Self::B1000 => 1000f64.powf(exponent as f64 / 3f64),
            Self::B1024 => 1024f64.powf(exponent as f64 / 3f64),
        }
    }
/// This helper function returns a `f64` scaling factor for the mantissa,
/// obtained by raising self to the power of the provided `exponent`
/// divided by 3.
///
/// # Example
///
/// ```
/// use si_scale::base::Base;
///
/// assert_eq!(Base::B1000.pow(9), 1e9);
/// assert_eq!(Base::B1024.pow(3), 1024f64)
/// ```
///
This helper function returns a `f64` scaling factor for the mantissa,
obtained by raising self to the power of the provided `exponent`
divided by 3.
This helper function returns a ` f64 ` scaling factor for the mantissa obtained by raising self to the power of the provided ` exponent ` divided by 3 .
pub fn pow(&self, exponent: i32) -> f64 {
        match self {
            Self::B1000 => 1000f64.powf(exponent as f64 / 3f64),
            Self::B1024 => 1024f64.powf(exponent as f64 / 3f64),
        }
    }
pub fn pow ( & self , exponent : i32 ) -> f64 { match self { Self :: B1000 => 1000f64 . powf ( exponent as f64 / 3f64 ) , Self :: B1024 => 1024f64 . powf ( exponent as f64 / 3f64 ) , } }
This helper function returns a `f64` scaling factor for the mantissa,
obtained by raising self to the power of the provided `exponent`
divided by 3.
This helper function returns a ` f64 ` scaling factor for the mantissa obtained by raising self to the power of the provided ` exponent ` divided by 3 .
&self
exponent
i32
example
```
use si_scale::base::Base.


` ` ` use si_scale :: base :: Base .