fast_cbrt
Calculate the cubic root of x
Arguments
x- The number to calculate the cubic root ofiter- The number of iterations to run the algorithm
Returns
u128- The cubic root of x with rounding (e.g., cbrt(4) = 1.59 -> 2, cbrt(5) = 1.71 -> 2)
Fully qualified path: alexandria_math::fast_root::fast_cbrt
pub fn fast_cbrt(x: u128, iter: u32) -> u128