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