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

--- Comment #9 from GCC Commits <cvs-commit at gcc dot gnu.org> ---
The releases/gcc-14 branch has been updated by Jonathan Wakely
<r...@gcc.gnu.org>:

https://gcc.gnu.org/g:d635e3298919d2be70c6931cfc158dd9a790e0f6

commit r14-11992-gd635e3298919d2be70c6931cfc158dd9a790e0f6
Author: Jonathan Wakely <jwak...@redhat.com>
Date:   Tue Aug 19 17:29:12 2025 +0100

    libstdc++: Fix std::numeric_limits<__float128>::max_digits10 [PR121374]

    When I added this explicit specialization in r14-1433-gf150a084e25eaa I
    used the wrong value for the number of mantissa digits (I used 112
    instead of 113). Then when I refactored it in r14-1582-g6261d10521f9fd I
    used the value calculated from the incorrect value (35 instead of 36).

    libstdc++-v3/ChangeLog:

            PR libstdc++/121374
            * include/std/limits (numeric_limits<__float128>::max_digits10):
            Fix value.
            * testsuite/18_support/numeric_limits/128bit.cc: Check value.

    (cherry picked from commit cf88ed5bf20c86ca38da19358ff79a34adb4d0b5)

Reply via email to