1
0
mirror of https://github.com/golang/go synced 2024-11-18 20:04:52 -07:00

math/big: fix build for 32bit platforms

Change-Id: I9c217e5140294a17e4feb65da5b121ee8d8cadc2
Reviewed-on: https://go-review.googlesource.com/6050
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
This commit is contained in:
Robert Griesemer 2015-02-25 15:45:25 -08:00
parent 7d7351395d
commit 9c4aade584

View 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},