]> Cypherpunks repositories - gostls13.git/commitdiff
math package: minor documentation fix
authorRobert Griesemer <gri@golang.org>
Thu, 11 Mar 2010 01:04:43 +0000 (17:04 -0800)
committerRobert Griesemer <gri@golang.org>
Thu, 11 Mar 2010 01:04:43 +0000 (17:04 -0800)
R=rsc
CC=golang-dev
https://golang.org/cl/424041

src/pkg/math/erf.go

index b9a945ce4b1847fc7fa4ec0c883b4c63d8d675b0..f01f806cad4d7418c4af6ef9ec7467d7d7fef3f9 100644 (file)
@@ -262,9 +262,9 @@ func Erf(x float64) float64 {
 // Erfc(x) returns the complementary error function of x.
 //
 // Special cases are:
-//     Erf(+Inf) = 0
-//     Erf(-Inf) = 2
-//     Erf(NaN) = NaN
+//     Erfc(+Inf) = 0
+//     Erfc(-Inf) = 2
+//     Erfc(NaN) = NaN
 func Erfc(x float64) float64 {
        const Tiny = 1.0 / (1 << 56) // 2^-56
        // special cases