Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(414)

Issue 918403002: Add modPow tests. (Closed)

Created:
5 years, 10 months ago by regis
Modified:
5 years, 10 months ago
Reviewers:
srdjan
CC:
reviews_dartlang.org, vm-dev_dartlang.org
Visibility:
Public.

Description

Add modPow tests. Fix selection of modular reduction algorithm for modPow. Remove bad assert and fix digits array length in classic modular reduction. R=srdjan@google.com Committed: https://code.google.com/p/dart/source/detail?r=43817

Patch Set 1 #

Total comments: 2

Patch Set 2 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+95 lines, -8 lines) Patch
M runtime/lib/bigint.dart View 1 5 chunks +9 lines, -6 lines 0 comments Download
M tests/corelib/big_integer_arith_vm_test.dart View 1 3 chunks +86 lines, -2 lines 0 comments Download

Messages

Total messages: 6 (2 generated)
regis
I sorted out the issue with the new modPow tests. In order to apply Montgomery ...
5 years, 10 months ago (2015-02-13 01:01:31 UTC) #2
srdjan
lgtm https://codereview.chromium.org/918403002/diff/1/runtime/lib/bigint.dart File runtime/lib/bigint.dart (right): https://codereview.chromium.org/918403002/diff/1/runtime/lib/bigint.dart#newcode1354 runtime/lib/bigint.dart:1354: _Reduction z = (cannot_use_montgomery || e_bitlen < 8) ...
5 years, 10 months ago (2015-02-17 19:15:37 UTC) #3
regis
Thanks! https://codereview.chromium.org/918403002/diff/1/runtime/lib/bigint.dart File runtime/lib/bigint.dart (right): https://codereview.chromium.org/918403002/diff/1/runtime/lib/bigint.dart#newcode1354 runtime/lib/bigint.dart:1354: _Reduction z = (cannot_use_montgomery || e_bitlen < 8) ...
5 years, 10 months ago (2015-02-17 19:32:15 UTC) #5
regis
5 years, 10 months ago (2015-02-17 19:32:37 UTC) #6
Message was sent while issue was closed.
Committed patchset #2 (id:20001) manually as r43817 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698