pub trait Pow: Sized + Copy {
// Required methods
fn powf(self, n: Self) -> Self;
fn powi(self, n: i32) -> Self;
fn recip(self) -> Self;
fn sqrt(self) -> Self;
fn cbrt(self) -> Self;
fn hypot(self, other: Self) -> Self;
}
Expand description
Trait for raising a floating point number to a power, and inverse operations.