summaryrefslogtreecommitdiff
path: root/int_ceil_log2.c
diff options
context:
space:
mode:
authorvlefevre <vlefevre@280ebfd0-de03-0410-8827-d642c229c3f4>2005-09-11 17:56:43 +0000
committervlefevre <vlefevre@280ebfd0-de03-0410-8827-d642c229c3f4>2005-09-11 17:56:43 +0000
commit61c50c1a80c13da958a07ccea39a5aac2c44374e (patch)
tree9379cf60edea3fd04f9edf2cec6009b22134f6de /int_ceil_log2.c
parent8a7d87b97cd350a9a798ced512988907e48dc611 (diff)
downloadmpfr-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.c2
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;