From: Robert Griesemer Date: Thu, 11 Mar 2010 01:04:43 +0000 (-0800) Subject: math package: minor documentation fix X-Git-Tag: weekly.2010-03-15~13 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=2a62195153ecd2440b5f64a2e3cb0ff8e4192a76;p=gostls13.git math package: minor documentation fix R=rsc CC=golang-dev https://golang.org/cl/424041 --- diff --git a/src/pkg/math/erf.go b/src/pkg/math/erf.go index b9a945ce4b..f01f806cad 100644 --- a/src/pkg/math/erf.go +++ b/src/pkg/math/erf.go @@ -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