From 38b03c332c5ac1095311580514e31ecf28aabdd4 Mon Sep 17 00:00:00 2001 From: Richard Kreckel Date: Thu, 2 Aug 2007 17:34:35 +0000 Subject: [PATCH] * src/base/digitseq/cl_DS_div.cc (cl_recip_suitable): uintC arguments. --- ChangeLog | 4 ++++ src/base/digitseq/cl_DS_div.cc | 4 ++-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index b0613b6..aebc719 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2007-08-02 Richard B. Kreckel + + * src/base/digitseq/cl_DS_div.cc (cl_recip_suitable): uintC arguments. + 2007-08-01 Richard B. Kreckel * */*: Remove cl_boolean, cl_true, and cl_false in favor of built-in diff --git a/src/base/digitseq/cl_DS_div.cc b/src/base/digitseq/cl_DS_div.cc index a64519f..2ea8b61 100644 --- a/src/base/digitseq/cl_DS_div.cc +++ b/src/base/digitseq/cl_DS_div.cc @@ -58,7 +58,7 @@ namespace cln { // Break-even-point, should be acceptable for both architectures. // When in doubt, prefer to choose the standard algorithm. #if CL_USE_GMP - static inline bool cl_recip_suitable (uintL m, uintL n) // m > n + static inline bool cl_recip_suitable (uintC m, uintC n) // m > n { if (n < 900) return false; else @@ -95,7 +95,7 @@ namespace cln { // n = 2000: Newton faster for m >= 2020 // n = 2500: Newton faster for m >= 2520 // n = 5000: Newton faster for m >= 5020 - static inline bool cl_recip_suitable (uintL m, uintL n) // m > n + static inline bool cl_recip_suitable (uintC m, uintC n) // m > n { if (n < 500) return false; else