Does -0.5 fit an unsigned when truncated to an integer?

bodrato at bodrato at
Tue Mar 19 16:29:45 CET 2013


Il Mar, 19 Marzo 2013 9:00 am, Zimmermann Paul ha scritto:
>> This means that MPFR too consider that -0.9 does not fit an unsigned int
>> when rounded towards zero... I'd expect all "1".
> this is a bug, that is fixed in the development version of MPFR (that now
> matches the MPFR documentation).

My comment on gmp-devel ended up in a bug-fix on MPFR! Great !-D


More information about the gmp-devel mailing list