summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/pkg/math/cbrt.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/pkg/math/cbrt.go b/src/pkg/math/cbrt.go
index 47771647b..d2b7e910b 100644
--- a/src/pkg/math/cbrt.go
+++ b/src/pkg/math/cbrt.go
@@ -15,9 +15,9 @@ package math
// Cbrt returns the cube root of its argument.
//
// Special cases are:
-// Exp(±0) = ±0
-// Exp(±Inf) = ±Inf
-// Exp(NaN) = NaN
+// Cbrt(±0) = ±0
+// Cbrt(±Inf) = ±Inf
+// Cbrt(NaN) = NaN
func Cbrt(x float64) float64 {
const (
A1 = 1.662848358e-01