Namespaces
Variants
Views
Actions

Standard library header <ctgmath> (C++11)(until C++20), <tgmath.h> (C++11)

From cppreference.com
< cpp‎ | header
 
 
Standard library headers
Algorithms
<algorithm>
<numeric>
Strings
<cctype>
<cstring>
<cuchar> (C++11)
<cwchar>
<cwctype>
<string_view> (C++17)
<string>
Text processing
<clocale>
<codecvt> (C++11/17/26*)
<locale>
<regex> (C++11)
<text_encoding> (C++26)   
Numerics
<cfenv> (C++11)
<cmath>
<complex>
<linalg> (C++26)
<numbers> (C++20)
<random> (C++11)
<valarray>
Time
<chrono> (C++11)
<ctime>
C compatibility
<ccomplex> (C++11/17/20*)
<ciso646> (until C++20)
<cstdalign> (C++11/17/20*)
<cstdbool> (C++11/17/20*)
<ctgmath> (C++11/17/20*)
 

This header was originally in the C standard library as <tgmath.h>.

This header is part of the numeric library.

Includes

(C++11)(deprecated in C++17)(removed in C++20)
Simply includes the header <complex>[edit]
(C++11)
Common mathematics functions[edit]

[edit] Notes

<ctgmath> is deprecated in C++17 and removed in C++20. Corresponding <tgmath.h> is still available in C++20.