diff --git a/src/math/real.cpp b/src/math/real.cpp index 1c938130..56597b71 100644 --- a/src/math/real.cpp +++ b/src/math/real.cpp @@ -821,7 +821,7 @@ template<> real cbrt(real const &x) real third = inverse(real::R_3()); for (int i = 1; i <= x.bigit_count(); i *= 2) { - ret = third * (x / (ret * ret) + (ret / 2)); + ret = third * (x / (ret * ret) + (ret * 2)); } return ret;