]> git.ipfire.org Git - thirdparty/glibc.git/commit
stdio-common: Add scanf long double data for Intel/Motorola 80-bit format
authorMaciej W. Rozycki <macro@redhat.com>
Fri, 28 Mar 2025 12:35:52 +0000 (12:35 +0000)
committerMaciej W. Rozycki <macro@redhat.com>
Fri, 28 Mar 2025 12:35:52 +0000 (12:35 +0000)
commitd527f34cb1d487a4788fe88278a9ad832c53c3ee
tree07d4e6184ea2feabdd294a152c6c72c2e7446175
parent75ad83f564b822de0f1f5fb6ed29f105373d3c49
stdio-common: Add scanf long double data for Intel/Motorola 80-bit format

Add Makefile infrastructure, a format-specific test skeleton providing a
data comparison implementation that ignores bits of data representation
in memory that do not participate in holding floating-point data, and
`long double' real input data for targets using the Intel/Motorola
80-bit format.

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-96/Makefile
sysdeps/ieee754/ldbl-96/tst-scanf-format-ldouble-a.input [new file with mode: 0644]
sysdeps/ieee754/ldbl-96/tst-scanf-format-ldouble-aa.input [new file with mode: 0644]
sysdeps/ieee754/ldbl-96/tst-scanf-format-ldouble-e.input [new file with mode: 0644]
sysdeps/ieee754/ldbl-96/tst-scanf-format-ldouble-ee.input [new file with mode: 0644]
sysdeps/ieee754/ldbl-96/tst-scanf-format-ldouble-f.input [new file with mode: 0644]
sysdeps/ieee754/ldbl-96/tst-scanf-format-ldouble-ff.input [new file with mode: 0644]
sysdeps/ieee754/ldbl-96/tst-scanf-format-ldouble-g.input [new file with mode: 0644]
sysdeps/ieee754/ldbl-96/tst-scanf-format-ldouble-gg.input [new file with mode: 0644]
sysdeps/ieee754/ldbl-96/tst-scanf-format-skeleton-ldouble.c [new file with mode: 0644]