Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(114)

Issue 7313069: code review 7313069: spec: document fp rounding during explicit constant con... (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
12 years, 4 months ago by rsc
Modified:
12 years, 4 months ago
Reviewers:
CC:
golang-dev, r
Visibility:
Public.

Description

spec: document fp rounding during explicit constant conversion The gc compilers already behave this way. It was an explicit decision during the very long constant design discussions, but it appears not to have made it into the spec. Fixes issue 4398.

Patch Set 1 #

Patch Set 2 : diff -r e8eb2c8d5ce1 https://code.google.com/p/go/ #

Patch Set 3 : diff -r e8eb2c8d5ce1 https://code.google.com/p/go/ #

Total comments: 2

Patch Set 4 : diff -r a44171137af8 https://code.google.com/p/go/ #

Patch Set 5 : diff -r e5febb4359bc https://code.google.com/p/go/ #

Unified diffs Side-by-side diffs Delta from patch set Stats (+9 lines, -0 lines) Patch
M doc/go_spec.html View 1 2 3 2 chunks +9 lines, -0 lines 0 comments Download

Messages

Total messages: 5
rsc
Hello golang-dev@googlegroups.com, I'd like you to review this change to https://code.google.com/p/go/
12 years, 4 months ago (2013-02-09 19:42:54 UTC) #1
r
https://codereview.appspot.com/7313069/diff/4001/doc/go_spec.html File doc/go_spec.html (right): https://codereview.appspot.com/7313069/diff/4001/doc/go_spec.html#newcode3476 doc/go_spec.html:3476: <li> x is a floating point constant, T is ...
12 years, 4 months ago (2013-02-09 21:19:28 UTC) #2
rsc
PTAL https://codereview.appspot.com/7313069/diff/4001/doc/go_spec.html File doc/go_spec.html (right): https://codereview.appspot.com/7313069/diff/4001/doc/go_spec.html#newcode3476 doc/go_spec.html:3476: <li> I added: The constant <code>T(x)</code> is the ...
12 years, 4 months ago (2013-02-09 22:54:17 UTC) #3
r
LGTM
12 years, 4 months ago (2013-02-10 03:46:32 UTC) #4
rsc
12 years, 4 months ago (2013-02-11 12:47:45 UTC) #5
*** Submitted as https://code.google.com/p/go/source/detail?r=2044cd3dc3b4 ***

spec: document fp rounding during explicit constant conversion

The gc compilers already behave this way. It was an explicit
decision during the very long constant design discussions,
but it appears not to have made it into the spec.

Fixes issue 4398.

R=golang-dev, r
CC=golang-dev
https://codereview.appspot.com/7313069
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b