]> git.ipfire.org Git - thirdparty/glibc.git/commit
stdio-common: Add scanf long double data for IBM 128-bit 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)
commit4bea073069e9e457258d082786297a867593d05b
tree2434369f51822bb36058768e6236efd79ba510bb
parent771cda3c9cbbfc33a1a337d964e7749b245dec38
stdio-common: Add scanf long double data for IBM 128-bit format

Add Makefile infrastructure and IBM 128-bit 'long double' real input for
targets switching between the IEEE 754 binary128 and IBM 128-bit formats
with '-mabi=ieeelongdouble' and '-mabi=ibmlongdouble'.  Reuse IEEE 754
binary128 input data but with modified output file names so as not to
clash with the names used for IBM 128-bit 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-128ibm-compat/Makefile
sysdeps/ieee754/ldbl-128ibm/Makefile
sysdeps/ieee754/ldbl-128ibm/tst-scanf-format-ldouble-a.input [new file with mode: 0644]
sysdeps/ieee754/ldbl-128ibm/tst-scanf-format-ldouble-aa.input [new file with mode: 0644]
sysdeps/ieee754/ldbl-128ibm/tst-scanf-format-ldouble-e.input [new file with mode: 0644]
sysdeps/ieee754/ldbl-128ibm/tst-scanf-format-ldouble-ee.input [new file with mode: 0644]
sysdeps/ieee754/ldbl-128ibm/tst-scanf-format-ldouble-f.input [new file with mode: 0644]
sysdeps/ieee754/ldbl-128ibm/tst-scanf-format-ldouble-ff.input [new file with mode: 0644]
sysdeps/ieee754/ldbl-128ibm/tst-scanf-format-ldouble-g.input [new file with mode: 0644]
sysdeps/ieee754/ldbl-128ibm/tst-scanf-format-ldouble-gg.input [new file with mode: 0644]