https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92488

Segher Boessenkool <segher at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|WAITING                     |NEW

--- Comment #2 from Segher Boessenkool <segher at gcc dot gnu.org> ---
If you first round the DFP extended to DFP long and then to DFP short, it
can round in the same direction twice, giving the wrong result (say, for
round-to-nearest-even, you can end up with something more than 0.5ulp from
what you started with).

Doing everything but the final conversion down in round-to-odd mode works
correctly always.  It's magic :-)

Reply via email to