pub trait Roots { // Required methods fn sqrt(self) -> Self; fn cbrt(self) -> Self; }
Functionality for getting the root of a number.
Returns the square root of self.
self
Returns the cube root of self.