From: Robert Griesemer Date: Wed, 25 Feb 2015 23:45:25 +0000 (-0800) Subject: math/big: fix build for 32bit platforms X-Git-Tag: go1.5beta1~1859 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=9c4aade584ecc34e714d172a1bb87a8430de2f41;p=gostls13.git math/big: fix build for 32bit platforms Change-Id: I9c217e5140294a17e4feb65da5b121ee8d8cadc2 Reviewed-on: https://go-review.googlesource.com/6050 Reviewed-by: Brad Fitzpatrick --- diff --git a/src/math/big/float_test.go b/src/math/big/float_test.go index bbab7676bb..35ab5a4710 100644 --- a/src/math/big/float_test.go +++ b/src/math/big/float_test.go @@ -121,13 +121,9 @@ func TestFloatSetPrec(t *testing.T) { // prec at upper limit {"0", MaxPrec, "0", Exact}, - {"0", MaxPrec + 1, "0", Exact}, {"-0", MaxPrec, "-0", Exact}, - {"-0", MaxPrec + 1, "-0", Exact}, {"-Inf", MaxPrec, "-Inf", Exact}, - {"+Inf", MaxPrec + 1, "+Inf", Exact}, {"-Inf", MaxPrec, "-Inf", Exact}, - {"+Inf", MaxPrec + 1, "+Inf", Exact}, // just a few regular cases - general rounding is tested elsewhere {"1.5", 1, "2", Above},