]> Cypherpunks repositories - gostls13.git/commit
test: permit "exponent too large" error
authorIan Lance Taylor <iant@golang.org>
Fri, 18 Dec 2020 21:54:27 +0000 (13:54 -0800)
committerIan Lance Taylor <iant@golang.org>
Fri, 18 Dec 2020 23:47:11 +0000 (23:47 +0000)
commit626cc7c02dd3a1a85d95f83e2d7e988e483e3cac
tree422095daa7a7dd9194e45940320651307793f550
parent139cd0e12ff9d7628c321abbfb8d2f4ada461543
test: permit "exponent too large" error

The language spec only requires a signed binary exponent of 16 bits
for floating point constants. Permit a "exponent too large" error for
larger exponents.

Don't run test 11326b with gccgo, as it requires successful compilation
of floating point constants with exponents that don't fit in 16 bits.

Change-Id: I98688160c76864aba525a151a14aaaf86bc36a6f
Reviewed-on: https://go-review.googlesource.com/c/go/+/279252
Trust: Ian Lance Taylor <iant@golang.org>
Run-TryBot: Ian Lance Taylor <iant@golang.org>
TryBot-Result: Go Bot <gobot@golang.org>
Reviewed-by: Robert Griesemer <gri@golang.org>
test/fixedbugs/issue11326.go
test/fixedbugs/issue11326b.go
test/fixedbugs/issue13471.go