[IRBuilder] Refactor FMF interface (#121657)
[llvm-project.git] / libcxx / include / ctgmath
blob237f474f01c243a367225cdd024a664afbe60abc
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 //===----------------------------------------------------------------------===//
10 #ifndef _LIBCPP_CTGMATH
11 #define _LIBCPP_CTGMATH
14     ctgmath synopsis
16 #include <ccomplex>
17 #include <cmath>
21 #if __cplusplus < 201103L && defined(_LIBCPP_USE_FROZEN_CXX03_HEADERS)
22 #  include <__cxx03/ctgmath>
23 #else
24 #  include <cmath>
25 #  include <complex>
27 #  if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
28 #    pragma GCC system_header
29 #  endif
31 #  if _LIBCPP_STD_VER >= 20
33 using __standard_header_ctgmath _LIBCPP_DEPRECATED_("removed in C++20. Include <cmath> and <complex> instead.") = void;
34 using __use_standard_header_ctgmath = __standard_header_ctgmath;
36 #  elif _LIBCPP_STD_VER >= 17
38 using __standard_header_ctgmath _LIBCPP_DEPRECATED_("Include <cmath> and <complex> instead.") = void;
39 using __use_standard_header_ctgmath = __standard_header_ctgmath;
41 #  endif
43 #endif // __cplusplus < 201103L && defined(_LIBCPP_USE_FROZEN_CXX03_HEADERS)
45 #endif // _LIBCPP_CTGMATH