bug-gmp
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: mpq_set_d tp[3]


From: Kevin Ryde
Subject: Re: mpq_set_d tp[3]
Date: Sat, 18 May 2002 07:34:09 +1000
User-agent: Gnus/5.090007 (Oort Gnus v0.07) Emacs/21.1 (i386-debian-linux-gnu)

Henrik Johansson <address@hidden> writes:
>
> In mpq/set_d.c there is an "mp_lib_t tp[3]", and this variable
> is the used as an argument to "__gmp_extract_double()" where
> the expected arguemnt is an array of size "LIMBS_PER_DOUBLE"

Thanks, that's been like that for a while.

> (which happens to be 3 in most cases...).

Yes, it's no more than 3 in normal circumstances (limb at least 32
bits, double at most 64 bits).



reply via email to

[Prev in Thread] Current Thread [Next in Thread]