diff options
author | Robert Griesemer <gri@golang.org> | 2010-03-11 16:40:32 -0800 |
---|---|---|
committer | Robert Griesemer <gri@golang.org> | 2010-03-11 16:40:32 -0800 |
commit | e352aa9c40c5081f6989f18224cd61763bc4be77 (patch) | |
tree | 65da579149baaf1846062e8f92b606908bee9dfc /src | |
parent | b77e178828643aef1d77dbaf5948f61a930c13f0 (diff) | |
download | go-e352aa9c40c5081f6989f18224cd61763bc4be77.tar.gz |
math, path: minor comment fixes
R=r
CC=golang-dev
http://codereview.appspot.com/444043
Diffstat (limited to 'src')
-rw-r--r-- | src/pkg/math/ldexp.go | 2 | ||||
-rw-r--r-- | src/pkg/path/path.go | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/pkg/math/ldexp.go b/src/pkg/math/ldexp.go index e8223703b..dc6b3a820 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<sup>exp</sup>. +// 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 diff --git a/src/pkg/path/path.go b/src/pkg/path/path.go index 3ce2166e3..71d8b4215 100644 --- a/src/pkg/path/path.go +++ b/src/pkg/path/path.go @@ -115,7 +115,7 @@ func Split(path string) (dir, file string) { return "", path } -// Join joins any number of path elemets into a single path, adding a +// Join joins any number of path elements into a single path, adding a // separating slash if necessary. All empty strings are ignored. func Join(elem ...string) string { for i, e := range elem { |