gcc/libstdc++-v3/testsuite/26_numerics/complex
Jonathan Wakely 6dbcbd96e9
libstdc++: Deprecate non-standard std::fabs(const complex<T>&) [PR120235]
There was an overload of fabs for std::complex in TR1 and in some C++0x
drafts, but it was removed from the working draft by LWG 595.

Since we've been providing it for decades we should deprecate it before
removing it.

libstdc++-v3/ChangeLog:

	PR libstdc++/120235
	* doc/html/*: Regenerate.
	* doc/xml/manual/evolution.xml: Document deprecation.
	* include/std/complex: Replace references to TR1 subclauses with
	corresponding C++11 subclauses.
	(fabs): Add deprecated attribute.
	* testsuite/26_numerics/complex/fabs_neg.cc: New test.

Reviewed-by: Tomasz Kamiński <tkaminsk@redhat.com>
2025-05-15 16:33:16 +01:00
..
comparison_operators Update copyright years. 2025-01-02 11:59:57 +01:00
cons Update copyright years. 2025-01-02 11:59:57 +01:00
inserters_extractors Update copyright years. 2025-01-02 11:59:57 +01:00
literals Update copyright years. 2025-01-02 11:59:57 +01:00
operators Update copyright years. 2025-01-02 11:59:57 +01:00
requirements Update copyright years. 2025-01-02 11:59:57 +01:00
value_operations Update copyright years. 2025-01-02 11:59:57 +01:00
1.cc Update copyright years. 2025-01-02 11:59:57 +01:00
2.cc Update copyright years. 2025-01-02 11:59:57 +01:00
13450.cc Update copyright years. 2025-01-02 11:59:57 +01:00
50880.cc Update copyright years. 2025-01-02 11:59:57 +01:00
51083.cc Update copyright years. 2025-01-02 11:59:57 +01:00
56111.cc Update copyright years. 2025-01-02 11:59:57 +01:00
abi_tag.cc
buggy_complex.cc Update copyright years. 2025-01-02 11:59:57 +01:00
c99.cc Update copyright years. 2025-01-02 11:59:57 +01:00
dr387_2.cc Update copyright years. 2025-01-02 11:59:57 +01:00
dr781.cc Update copyright years. 2025-01-02 11:59:57 +01:00
dr844.cc Update copyright years. 2025-01-02 11:59:57 +01:00
ext_c++23.cc Update copyright years. 2025-01-02 11:59:57 +01:00
fabs_neg.cc libstdc++: Deprecate non-standard std::fabs(const complex<T>&) [PR120235] 2025-05-15 16:33:16 +01:00
pow.cc
proj.cc Update copyright years. 2025-01-02 11:59:57 +01:00
tuple_like.cc libstdc++: Fix failures in new std::complex test [PR119144] 2025-03-06 16:08:02 +00:00