diff options
author | Jonathan Wakely <jwakely@redhat.com> | 2016-10-03 18:01:10 +0100 |
---|---|---|
committer | Jonathan Wakely <redi@gcc.gnu.org> | 2016-10-03 18:01:10 +0100 |
commit | 606dda21c8bcd4c2574e5b28f8125f01e38955c6 (patch) | |
tree | fbbf846d1547d0889eb640b9c224bef9cb11882b /libitm | |
parent | ec9d5ad13bf6a965007d727d0dcbc77155e8132a (diff) | |
download | gcc-606dda21c8bcd4c2574e5b28f8125f01e38955c6.zip gcc-606dda21c8bcd4c2574e5b28f8125f01e38955c6.tar.gz gcc-606dda21c8bcd4c2574e5b28f8125f01e38955c6.tar.bz2 |
Define std::gcd and std::lcm for C++17
* doc/xml/manual/status_cxx2017.xml: Update gcd/lcm status.
* doc/html/*: Regenerate.
* include/experimental/numeric (__abs): Move to <numeric>.
(gcd, lcm): Use __detail::gcd and __detail::lcm.
* include/std/numeric (__detail::__abs_integral)
(__detail::__gcd, __detail::__lcm): Define.
(gcd, lcm): Define for C++17.
* testsuite/26_numerics/gcd/1.cc: New test.
* testsuite/26_numerics/lcm/1.cc: New test.
* testsuite/experimental/numeric/gcd.cc: Swap contents with ...
* testsuite/experimental/numeric/lcd.cc: ... this.
From-SVN: r240723
Diffstat (limited to 'libitm')
0 files changed, 0 insertions, 0 deletions