1// -*- C++ -*-
2//===----------------------------------------------------------------------===//
3//
4// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
5// See https://llvm.org/LICENSE.txt for license information.
6// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7//
8//===----------------------------------------------------------------------===//
9
10#ifndef _LIBCPP_CTGMATH
11#define _LIBCPP_CTGMATH
12
13/*
14 ctgmath synopsis
15
16#include <ccomplex>
17#include <cmath>
18
19*/
20
21#if __cplusplus < 201103L && defined(_LIBCPP_USE_FROZEN_CXX03_HEADERS)
22# include <__cxx03/ctgmath>
23#else
24# include <cmath>
25# include <complex>
26
27# if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
28# pragma GCC system_header
29# endif
30
31# if _LIBCPP_STD_VER >= 17 && !__building_module(std) && _LIBCPP_DIAGNOSE_DEPRECATED_HEADERS
32# warning <ctgmath> is deprecated in C++17 and removed in C++20. Include <cmath> and <complex> instead.
33# endif
34
35#endif // __cplusplus < 201103L && defined(_LIBCPP_USE_FROZEN_CXX03_HEADERS)
36
37#endif // _LIBCPP_CTGMATH