1
0
mirror of https://github.com/golang/go synced 2024-11-22 01:14:40 -07:00

math package: minor documentation fix

R=rsc
CC=golang-dev
https://golang.org/cl/424041
This commit is contained in:
Robert Griesemer 2010-03-10 17:04:43 -08:00
parent 7cd4de6a07
commit 2a62195153

View 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