[Gmp-commit] /var/hg/gmp: tune/speed.h: Fix mpn_hgcd_appr_lehmer declaration.

mercurial at gmplib.org mercurial at gmplib.org
Wed Jul 26 20:42:30 CEST 2023


details:   /var/hg/gmp/rev/1fb0421e09fa
changeset: 18403:1fb0421e09fa
user:      Niels Möller <nisse at lysator.liu.se>
date:      Wed Jul 26 20:42:02 2023 +0200
description:
tune/speed.h: Fix mpn_hgcd_appr_lehmer declaration.

diffstat:

 ChangeLog    |  5 +++++
 tune/speed.h |  2 +-
 2 files changed, 6 insertions(+), 1 deletions(-)

diffs (24 lines):

diff -r ce3fcd438c6b -r 1fb0421e09fa ChangeLog
--- a/ChangeLog	Wed Jul 26 14:31:07 2023 +0200
+++ b/ChangeLog	Wed Jul 26 20:42:02 2023 +0200
@@ -1,3 +1,8 @@
+2023-07-26  Niels Möller  <nisse at lysator.liu.se>
+
+	* tune/speed.h (mpn_hgcd_appr_lehmer): Fix declaration to use
+	correct return type.
+
 2023-07-26  Torbjörn Granlund  <tg at gmplib.org>
 
 	* mpn/s390_64/z13/submul_1.asm: New file.
diff -r ce3fcd438c6b -r 1fb0421e09fa tune/speed.h
--- a/tune/speed.h	Wed Jul 26 14:31:07 2023 +0200
+++ b/tune/speed.h	Wed Jul 26 20:42:02 2023 +0200
@@ -525,7 +525,7 @@
 mp_size_t mpn_hgcd_lehmer (mp_ptr, mp_ptr, mp_size_t, struct hgcd_matrix *, mp_ptr);
 mp_size_t mpn_hgcd_lehmer_itch (mp_size_t);
 
-mp_size_t mpn_hgcd_appr_lehmer (mp_ptr, mp_ptr, mp_size_t, struct hgcd_matrix *, mp_ptr);
+int mpn_hgcd_appr_lehmer (mp_ptr, mp_ptr, mp_size_t, struct hgcd_matrix *, mp_ptr);
 mp_size_t mpn_hgcd_appr_lehmer_itch (mp_size_t);
 
 mp_size_t mpn_hgcd_reduce_1 (struct hgcd_matrix *, mp_ptr, mp_ptr, mp_size_t, mp_size_t, mp_ptr);


More information about the gmp-commit mailing list