]> Cypherpunks repositories - gostls13.git/commitdiff
spec: clarify effect of rounding of constant expressions
authorRobert Griesemer <gri@golang.org>
Tue, 23 Jun 2015 21:17:59 +0000 (14:17 -0700)
committerRobert Griesemer <gri@golang.org>
Tue, 23 Jun 2015 22:19:38 +0000 (22:19 +0000)
Not a language change.

Fixes #11350.

Change-Id: I9b905f17d1ef2722cab4bae38a037270165c7d95
Reviewed-on: https://go-review.googlesource.com/11369
Reviewed-by: Rob Pike <r@golang.org>
doc/go_spec.html

index 4b8d60b8e48913c9893dd6279b1d000062b04753..396454dd54101aab9cc9d6cca2c08049d5ebd043 100644 (file)
@@ -1,6 +1,6 @@
 <!--{
        "Title": "The Go Programming Language Specification",
-       "Subtitle": "Version of June 11, 2015",
+       "Subtitle": "Version of June 23, 2015",
        "Path": "/ref/spec"
 }-->
 
@@ -4083,7 +4083,7 @@ the implementation restriction in the section
 on <a href="#Constants">constants</a>.  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.
 </p>