summaryrefslogtreecommitdiffstats
path: root/lib/cbrt.go
diff options
context:
space:
mode:
Diffstat (limited to 'lib/cbrt.go')
-rw-r--r--lib/cbrt.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/cbrt.go b/lib/cbrt.go
index 69ddc17..451bb9b 100644
--- a/lib/cbrt.go
+++ b/lib/cbrt.go
@@ -23,7 +23,7 @@ func BigCubeRoot(a *big.Float) *big.Float {
e = e.Mul(x, x)
e = e.Mul(e, x)
- // x^2 - a
+ // x^3 - a
z := big.NewFloat(0).Sub(e, a)
return z