From: Robert Griesemer Date: Tue, 23 Jun 2015 21:17:59 +0000 (-0700) Subject: spec: clarify effect of rounding of constant expressions X-Git-Tag: go1.5beta1~139 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=d8c6dac7ca48d8f926ff55a018e5806d591c9003;p=gostls13.git spec: clarify effect of rounding of constant expressions Not a language change. Fixes #11350. Change-Id: I9b905f17d1ef2722cab4bae38a037270165c7d95 Reviewed-on: https://go-review.googlesource.com/11369 Reviewed-by: Rob Pike --- diff --git a/doc/go_spec.html b/doc/go_spec.html index 4b8d60b8e4..396454dd54 100644 --- a/doc/go_spec.html +++ b/doc/go_spec.html @@ -1,6 +1,6 @@ @@ -4083,7 +4083,7 @@ the implementation restriction in the section on constants. This rounding may cause a floating-point constant expression to be invalid in an integer context, even if it would be integral when calculated using infinite -precision. +precision, and vice versa.