gcc/libstdc++-v3/testsuite/26_numerics
Jonathan Wakely 37b204de60 Implement LWG 2192 and LWG 2294 for std::abs
* doc/xml/manual/intro.xml: Document LWG 2192 changes.
	* doc/html/*: Regenerate.
	* include/Makefile.am: Add bits/std_abs.h.
	* include/Makefile.in: Regenerate.
	* include/bits/std_abs.h: New header defining all required overloads
	of std::abs in one place (LWG 2294).
	* include/c_global/cmath (abs(double), abs(float), abs(long double)):
	Move to bits/std_abs.h.
	(abs<_Tp>(_Tp)): Remove.
	* include/c_global/cstdlib (abs(long), abs(long long), abs(__int<N>)):
	Move to bits/std_abs.h.
	* testsuite/26_numerics/headers/cmath/dr2192.cc: New test.
	* testsuite/26_numerics/headers/cmath/dr2192_neg.cc: New test.
	* testsuite/26_numerics/headers/cstdlib/dr2192.cc: New test.
	* testsuite/26_numerics/headers/cstdlib/dr2192_neg.cc: New test.

From-SVN: r240660
2016-09-30 17:07:43 +01:00
..
accumulate Update copyright years. 2016-01-04 15:30:50 +01:00
adjacent_difference Update copyright years. 2016-01-04 15:30:50 +01:00
complex Use effective-target instead of -std options 2016-08-26 12:41:37 +01:00
headers Implement LWG 2192 and LWG 2294 for std::abs 2016-09-30 17:07:43 +01:00
inner_product Update copyright years. 2016-01-04 15:30:50 +01:00
iota Use effective-target instead of -std options 2016-08-26 12:41:37 +01:00
partial_sum Update copyright years. 2016-01-04 15:30:50 +01:00
random Use effective-target instead of -std options 2016-08-26 12:41:37 +01:00
slice Update copyright years. 2016-01-04 15:30:50 +01:00
slice_array Update copyright years. 2016-01-04 15:30:50 +01:00
valarray Use effective-target instead of -std options 2016-08-26 12:41:37 +01:00