aboutsummaryrefslogtreecommitdiff
path: root/src/cmd/trace
diff options
context:
space:
mode:
authorAlberto Donizetti <alb.donizetti@gmail.com>2015-08-21 19:17:18 +0200
committerRobert Griesemer <gri@golang.org>2015-08-21 18:11:22 +0000
commit13b5dc885b8dfd550b5f8cac0e9c0a9463f30fd7 (patch)
treeb46da882e26bc8f1836b8630bba8172f25d7eca0 /src/cmd/trace
parent92eb34b59abe75318c091175f80daba165cf7a52 (diff)
downloadgo-13b5dc885b8dfd550b5f8cac0e9c0a9463f30fd7.tar.xz
math/big: correctly handle large exponent in SetString
Even though the umul/uquo functions expect two valid, finite big.Floats arguments, SetString was calling them with possibly Inf values, which resulted in bogus return values. Replace umul and udiv calls with Mul and Quo calls to fix this. Also, fix two wrong tests. See relevant issue on issue tracker for a detailed explanation. Fixes #11341 Change-Id: Ie35222763a57a2d712a5f5f7baec75cab8189a53 Reviewed-on: https://go-review.googlesource.com/13778 Reviewed-by: Robert Griesemer <gri@golang.org>
Diffstat (limited to 'src/cmd/trace')
0 files changed, 0 insertions, 0 deletions