pub fn cbrt(value: f64) -> f64
Expand description
Returns the cube root of the given value.
Domain: (-INFINITY, INFINITY)
Codomain: (-INFINITY, INFINITY)
ยงExamples
use spinoso_math as math;
assert!((math::cbrt(-9.0) - (-2.080083823051904)).abs() < f64::EPSILON);
assert!((math::cbrt(9.0) - 2.080083823051904).abs() < f64::EPSILON);