summaryrefslogtreecommitdiff
path: root/libgo/go/math/gamma.go
diff options
context:
space:
mode:
Diffstat (limited to 'libgo/go/math/gamma.go')
-rw-r--r--libgo/go/math/gamma.go3
1 files changed, 1 insertions, 2 deletions
diff --git a/libgo/go/math/gamma.go b/libgo/go/math/gamma.go
index ae2c0c418ab..7365d8e7754 100644
--- a/libgo/go/math/gamma.go
+++ b/libgo/go/math/gamma.go
@@ -113,8 +113,7 @@ func stirling(x float64) float64 {
// Gamma(x) returns the Gamma function of x.
//
// Special cases are:
-// Gamma(Inf) = Inf
-// Gamma(-Inf) = -Inf
+// Gamma(±Inf) = ±Inf
// Gamma(NaN) = NaN
// Large values overflow to +Inf.
// Negative integer values equal ±Inf.