summaryrefslogtreecommitdiff
path: root/src/uceil_log2.c
diff options
context:
space:
mode:
authorenge <enge@211d60ee-9f03-0410-a15a-8952a2c7a4e4>2010-08-31 18:39:05 +0000
committerenge <enge@211d60ee-9f03-0410-a15a-8952a2c7a4e4>2010-08-31 18:39:05 +0000
commitf76cb5ad3c1f5f918c86e030a62208c228532c48 (patch)
tree533c3bcacf4a73c1d083857e2692c70a0d776298 /src/uceil_log2.c
parent3e9daad0e04c9504b6372f3ad702f9f292f3a442 (diff)
downloadmpc-f76cb5ad3c1f5f918c86e030a62208c228532c48.tar.gz
fixed sign conversion in mpc_ceil_log2
git-svn-id: svn://scm.gforge.inria.fr/svn/mpc/trunk@821 211d60ee-9f03-0410-a15a-8952a2c7a4e4
Diffstat (limited to 'src/uceil_log2.c')
-rw-r--r--src/uceil_log2.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/uceil_log2.c b/src/uceil_log2.c
index f46f4d9..69305a7 100644
--- a/src/uceil_log2.c
+++ b/src/uceil_log2.c
@@ -24,7 +24,7 @@ MA 02111-1307, USA. */
/* returns ceil(log(d)/log(2)) if d > 0 */
/* Don't use count_leading_zeros since it is in longlong.h */
mpfr_prec_t
-mpc_ceil_log2 (unsigned long d)
+mpc_ceil_log2 (mpfr_prec_t d)
{
unsigned long exp;