]> Cypherpunks repositories - gostls13.git/commit
math/big: fix Float.Float64 conversion for denormal corner cases
authorRobert Griesemer <gri@golang.org>
Fri, 22 May 2015 01:00:54 +0000 (18:00 -0700)
committerRobert Griesemer <gri@golang.org>
Fri, 22 May 2015 21:10:43 +0000 (21:10 +0000)
commit5ffbca4823455d42ef6314c67c1cc346599d65bf
tree73e6f57ef87431302919324c478f2b52f90f0009
parent8de8925c7794a39d9747e386163ebdccda561cca
math/big: fix Float.Float64 conversion for denormal corner cases

- This change uses the same code as for Float32 and fixes the case
  of a number that gets rounded up to the smallest denormal.

- Enabled correspoding test case.

Change-Id: I8aac874a566cd727863a82717854f603fbdc26c6
Reviewed-on: https://go-review.googlesource.com/10352
Reviewed-by: Alan Donovan <adonovan@google.com>
src/math/big/float.go
src/math/big/float_test.go