]> Cypherpunks repositories - gostls13.git/commit
spec: clarify implementation restrictions on untyped floats
authorIan Lance Taylor <iant@golang.org>
Mon, 13 Feb 2012 19:25:56 +0000 (11:25 -0800)
committerIan Lance Taylor <iant@golang.org>
Mon, 13 Feb 2012 19:25:56 +0000 (11:25 -0800)
commit9126c6570ce293761a4e5eefd61427902f291263
tree0dc90868af19726291277e7370c23fa0dd4e5917
parent9a4487458a6a7f434b21bac375aaf2af06f33e86
spec: clarify implementation restrictions on untyped floats

Drop reference to "machine type."  Specify that integer
overflow must be an error.  Drop requirement that exponent
must be 128 bits--that's a lot.  Clarify that floating point
expressions may be rounded, including intermediate values.

This is a reworking of https://golang.org/cl/5577068/ .

Fixes #2789.

R=r, rsc, r, gri, ken, ken, iant
CC=golang-dev, remyoudompheng
https://golang.org/cl/5655049
doc/go_spec.html