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

> C++ Atlas: `cppatlas.com/w/cpp/header/ctgmath` | Source: https://en.cppreference.com/w/cpp/header/ctgmath | Domain: Standard headers | Standards: C++11, C++17, C++20

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

## Official Specification Summary (cppreference)

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

This header is part of the numeric library.

**Includes**

- `<ccomplex>` (C++11): Simply includes the header `<complex>`
- `<cmath>` (C++11): Common mathematics functions

### Notes

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

---
Attribution: content from https://en.cppreference.com/w/cpp/header/ctgmath (cppreference.com), licensed under CC-BY-SA 3.0 and GFDL. Modified: converted to markdown, study notes added. Offline snapshot of 9 February 2025.