Commit 37b8eb46 authored by Rob Pike's avatar Rob Pike

fix double declaration of g

SVN=118016
parent d222c654
...@@ -346,7 +346,7 @@ func unpack(a double) (negative bool, exp int, num double) { ...@@ -346,7 +346,7 @@ func unpack(a double) (negative bool, exp int, num double) {
var e2 int; var e2 int;
e2, g = sys.frexp(a); e2, g = sys.frexp(a);
e := int(e2 * .301029995663981); e := int(e2 * .301029995663981);
g := a * pow10(-e); g = a * pow10(-e);
for g < 1 { for g < 1 {
e--; e--;
g = a * pow10(-e); g = a * pow10(-e);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment