mirror of
https://github.com/golang/go.git
synced 2025-12-08 06:10:04 +00:00
fix double declaration of g
SVN=118016
This commit is contained in:
parent
d222c65477
commit
37b8eb4648
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue