2010-05-11 11:42:16 -08:00
|
|
|
// -*- C++ -*-
|
2021-11-17 12:25:01 -09:00
|
|
|
//===----------------------------------------------------------------------===//
|
2010-05-11 11:42:16 -08:00
|
|
|
//
|
2019-01-19 01:56:40 -09: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 11:42:16 -08:00
|
|
|
//
|
|
|
|
|
//===----------------------------------------------------------------------===//
|
|
|
|
|
|
|
|
|
|
#ifndef _LIBCPP_CTGMATH
|
|
|
|
|
#define _LIBCPP_CTGMATH
|
|
|
|
|
|
|
|
|
|
/*
|
|
|
|
|
ctgmath synopsis
|
|
|
|
|
|
|
|
|
|
#include <ccomplex>
|
|
|
|
|
#include <cmath>
|
|
|
|
|
|
|
|
|
|
*/
|
|
|
|
|
|
2024-12-21 03:01:48 -09:00
|
|
|
#if __cplusplus < 201103L && defined(_LIBCPP_USE_FROZEN_CXX03_HEADERS)
|
|
|
|
|
# include <__cxx03/ctgmath>
|
|
|
|
|
#else
|
2024-12-10 06:02:12 -09:00
|
|
|
# include <cmath>
|
|
|
|
|
# include <complex>
|
2010-05-11 11:42:16 -08:00
|
|
|
|
2024-12-10 06:02:12 -09:00
|
|
|
# if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
|
|
|
|
|
# pragma GCC system_header
|
|
|
|
|
# endif
|
2010-05-11 11:42:16 -08:00
|
|
|
|
2025-11-18 06:05:53 -09:00
|
|
|
# if _LIBCPP_STD_VER >= 17 && !__building_module(std) && _LIBCPP_DIAGNOSE_DEPRECATED_HEADERS
|
|
|
|
|
# warning <ctgmath> is deprecated in C++17 and removed in C++20. Include <cmath> and <complex> instead.
|
2024-12-10 06:02:12 -09:00
|
|
|
# endif
|
|
|
|
|
|
2024-12-21 03:01:48 -09:00
|
|
|
#endif // __cplusplus < 201103L && defined(_LIBCPP_USE_FROZEN_CXX03_HEADERS)
|
2024-10-29 17:49:26 -08:00
|
|
|
|
2021-04-20 08:03:32 -08:00
|
|
|
#endif // _LIBCPP_CTGMATH
|