mirror of
https://github.com/golang/go
synced 2024-11-20 00:44:45 -07:00
math, path: minor comment fixes
R=r CC=golang-dev https://golang.org/cl/444043
This commit is contained in:
parent
698bc461bf
commit
8107cad45a
@ -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
|
||||
|
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user