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

Issue 3280045: code review 3280045: fmt.Scan: accept Inf and NaN (Closed)

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

Description

fmt.Scan: accept Inf and NaN Fixes issue 1308.

Patch Set 1 #

Total comments: 2

Patch Set 2 : code review 3280045: fmt.Scan: accept Inf and NaN #

Total comments: 1

Patch Set 3 : code review 3280045: fmt.Scan: accept Inf and NaN #

Unified diffs Side-by-side diffs Delta from patch set Stats (+66 lines, -0 lines) Patch
M src/pkg/fmt/scan.go View 1 1 chunk +8 lines, -0 lines 0 comments Download
M src/pkg/fmt/scan_test.go View 1 2 3 chunks +58 lines, -0 lines 0 comments Download

Messages

Total messages: 6
r
Hello rsc (cc: golang-dev@googlegroups.com), I'd like you to review this change.
14 years, 3 months ago (2010-11-30 19:59:31 UTC) #1
rsc1
http://codereview.appspot.com/3280045/diff/1/src/pkg/fmt/scan.go File src/pkg/fmt/scan.go (right): http://codereview.appspot.com/3280045/diff/1/src/pkg/fmt/scan.go#newcode550 src/pkg/fmt/scan.go:550: s.accept(sign) move down after nan http://codereview.appspot.com/3280045/diff/1/src/pkg/fmt/scan_test.go File src/pkg/fmt/scan_test.go (right): ...
14 years, 3 months ago (2010-11-30 20:39:11 UTC) #2
r
Hello rsc (cc: golang-dev@googlegroups.com), Please take another look.
14 years, 3 months ago (2010-11-30 20:41:47 UTC) #3
rsc1
LGTM fine as is but seems javaesque http://codereview.appspot.com/3280045/diff/6001/src/pkg/fmt/scan_test.go File src/pkg/fmt/scan_test.go (right): http://codereview.appspot.com/3280045/diff/6001/src/pkg/fmt/scan_test.go#newcode455 src/pkg/fmt/scan_test.go:455: verifyInf("inf", t) ...
14 years, 3 months ago (2010-11-30 20:46:50 UTC) #4
r2
On Nov 30, 2010, at 12:39 PM, rsc@google.com wrote: > > http://codereview.appspot.com/3280045/diff/1/src/pkg/fmt/scan.go > File src/pkg/fmt/scan.go ...
14 years, 3 months ago (2010-11-30 20:47:24 UTC) #5
r
14 years, 3 months ago (2010-11-30 20:59:54 UTC) #6
*** Submitted as http://code.google.com/p/go/source/detail?r=a07fbf2249cf ***

fmt.Scan: accept Inf and NaN
Fixes issue 1308.

R=rsc, r2
CC=golang-dev
http://codereview.appspot.com/3280045
Sign in to reply to this message.

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