diff options
author | Jonathan Wakely <jwakely@redhat.com> | 2023-08-23 15:51:49 +0100 |
---|---|---|
committer | Jonathan Wakely <jwakely@redhat.com> | 2023-08-24 13:44:38 +0100 |
commit | c47430bba62a49a2ca10c99380ce87ceafca8e68 (patch) | |
tree | b4b05bb7de77e791655255f1a65ae03dd2199236 /gcc | |
parent | d96659e34cdcf43640541e1b7401ac546e0d1bf5 (diff) | |
download | gcc-c47430bba62a49a2ca10c99380ce87ceafca8e68.zip gcc-c47430bba62a49a2ca10c99380ce87ceafca8e68.tar.gz gcc-c47430bba62a49a2ca10c99380ce87ceafca8e68.tar.bz2 |
libstdc++: Implement new SI prefixes in <ratio> for C++23 (P2734R0)
This is a no-op for libstdc++, because our intmax_t is a 64-bit type and
so is incapable of representing the largest and smallest ratios from
C++11, let alone the new ones. I've added them to the file anyway (and
defined the feature test macro) so that if somebody ports libstdc++ to a
target with 128-bit intmax_t then they'll be present.
libstdc++-v3/ChangeLog:
* include/bits/version.def (__cpp_lib_ratio): Define.
* include/bits/version.h: Regenerate.
* include/std/ratio (quecto, ronto, yocto, zepto)
(zetta, yotta, ronna, quetta): Define.
* testsuite/20_util/ratio/operations/ops_overflow_neg.cc: Adjust
dg-error line numbers.
Diffstat (limited to 'gcc')
0 files changed, 0 insertions, 0 deletions