https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105441

--- Comment #4 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Patrick Palka <ppa...@gcc.gnu.org>:

https://gcc.gnu.org/g:576f975cabb0fd9843de152a2d247d486a967b08

commit r13-69-g576f975cabb0fd9843de152a2d247d486a967b08
Author: Patrick Palka <ppa...@redhat.com>
Date:   Mon May 2 07:00:48 2022 -0400

    libstdc++: case-sensitivity in hexfloat std::from_chars [PR105441]

    The hexfloat parser for binary32/64 added in r12-6645-gcc3bf3404e4b1c
    overlooked that the exponent part can also begin with an uppercase 'P'.

            PR libstdc++/105441

    libstdc++-v3/ChangeLog:

            * src/c++17/floating_from_chars.cc (__floating_from_chars_hex):
            Also accept 'P' as the start of the exponent.
            * testsuite/20_util/from_chars/7.cc: Add corresponding testcase.

Reply via email to