gcc/libstdc++-v3/include
Jonathan Wakely 606dda21c8 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
2016-10-03 18:01:10 +01:00
..
backward Update copyright years. 2016-01-04 15:30:50 +01:00
bits Fix libstdc++ versioned namespace build 2016-10-03 15:35:28 +01:00
c Update copyright years. 2016-01-04 15:30:50 +01:00
c_compatibility Don't define guard macros when doing #include_next in math.h and stdlib.h 2016-02-01 11:13:40 +00:00
c_global libstdc++/77795 Only declare ::gets for C++98 and C++11 2016-09-30 19:28:53 +01:00
c_std libstdc++/77795 Only declare ::gets for C++98 and C++11 2016-09-30 19:28:53 +01:00
debug 2016-09-26 François Dumont <fdumont@gcc.gnu.org> 2016-09-26 20:32:39 +00:00
decimal Update copyright years. 2016-01-04 15:30:50 +01:00
experimental Define std::gcd and std::lcm for C++17 2016-10-03 18:01:10 +01:00
ext Avoid reallocation for basic_string::clear() 2016-09-23 18:25:34 +01:00
parallel algo.h: Generalize usage of std::__iterator_category. 2016-09-25 15:23:45 +00:00
precompiled Implement TR29124 C++ special Math Functions. 2016-01-14 18:12:43 +00:00
profile Add C++17 constexpr to debug and profile mode arrays 2016-08-23 16:54:57 +01:00
std Define std::gcd and std::lcm for C++17 2016-10-03 18:01:10 +01:00
tr1 Enable Mathematical Special Functions for C++17 2016-08-03 16:54:13 +01:00
tr2 Update copyright years. 2016-01-04 15:30:50 +01:00
Makefile.am Fix libstdc++ versioned namespace build 2016-10-03 15:35:28 +01:00
Makefile.in Fix libstdc++ versioned namespace build 2016-10-03 15:35:28 +01:00