clang 20.0.0git
Namespaces | Macros | Functions
complex_cmath.h File Reference
#include <cmath>
#include <type_traits>

Go to the source code of this file.

Namespaces

namespace  std
 

Macros

#define __DEVICE__   static constexpr __attribute__((nothrow))
 
#define CXX20_CONSTEXPR_DEVICE
 

Functions

template<class _Tp >
__DEVICE__ _Tp std::abs (const std::complex< _Tp > &__c)
 
template<class _Tp >
__DEVICE__ _Tp std::arg (const std::complex< _Tp > &__c)
 
template<class _Tp >
enable_if< is_integral< _Tp >::value||is_same< _Tp, double >::value, double >::type std::arg (_Tp __re)
 
template<class _Tp >
enable_if< is_same< _Tp, float >::value, float >::type std::arg (_Tp __re)
 
template<class _Tp >
__DEVICE__ _Tp std::norm (const std::complex< _Tp > &__c)
 
template<class _Tp >
CXX20_CONSTEXPR_DEVICE std::complex< _Tp > std::conj (const std::complex< _Tp > &__c)
 
template<class _Tp >
std::complex< _Tp > std::proj (const std::complex< _Tp > &__c)
 
template<class _Tp >
complex< _Tp > std::polar (const _Tp &__rho, const _Tp &__theta=_Tp())
 
template<class _Tp >
std::complex< _Tp > std::log (const std::complex< _Tp > &__x)
 
template<class _Tp >
std::complex< _Tp > std::log10 (const std::complex< _Tp > &__x)
 
template<class _Tp >
__DEVICE__ std::complex< _Tp > std::sqrt (const std::complex< _Tp > &__x)
 
template<class _Tp >
__DEVICE__ std::complex< _Tp > std::exp (const std::complex< _Tp > &__x)
 
template<class _Tp >
std::complex< _Tp > std::pow (const std::complex< _Tp > &__x, const std::complex< _Tp > &__y)
 
template<class _Tp >
std::complex< _Tp > std::__sqr (const std::complex< _Tp > &__x)
 
template<class _Tp >
__DEVICE__ std::complex< _Tp > std::asinh (const std::complex< _Tp > &__x)
 
template<class _Tp >
__DEVICE__ std::complex< _Tp > std::acosh (const std::complex< _Tp > &__x)
 
template<class _Tp >
__DEVICE__ std::complex< _Tp > std::atanh (const std::complex< _Tp > &__x)
 
template<class _Tp >
__DEVICE__ std::complex< _Tp > std::sinh (const std::complex< _Tp > &__x)
 
template<class _Tp >
__DEVICE__ std::complex< _Tp > std::cosh (const std::complex< _Tp > &__x)
 
template<class _Tp >
__DEVICE__ std::complex< _Tp > std::tanh (const std::complex< _Tp > &__x)
 
template<class _Tp >
__DEVICE__ std::complex< _Tp > std::asin (const std::complex< _Tp > &__x)
 
template<class _Tp >
__DEVICE__ std::complex< _Tp > std::acos (const std::complex< _Tp > &__x)
 
template<class _Tp >
__DEVICE__ std::complex< _Tp > std::atan (const std::complex< _Tp > &__x)
 
template<class _Tp >
__DEVICE__ std::complex< _Tp > std::sin (const std::complex< _Tp > &__x)
 
template<class _Tp >
std::complex< _Tp > std::cos (const std::complex< _Tp > &__x)
 
template<class _Tp >
__DEVICE__ std::complex< _Tp > std::tan (const std::complex< _Tp > &__x)
 

Macro Definition Documentation

◆ __DEVICE__

#define __DEVICE__   static constexpr __attribute__((nothrow))

Definition at line 28 of file complex_cmath.h.

◆ CXX20_CONSTEXPR_DEVICE

#define CXX20_CONSTEXPR_DEVICE

Definition at line 70 of file complex_cmath.h.