]> Cypherpunks repositories - gostls13.git/commitdiff
math/big: fix build for 32bit platforms
authorRobert Griesemer <gri@golang.org>
Wed, 25 Feb 2015 23:45:25 +0000 (15:45 -0800)
committerRobert Griesemer <gri@golang.org>
Thu, 26 Feb 2015 00:15:04 +0000 (00:15 +0000)
Change-Id: I9c217e5140294a17e4feb65da5b121ee8d8cadc2
Reviewed-on: https://go-review.googlesource.com/6050
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
src/math/big/float_test.go

index bbab7676bb0b8205d7c2a23361790952bd8a0e5c..35ab5a4710abf43b892fb6b16253e7928f3560d8 100644 (file)
@@ -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},