Daniel J Farrell
daniel.farrell at imperial.ac.uk
Wed Feb 8 10:53:16 CET 2006
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.
All of that's just a guess, by they way.
On 8 Feb 2006, at 06:19, Damien Stehle wrote:
> I wonder why GMP it is not possible to perform conversions between
> mpz_ts and long doubles. More precisely, why are the following
> functions unavailable?
> Their task (and possibly their code) would be to copy those of
> mpz_set_d and mpz_get_d.
> Besides, why does mpz_set_d rounds towards zero and not to the nearest
> (with the round to even rule)?
> gmp-discuss mailing list
> gmp-discuss at swox.com
More information about the gmp-discuss