diff options
author | siddharth ravikumar <s@ricketyspace.net> | 2022-11-14 10:51:06 -0500 |
---|---|---|
committer | siddharth ravikumar <s@ricketyspace.net> | 2022-11-14 10:51:06 -0500 |
commit | 58fe25a643a9bbbcc0d4e68e5a59f69acc0cef69 (patch) | |
tree | 4e627a8e555c9c04c6bb91a80cd457a26809e31a | |
parent | e7d6b059fc68154dde96cafeac10f3c5265df115 (diff) |
lib: `BigCubeRoot`: fix comment
-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 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 |