clang 20.0.0git
Classes | Functions
std Namespace Reference

Classes

struct  is_error_code_enum< clang::BuildPreambleError >
 
struct  is_error_code_enum< clang::format::ParseError >
 
struct  is_error_code_enum< clang::serialized_diags::SDError >
 
struct  iterator_traits< typename llvm::ImmutableList< CritSectionMarker >::iterator >
 

Functions

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

Function Documentation

◆ __sqr()

template<class _Tp >
std::complex< _Tp > std::__sqr ( const std::complex< _Tp > &  __x)

Definition at line 165 of file complex_cmath.h.

Referenced by acos(), acosh(), and asinh().

◆ abs()

template<class _Tp >
__DEVICE__ _Tp std::abs ( const std::complex< _Tp > &  __c)

Definition at line 34 of file complex_cmath.h.

References __c, and hypot.

Referenced by acos(), acosh(), atanh(), cosh(), clang::isStackNearlyExhausted(), log(), norm(), and sqrt().

◆ acos()

template<class _Tp >
__DEVICE__ std::complex< _Tp > std::acos ( const std::complex< _Tp > &  __x)

Definition at line 325 of file complex_cmath.h.

References __sqr(), abs(), atan2, isnan(), log, signbit(), and sqrt.

◆ acosh()

template<class _Tp >
__DEVICE__ std::complex< _Tp > std::acosh ( const std::complex< _Tp > &  __x)

Definition at line 202 of file complex_cmath.h.

References __sqr(), abs(), atan2, copysign, log, and sqrt.

◆ arg() [1/3]

template<class _Tp >
enable_if< is_integral< _Tp >::value||is_same< _Tp, double >::value, double >::type std::arg ( _Tp  __re)

Definition at line 47 of file complex_cmath.h.

References atan2.

◆ arg() [2/3]

template<class _Tp >
enable_if< is_same< _Tp, float >::value, float >::type std::arg ( _Tp  __re)

Definition at line 52 of file complex_cmath.h.

References atan2f().

◆ arg() [3/3]

template<class _Tp >
__DEVICE__ _Tp std::arg ( const std::complex< _Tp > &  __c)

Definition at line 40 of file complex_cmath.h.

References __c, and atan2.

Referenced by log(), and sqrt().

◆ asin()

template<class _Tp >
__DEVICE__ std::complex< _Tp > std::asin ( const std::complex< _Tp > &  __x)

Definition at line 317 of file complex_cmath.h.

References asinh.

◆ asinh()

template<class _Tp >
__DEVICE__ std::complex< _Tp > std::asinh ( const std::complex< _Tp > &  __x)

Definition at line 174 of file complex_cmath.h.

References __sqr(), atan2, copysign, log, and sqrt.

◆ atan()

template<class _Tp >
__DEVICE__ std::complex< _Tp > std::atan ( const std::complex< _Tp > &  __x)

Definition at line 359 of file complex_cmath.h.

References atanh.

◆ atanh()

template<class _Tp >
__DEVICE__ std::complex< _Tp > std::atanh ( const std::complex< _Tp > &  __x)

Definition at line 235 of file complex_cmath.h.

References abs(), atan2, copysign, INFINITY, and log.

◆ conj()

template<class _Tp >
std::complex< _Tp > std::conj ( const std::complex< _Tp > &  __c)

Definition at line 68 of file complex_cmath.h.

References __c.

◆ cos()

template<class _Tp >
std::complex< _Tp > std::cos ( const std::complex< _Tp > &  __x)

Definition at line 374 of file complex_cmath.h.

References cosh.

◆ cosh()

template<class _Tp >
__DEVICE__ std::complex< _Tp > std::cosh ( const std::complex< _Tp > &  __x)

Definition at line 279 of file complex_cmath.h.

References abs(), cos, cosh, NAN, sin, and sinh.

◆ exp()

template<class _Tp >
__DEVICE__ std::complex< _Tp > std::exp ( const std::complex< _Tp > &  __x)

Definition at line 138 of file complex_cmath.h.

References cos, exp, NAN, and sin.

◆ log()

template<class _Tp >
std::complex< _Tp > std::log ( const std::complex< _Tp > &  __x)

Definition at line 108 of file complex_cmath.h.

References abs(), arg(), and log.

◆ log10()

template<class _Tp >
std::complex< _Tp > std::log10 ( const std::complex< _Tp > &  __x)

Definition at line 114 of file complex_cmath.h.

References log.

◆ norm()

template<class _Tp >
__DEVICE__ _Tp std::norm ( const std::complex< _Tp > &  __c)

Definition at line 58 of file complex_cmath.h.

References __c, and abs().

◆ polar()

template<class _Tp >
complex< _Tp > std::polar ( const _Tp &  __rho,
const _Tp &  __theta = _Tp() 
)

Definition at line 84 of file complex_cmath.h.

References __y, cos, NAN, signbit(), and sin.

Referenced by sqrt().

◆ pow()

template<class _Tp >
std::complex< _Tp > std::pow ( const std::complex< _Tp > &  __x,
const std::complex< _Tp > &  __y 
)

Definition at line 158 of file complex_cmath.h.

References __y, exp, and log.

◆ proj()

template<class _Tp >
std::complex< _Tp > std::proj ( const std::complex< _Tp > &  __c)

Definition at line 74 of file complex_cmath.h.

References __c, copysign, and INFINITY.

◆ sin()

template<class _Tp >
__DEVICE__ std::complex< _Tp > std::sin ( const std::complex< _Tp > &  __x)

Definition at line 367 of file complex_cmath.h.

References sinh.

◆ sinh()

template<class _Tp >
__DEVICE__ std::complex< _Tp > std::sinh ( const std::complex< _Tp > &  __x)

Definition at line 265 of file complex_cmath.h.

References cos, cosh, NAN, sin, and sinh.

◆ sqrt()

template<class _Tp >
__DEVICE__ std::complex< _Tp > std::sqrt ( const std::complex< _Tp > &  __x)

Definition at line 121 of file complex_cmath.h.

References abs(), arg(), copysign, INFINITY, polar(), and sqrt.

◆ tan()

template<class _Tp >
__DEVICE__ std::complex< _Tp > std::tan ( const std::complex< _Tp > &  __x)

Definition at line 381 of file complex_cmath.h.

References tanh.

◆ tanh()

template<class _Tp >
__DEVICE__ std::complex< _Tp > std::tanh ( const std::complex< _Tp > &  __x)

Definition at line 295 of file complex_cmath.h.

References copysign, cos, cosh, sin, and sinh.