diff options
Diffstat (limited to 'lib/cbrt.go')
-rw-r--r-- | lib/cbrt.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/cbrt.go b/lib/cbrt.go index df82c6e..6a856a3 100644 --- a/lib/cbrt.go +++ b/lib/cbrt.go @@ -42,7 +42,7 @@ func BigCubeRoot(a *big.Float) *big.Float { } x0 := a // Initial guess. - for i := 0; i < 1000; i++ { + for i := 0; i < 1000000; i++ { // f(x0) / f'(x0) d := fx(x0) d = d.Quo(d, fxPrime(x0)) |