[Bug libgcc/105669] New: DFP to HF (_Float16) conversions use incorrect rounding
clyon at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Fri May 20 07:45:45 GMT 2022
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105669
Bug ID: 105669
Summary: DFP to HF (_Float16) conversions use incorrect
rounding
Product: gcc
Version: 13.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: libgcc
Assignee: unassigned at gcc dot gnu.org
Reporter: clyon at gcc dot gnu.org
Target Milestone: ---
Support for conversions between DFP and _Float16 have been introduced with
r13-687-g308a0af4f91324.
For simplicity it uses intermediate conversions with SFmode, leading to double
rounding which probably produces incorrectly rounded results.
See also PR97635
More information about the Gcc-bugs
mailing list