Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
go
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
go
Commits
8107cad4
Commit
8107cad4
authored
Mar 11, 2010
by
Robert Griesemer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
math, path: minor comment fixes
R=r CC=golang-dev
https://golang.org/cl/444043
parent
698bc461
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
src/pkg/math/ldexp.go
src/pkg/math/ldexp.go
+1
-1
src/pkg/path/path.go
src/pkg/path/path.go
+1
-1
No files found.
src/pkg/math/ldexp.go
View file @
8107cad4
...
...
@@ -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
...
...
src/pkg/path/path.go
View file @
8107cad4
...
...
@@ -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 eleme
n
ts 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
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment