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

Issue 6295076: code review 6295076: math/big: correctly test for positive inputs in Int.GCD (Closed)

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

Description

math/big: correctly test for positive inputs in Int.GCD Also: better GCD tests.

Patch Set 1 #

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

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

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

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

Patch Set 6 : diff -r 267090160633 https://code.google.com/p/go #

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

Unified diffs Side-by-side diffs Delta from patch set Stats (+66 lines, -37 lines) Patch
M src/pkg/math/big/int.go View 1 2 3 1 chunk +4 lines, -4 lines 0 comments Download
M src/pkg/math/big/int_test.go View 1 2 3 4 2 chunks +62 lines, -33 lines 0 comments Download

Messages

Total messages: 7
gri
Hello rsc@golang.org (cc: golang-dev@googlegroups.com), I'd like you to review this change to https://code.google.com/p/go
12 years, 9 months ago (2012-06-13 18:52:46 UTC) #1
gri
hold on - there's more bugs in the GCD code - gri On Wed, Jun ...
12 years, 9 months ago (2012-06-13 18:57:44 UTC) #2
rsc
LGTM
12 years, 9 months ago (2012-06-13 18:58:30 UTC) #3
rsc
One way to expand the tests would be to make the test table lines complete ...
12 years, 9 months ago (2012-06-13 18:59:47 UTC) #4
gri
Hello rsc@golang.org (cc: golang-dev@googlegroups.com), Please take another look.
12 years, 9 months ago (2012-06-13 20:28:39 UTC) #5
rsc
LGTM
12 years, 9 months ago (2012-06-13 20:46:17 UTC) #6
gri
12 years, 9 months ago (2012-06-13 20:54:48 UTC) #7
*** Submitted as http://code.google.com/p/go/source/detail?r=74d2ea85249e ***

math/big: correctly test for positive inputs in Int.GCD

Also: better GCD tests.

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

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