From d8c6dac7ca48d8f926ff55a018e5806d591c9003 Mon Sep 17 00:00:00 2001 From: Robert Griesemer Date: Tue, 23 Jun 2015 14:17:59 -0700 Subject: [PATCH] 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 --- doc/go_spec.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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.

-- 2.51.0