pub trait FloatPow {
// Required methods
fn squared(self) -> Self;
fn cubed(self) -> Self;
}
Expand description
This extension trait covers shortfall in determinacy from the lack of a libm
counterpart
to f32::powi
. Use this for the common small exponents.
Required Methods§
Object Safety§
This trait is not object safe.