From 58fe25a643a9bbbcc0d4e68e5a59f69acc0cef69 Mon Sep 17 00:00:00 2001 From: siddharth ravikumar Date: Mon, 14 Nov 2022 10:51:06 -0500 Subject: lib: `BigCubeRoot`: fix comment --- lib/cbrt.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v1.2.3