]> git.ipfire.org Git - thirdparty/glibc.git/commit
stdio-common: Add scanf float data for IEEE 754 binary32 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)
commit26df22636d5876352cbd53b8662173e461e1e220
tree4ee677cd857a593da3a843773b26c2e9f88462c7
parenta2bacea239c1780b20a1b23a9c3c836ef61c6172
stdio-common: Add scanf float data for IEEE 754 binary32 format

Add Makefile infrastructure and `float' real input data for targets
using the IEEE 754 binary32 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/flt-32/Makefile [new file with mode: 0644]
sysdeps/ieee754/flt-32/tst-scanf-format-float-a.input [new file with mode: 0644]
sysdeps/ieee754/flt-32/tst-scanf-format-float-aa.input [new file with mode: 0644]
sysdeps/ieee754/flt-32/tst-scanf-format-float-e.input [new file with mode: 0644]
sysdeps/ieee754/flt-32/tst-scanf-format-float-ee.input [new file with mode: 0644]
sysdeps/ieee754/flt-32/tst-scanf-format-float-f.input [new file with mode: 0644]
sysdeps/ieee754/flt-32/tst-scanf-format-float-ff.input [new file with mode: 0644]
sysdeps/ieee754/flt-32/tst-scanf-format-float-g.input [new file with mode: 0644]
sysdeps/ieee754/flt-32/tst-scanf-format-float-gg.input [new file with mode: 0644]