commit | 3c3e68ba328cd5d9c798604fe5606b8c37a47a87 | [log] [tgz] |
---|---|---|
author | Charles L. Dorian <cldorian@gmail.com> | Fri Apr 09 14:37:33 2010 -0700 |
committer | Russ Cox <rsc@golang.org> | Fri Apr 09 14:37:33 2010 -0700 |
tree | 782936959ec949164997aa78f3379284247be57c | |
parent | 9b1d6332e877e633c1870b01af11eaa909399ba0 [diff] [blame] |
math: use ** for exponentiation in comments R=rsc CC=golang-dev https://golang.org/cl/908041
diff --git a/src/pkg/math/ldexp.go b/src/pkg/math/ldexp.go index dc6b3a8..ab8392a 100644 --- a/src/pkg/math/ldexp.go +++ b/src/pkg/math/ldexp.go
@@ -5,7 +5,7 @@ package math // Ldexp is the inverse of Frexp. -// It returns frac × 2^exp. +// It returns frac × 2**exp. func Ldexp(frac float64, exp int) float64 { // TODO(rsc): Remove manual inlining of IsNaN, IsInf // when compiler does it for us