Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
G
golang
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
go
golang
Commits
3086910f
Commit
3086910f
authored
Jun 09, 2008
by
Rob Pike
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix bug in closeness for float literal test
SVN=121628
parent
33f7637d
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 addition
and
3 deletions
+1
-3
float_lit.go
test/float_lit.go
+1
-1
golden.out
test/golden.out
+0
-2
No files found.
test/float_lit.go
View file @
3086910f
...
...
@@ -23,7 +23,7 @@ close(a, b double) bool
if
e
<
0
{
e
=
-
e
;
}
if
e
*
1.0e-14
<
d
{
if
e
*
1.0e-14
>
d
{
return
true
;
}
return
false
;
...
...
test/golden.out
View file @
3086910f
...
...
@@ -2,8 +2,6 @@
=========== ./char_lit.go
=========== ./float_lit.go
+10. is printfloat should be printfloat
BUG: known to fail incorrectly
=========== ./for.go
...
...
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