summaryrefslogtreecommitdiff
path: root/src/pkg/math/exp.go
diff options
context:
space:
mode:
Diffstat (limited to 'src/pkg/math/exp.go')
-rw-r--r--src/pkg/math/exp.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pkg/math/exp.go b/src/pkg/math/exp.go
index bc02fda10..5ea58c0fb 100644
--- a/src/pkg/math/exp.go
+++ b/src/pkg/math/exp.go
@@ -86,7 +86,7 @@ package math
// Special cases are:
// Exp(+Inf) = +Inf
// Exp(NaN) = NaN
-// Very large values overflow to -Inf or +Inf.
+// Very large values overflow to 0 or +Inf.
// Very small values underflow to 1.
func Exp(x float64) float64 {
const (