]> git.ipfire.org Git - thirdparty/glibc.git/commit
stdio-common: Add scanf long double data for IEEE 754 binary64 format
authorMaciej W. Rozycki <macro@redhat.com>
Tue, 25 Mar 2025 09:40:20 +0000 (09:40 +0000)
committerMaciej W. Rozycki <macro@redhat.com>
Tue, 25 Mar 2025 09:40:20 +0000 (09:40 +0000)
commit771cda3c9cbbfc33a1a337d964e7749b245dec38
treefcc02a2f1a94f6b946a2c659ba3a0df0de3c9e61
parent1890e63c86ceb04a49a914dc2cafa9862e938ef6
stdio-common: Add scanf long double data for IEEE 754 binary64 format

Add Makefile infrastructure and 64-bit `long double' real input data for
targets switching between the IEEE 754 binary64 and IEEE 754 binary128
formats with `-mlong-double-64' and `-mlong-double-128'.  Use modified
output file names for the IEEE 754 binary64 format so as not to clash
with the names used for IEEE 754 binary128 format tests made with common
rules for the 'long double' data type.

Keep input data disabled and referring to BZ #12701 for entries that are
are currently incorrectly accepted as valid data, such as '0e', '0e+',
'0x', '0x8p', '0x0p-', etc.

Reviewed-by: Joseph Myers <josmyers@redhat.com>
sysdeps/ieee754/ldbl-64-128/Makefile [new file with mode: 0644]
sysdeps/ieee754/ldbl-opt/Makefile
sysdeps/ieee754/ldbl-opt/tst-scanf-format-ldouble-a.input [new file with mode: 0644]
sysdeps/ieee754/ldbl-opt/tst-scanf-format-ldouble-aa.input [new file with mode: 0644]
sysdeps/ieee754/ldbl-opt/tst-scanf-format-ldouble-e.input [new file with mode: 0644]
sysdeps/ieee754/ldbl-opt/tst-scanf-format-ldouble-ee.input [new file with mode: 0644]
sysdeps/ieee754/ldbl-opt/tst-scanf-format-ldouble-f.input [new file with mode: 0644]
sysdeps/ieee754/ldbl-opt/tst-scanf-format-ldouble-ff.input [new file with mode: 0644]
sysdeps/ieee754/ldbl-opt/tst-scanf-format-ldouble-g.input [new file with mode: 0644]
sysdeps/ieee754/ldbl-opt/tst-scanf-format-ldouble-gg.input [new file with mode: 0644]