From d69eb93c8156fee5d38e09ecdd8b7eecf4396f08 Mon Sep 17 00:00:00 2001 From: wbhart Date: Fri, 9 Jan 2009 23:25:51 +0000 Subject: [PATCH] Added prototypes for mpn_bgcd, mpn_sgcd, mpn_rgcd and mpn_ngcd to gmp-inpl.h. --- gmp-impl.h | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/gmp-impl.h b/gmp-impl.h index 4f6ed23f..d36e8a70 100644 --- a/gmp-impl.h +++ b/gmp-impl.h @@ -3413,9 +3413,21 @@ mpn_ngcd_subdiv_step (mp_ptr gp, mp_size_t *gn, mp_size_t mpn_ngcd_lehmer (mp_ptr gp, mp_ptr ap, mp_ptr bp, mp_size_t n, mp_ptr tp); +mp_size_t +mpn_ngcd (mp_ptr gp, mp_ptr ap, mp_size_t an, mp_ptr bp, mp_size_t n); + mp_size_t mpn_lgcd (mp_ptr gp, mp_ptr ap, mp_size_t an, mp_ptr bp, mp_size_t bn); +mp_size_t +mpn_rgcd (mp_ptr gp, mp_ptr up, mp_size_t usize, mp_ptr vp, mp_size_t vsize); + +mp_size_t +mpn_sgcd (mp_ptr gp, mp_ptr ap, mp_size_t an, mp_ptr bp, mp_size_t bn); + +mp_size_t +mpn_bgcd (mp_ptr gp, mp_ptr ap, mp_size_t an, mp_ptr bp, mp_size_t bn); + /* Default HGCD_SCHOENHAGE_THRESHOLD and GCD_SCHOENHAGE_THRESHOLD are for x86/k7 */ #ifndef HGCD_SCHOENHAGE_THRESHOLD #define HGCD_SCHOENHAGE_THRESHOLD 191