No subject
Daniel J Farrell
daniel.farrell at imperial.ac.uk
Wed Feb 8 18:37:18 CET 2006
Great!
"...Right on the money.."
I'm actually useful ;0)
Dan
On 8 Feb 2006, at 14:54, Torbjorn Granlund wrote:
> Daniel J Farrell wrote:
>
> Maybe because long double is hardware specific? i.e. some time is 12
> bytes long other times its 16. Also, different manufactures divide
> the number of bytes up differently between exponent and the number
> part of the floating point.
>
> Right on the money.
>
> Damien Stehle wrote:
>
> Besides, why does mpz_set_d rounds towards zero and not to the
> nearest
> (with the round to even rule)?
>
> Because that's analogous to how double -> int conversions are
> done in C.
>
> --
> Torbjörn
More information about the gmp-discuss
mailing list