mirror of
https://github.com/golang/go
synced 2024-11-11 21:50:21 -07:00
fix double declaration of g
SVN=118016
This commit is contained in:
parent
d222c65477
commit
37b8eb4648
@ -346,7 +346,7 @@ func unpack(a double) (negative bool, exp int, num double) {
|
||||
var e2 int;
|
||||
e2, g = sys.frexp(a);
|
||||
e := int(e2 * .301029995663981);
|
||||
g := a * pow10(-e);
|
||||
g = a * pow10(-e);
|
||||
for g < 1 {
|
||||
e--;
|
||||
g = a * pow10(-e);
|
||||
|
Loading…
Reference in New Issue
Block a user