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

Issue 6197045: code review 6197045: runtime: fix complex division benchmarks (Closed)

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

Description

runtime: fix complex division benchmarks we can't add the division result to n during iteration, because it might turn n into NaN or Inf.

Patch Set 1 #

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

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

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

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

Unified diffs Side-by-side diffs Delta from patch set Stats (+20 lines, -10 lines) Patch
M src/pkg/runtime/complex_test.go View 1 2 3 1 chunk +20 lines, -10 lines 0 comments Download

Messages

Total messages: 6
minux1
Hello golang-dev@googlegroups.com (cc: golang-dev@googlegroups.com), I'd like you to review this change to https://code.google.com/p/go/
12 years, 10 months ago (2012-05-04 18:31:49 UTC) #1
rsc
LGTM
12 years, 10 months ago (2012-05-04 18:52:41 UTC) #2
iant2
This inserts a global variable reference into the middle of the loop, which seems less ...
12 years, 10 months ago (2012-05-04 18:54:36 UTC) #3
minux1
PTAL. On Sat, May 5, 2012 at 2:54 AM, Ian Lance Taylor <iant@google.com> wrote: > ...
12 years, 10 months ago (2012-05-04 19:09:18 UTC) #4
iant
LGTM
12 years, 10 months ago (2012-05-04 20:08:49 UTC) #5
minux1
12 years, 10 months ago (2012-05-10 19:09:32 UTC) #6
*** Submitted as http://code.google.com/p/go/source/detail?r=c93b5846e97b ***

runtime: fix complex division benchmarks
we can't add the division result to n during iteration, because it might
turn n into NaN or Inf.

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

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