aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorJonathan Wakely <jwakely@redhat.com>2023-05-17 14:02:14 +0100
committerJonathan Wakely <jwakely@redhat.com>2023-05-31 13:17:45 +0100
commitf150a084e25eaa98afaf25e2211001047ecc8d44 (patch)
treef66206e9e713fa51c61f556ad1414f6426055838 /gcc
parent51cf0b3949b88b5e622872e4dac019ceb27400e1 (diff)
downloadgcc-f150a084e25eaa98afaf25e2211001047ecc8d44.zip
gcc-f150a084e25eaa98afaf25e2211001047ecc8d44.tar.gz
gcc-f150a084e25eaa98afaf25e2211001047ecc8d44.tar.bz2
libstdc++: Add std::numeric_limits<__float128> specialization [PR104772]
As suggested by Jakub in the PR, this just hardcodes the constants with a Q suffix, since the properties of __float128 are not going to change. We can only define it for non-strict modes because the suffix gives an error otherwise, even in system headers: limits:2085: error: unable to find numeric literal operator 'operator""Q' libstdc++-v3/ChangeLog: PR libstdc++/104772 * include/std/limits (numeric_limits<__float128>): Define. * testsuite/18_support/numeric_limits/128bit.cc: New test.
Diffstat (limited to 'gcc')
0 files changed, 0 insertions, 0 deletions