]> git.ipfire.org Git - thirdparty/glibc.git/commit
stdio-common: Add 'e' conversion tests for . scanf input [BZ #12701]
authorMaciej W. Rozycki <macro@redhat.com>
Mon, 11 Aug 2025 16:42:12 +0000 (17:42 +0100)
committerMaciej W. Rozycki <macro@redhat.com>
Mon, 11 Aug 2025 16:42:12 +0000 (17:42 +0100)
commit291f4d4fe585fad78562baf451dfc8277ada007d
tree63f5fe383bd92c4ea3e8405e0c93f4199cb31733
parent14957cb1c44b7c75e3c2cbddc406c88d90090947
stdio-common: Add 'e' conversion tests for . scanf input [BZ #12701]

Verify that . input is rejected by 'e' conversion (and its uppercase
counterpart).  Replace 0e0 input with .0e0 rather than adding new one,
because 0 significand is already covered by 0e+0 data, so there's no
need to keep this duplication.

Reviewed-by: Adhemerval Zanella <adhemerval.zanella@linaro.org>
12 files changed:
sysdeps/ieee754/dbl-64/tst-scanf-format-double-e.input
sysdeps/ieee754/dbl-64/tst-scanf-format-double-ee.input
sysdeps/ieee754/flt-32/tst-scanf-format-float-e.input
sysdeps/ieee754/flt-32/tst-scanf-format-float-ee.input
sysdeps/ieee754/ldbl-128/tst-scanf-format-ldouble-e.input
sysdeps/ieee754/ldbl-128/tst-scanf-format-ldouble-ee.input
sysdeps/ieee754/ldbl-128ibm/tst-scanf-format-ldouble-e.input
sysdeps/ieee754/ldbl-128ibm/tst-scanf-format-ldouble-ee.input
sysdeps/ieee754/ldbl-96/tst-scanf-format-ldouble-e.input
sysdeps/ieee754/ldbl-96/tst-scanf-format-ldouble-ee.input
sysdeps/ieee754/ldbl-opt/tst-scanf-format-ldouble-e.input
sysdeps/ieee754/ldbl-opt/tst-scanf-format-ldouble-ee.input