1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
//! Square roots and related functionality. /// Square root operation. /// /// NB. most platforms implement this as an approximation. pub trait Sqrt { fn sqrt(self) -> Self; } /// Reciprocal-square root operation. /// /// NB. most platforms implement this as an approximation. pub trait RSqrt { fn rsqrt(self) -> Self; }