diff options
-rw-r--r-- | src/pkg/math/erf.go | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/pkg/math/erf.go b/src/pkg/math/erf.go index b9a945ce4..f01f806ca 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 |