aboutsummaryrefslogtreecommitdiff
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.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/libgo/go/math/gamma.go b/libgo/go/math/gamma.go
index 2385a53b8a5..7c6f421bad1 100644
--- a/libgo/go/math/gamma.go
+++ b/libgo/go/math/gamma.go
@@ -116,7 +116,7 @@ func stirling(x float64) float64 {
// Gamma(±Inf) = ±Inf
// Gamma(NaN) = NaN
// Large values overflow to +Inf.
-// Negative integer values equal ±Inf.
+// Zero and negative integer arguments return ±Inf.
func Gamma(x float64) float64 {
const Euler = 0.57721566490153286060651209008240243104215933593992 // A001620
// special cases