[Gmp-commit] /var/hg/gmp: small corrections to previous changes
mercurial at gmplib.org
mercurial at gmplib.org
Sat Nov 9 15:31:04 UTC 2019
details: /var/hg/gmp/rev/2d92939c8c2b
changeset: 17956:2d92939c8c2b
user: Marco Bodrato <bodrato at mail.dm.unipi.it>
date: Sat Nov 09 16:31:00 2019 +0100
description:
small corrections to previous changes
diffstat:
ChangeLog | 2 +-
mini-gmp/ChangeLog | 2 +-
mpz/millerrabin.c | 6 +++---
3 files changed, 5 insertions(+), 5 deletions(-)
diffs (41 lines):
diff -r bbce794a4c17 -r 2d92939c8c2b ChangeLog
--- a/ChangeLog Sat Nov 09 16:17:25 2019 +0100
+++ b/ChangeLog Sat Nov 09 16:31:00 2019 +0100
@@ -1,4 +1,4 @@
-2019-10-09 Marco Bodrato <bodrato at mail.dm.unipi.it>
+2019-11-09 Marco Bodrato <bodrato at mail.dm.unipi.it>
* tune/speed.c (routine_t): Add R flago to mpz_powm
* tune/speed.h (SPEED_ROUTINE_MPZ_POWM): Use R flag as the base.
diff -r bbce794a4c17 -r 2d92939c8c2b mini-gmp/ChangeLog
--- a/mini-gmp/ChangeLog Sat Nov 09 16:17:25 2019 +0100
+++ b/mini-gmp/ChangeLog Sat Nov 09 16:31:00 2019 +0100
@@ -1,4 +1,4 @@
-2018-10-09 Marco Bodrato <bodrato at mail.dm.unipi.it>
+2018-11-09 Marco Bodrato <bodrato at mail.dm.unipi.it>
* mini-gmp/mini-gmp.c (gmp_clz, gmp_popcount_limb, mpz_export):
Avoid undefined behaviour with small limb sizes.
diff -r bbce794a4c17 -r 2d92939c8c2b mpz/millerrabin.c
--- a/mpz/millerrabin.c Sat Nov 09 16:17:25 2019 +0100
+++ b/mpz/millerrabin.c Sat Nov 09 16:31:00 2019 +0100
@@ -8,7 +8,7 @@
With the current implementation, the first 24 MR-tests are substituted by a
Baillie-PSW probable prime test.
- This implementation the Baillie-PSW test was checked up to 37*2^45,
+ This implementation the Baillie-PSW test was checked up to 19*2^46,
for smaller values no MR-test is performed, regardless of reps, and
2 ("surely prime") is returned if the number was not proved composite.
@@ -19,8 +19,8 @@
CERTAIN TO BE SUBJECT TO INCOMPATIBLE CHANGES OR DISAPPEAR COMPLETELY IN
FUTURE GNU MP RELEASES.
-Copyright 1991, 1993, 1994, 1996-2002, 2005, 2014, 2018 Free Software
-Foundation, Inc.
+Copyright 1991, 1993, 1994, 1996-2002, 2005, 2014, 2018, 2019 Free
+Software Foundation, Inc.
Contributed by John Amanatides.
More information about the gmp-commit
mailing list