Skip to content

Commit

Permalink
spec: clarify effect of rounding of constant expressions
Browse files Browse the repository at this point in the history
Not a language change.

Fixes golang#11350.

Change-Id: I9b905f17d1ef2722cab4bae38a037270165c7d95
Reviewed-on: https://go-review.googlesource.com/11369
Reviewed-by: Rob Pike <[email protected]>
  • Loading branch information
griesemer committed Jun 23, 2015
1 parent eb30fda commit d8c6dac
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions doc/go_spec.html
Original file line number Diff line number Diff line change
@@ -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"
}-->

Expand Down Expand Up @@ -4083,7 +4083,7 @@ <h3 id="Constant_expressions">Constant expressions</h3>
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>


Expand Down

0 comments on commit d8c6dac

Please sign in to comment.