diff options
author | vlefevre <vlefevre@280ebfd0-de03-0410-8827-d642c229c3f4> | 2005-09-11 17:56:43 +0000 |
---|---|---|
committer | vlefevre <vlefevre@280ebfd0-de03-0410-8827-d642c229c3f4> | 2005-09-11 17:56:43 +0000 |
commit | 61c50c1a80c13da958a07ccea39a5aac2c44374e (patch) | |
tree | 9379cf60edea3fd04f9edf2cec6009b22134f6de /int_ceil_log2.c | |
parent | 8a7d87b97cd350a9a798ced512988907e48dc611 (diff) | |
download | mpfr-61c50c1a80c13da958a07ccea39a5aac2c44374e.tar.gz |
Changed the MPFR_ASSERTD into a MPFR_ASSERTN for MPFR_INT_CEIL_LOG2
since the assertion cannot be guaranteed for every C implementation.
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@3823 280ebfd0-de03-0410-8827-d642c229c3f4
Diffstat (limited to 'int_ceil_log2.c')
-rw-r--r-- | int_ceil_log2.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/int_ceil_log2.c b/int_ceil_log2.c index 3155e4c03..e4d9dc80b 100644 --- a/int_ceil_log2.c +++ b/int_ceil_log2.c @@ -28,7 +28,7 @@ __gmpfr_int_ceil_log2 (unsigned long n) int b; mp_limb_t limb = n; - MPFR_ASSERTD (limb == n); + MPFR_ASSERTN (limb == n); count_leading_zeros (b, limb); return BITS_PER_MP_LIMB-b; |