]> Cypherpunks repositories - gostls13.git/commitdiff
math: fix typo in Cbrt description
authorCharles L. Dorian <cldorian@gmail.com>
Mon, 3 May 2010 06:33:08 +0000 (23:33 -0700)
committerRuss Cox <rsc@golang.org>
Mon, 3 May 2010 06:33:08 +0000 (23:33 -0700)
R=rsc
CC=golang-dev
https://golang.org/cl/979043

src/pkg/math/cbrt.go

index 47771647b255f0f6f4bfb64d469dbdcfddea2deb..d2b7e910b84868aaa807fc2dc5e0916e195f8447 100644 (file)
@@ -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