2010-05-11 19:42:16 +00:00
|
|
|
// -*- C++ -*-
|
2021-11-17 16:25:01 -05:00
|
|
|
//===----------------------------------------------------------------------===//
|
2010-05-11 19:42:16 +00:00
|
|
|
//
|
2019-01-19 10:56:40 +00:00
|
|
|
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
|
|
|
|
// See https://llvm.org/LICENSE.txt for license information.
|
|
|
|
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
|
2010-05-11 19:42:16 +00:00
|
|
|
//
|
|
|
|
//===----------------------------------------------------------------------===//
|
|
|
|
|
|
|
|
#ifndef _LIBCPP_CTGMATH
|
|
|
|
#define _LIBCPP_CTGMATH
|
|
|
|
|
|
|
|
/*
|
|
|
|
ctgmath synopsis
|
|
|
|
|
|
|
|
#include <ccomplex>
|
|
|
|
#include <cmath>
|
|
|
|
|
|
|
|
*/
|
|
|
|
|
2024-12-21 13:01:48 +01:00
|
|
|
#if __cplusplus < 201103L && defined(_LIBCPP_USE_FROZEN_CXX03_HEADERS)
|
|
|
|
# include <__cxx03/ctgmath>
|
|
|
|
#else
|
2024-12-10 16:02:12 +01:00
|
|
|
# include <cmath>
|
|
|
|
# include <complex>
|
2010-05-11 19:42:16 +00:00
|
|
|
|
2024-12-10 16:02:12 +01:00
|
|
|
# if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
|
|
|
|
# pragma GCC system_header
|
|
|
|
# endif
|
2010-05-11 19:42:16 +00:00
|
|
|
|
2024-12-10 16:02:12 +01:00
|
|
|
# if _LIBCPP_STD_VER >= 20
|
2024-10-30 09:49:26 +08:00
|
|
|
|
2025-01-08 17:12:59 +01:00
|
|
|
using __standard_header_ctgmath
|
|
|
|
_LIBCPP_DEPRECATED_("removed in C++20. Include <cmath> and <complex> instead.") _LIBCPP_NODEBUG = void;
|
|
|
|
using __use_standard_header_ctgmath _LIBCPP_NODEBUG = __standard_header_ctgmath;
|
2024-10-30 09:49:26 +08:00
|
|
|
|
2024-12-10 16:02:12 +01:00
|
|
|
# elif _LIBCPP_STD_VER >= 17
|
2024-10-30 09:49:26 +08:00
|
|
|
|
2025-01-08 17:12:59 +01:00
|
|
|
using __standard_header_ctgmath _LIBCPP_DEPRECATED_("Include <cmath> and <complex> instead.") _LIBCPP_NODEBUG = void;
|
|
|
|
using __use_standard_header_ctgmath _LIBCPP_NODEBUG = __standard_header_ctgmath;
|
2024-10-30 09:49:26 +08:00
|
|
|
|
2024-12-10 16:02:12 +01:00
|
|
|
# endif
|
|
|
|
|
2024-12-21 13:01:48 +01:00
|
|
|
#endif // __cplusplus < 201103L && defined(_LIBCPP_USE_FROZEN_CXX03_HEADERS)
|
2024-10-30 09:49:26 +08:00
|
|
|
|
2021-04-20 12:03:32 -04:00
|
|
|
#endif // _LIBCPP_CTGMATH
|