[Cfp-interest 1911] propagation of NaN sign bit

Paul Zimmermann Paul.Zimmermann at inria.fr
Mon Feb 1 23:01:30 PST 2021


       Hi,

there is currently a discussion on the MPFR list whether conversions
from MPFR numbers (mpfr_t) to C floating-point types (float, double,
long double, ...) should preserve the sign bit of NaNs. See the thread
starting at https://sympa.inria.fr/sympa/arc/mpfr/2021-02/msg00000.html.

Currently MPFR does not preserve the sign bit. Should we?

The question was raised to the IEEE 754 list, but maybe the CFG group
has some comment on this?

Best regards,
Paul


More information about the Cfp-interest mailing list