clang 22.0.0git
__clang_cuda_math_forward_declares.h File Reference

Go to the source code of this file.

Namespaces

namespace  std

Macros

#define __DEVICE__    static __inline__ __attribute__((always_inline)) __attribute__((device))
#define std::acos(__x)
#define std::acosh(__x)
#define std::asin(__x)
#define std::asinh(__x)
#define std::atan(__x)
#define std::atan2(__x, __y)
#define std::atanh(__x)
#define std::cbrt(__x)
#define std::ceil(__x)
#define std::copysign(__x, __y)
#define std::cos(__x)
#define std::cosh(__x)
#define std::erf(__x)
#define std::erfc(__x)
#define std::exp(__x)
#define std::exp2(__x)
#define std::expm1(__x)
#define std::fabs(__x)
#define std::fdim(__x, __y)
#define std::floor(__x)
#define std::fma(__x, __y, __z)
#define std::fmax(__x, __y)
#define std::fmin(__x, __y)
#define std::fmod(__x, __y)
#define std::frexp(__x, __y)
#define std::hypot(__x, __y)
#define std::ilogb(__x)
#define std::ldexp(__x, __y)
#define std::lgamma(__x)
#define std::llrint(__x)
#define std::log(__x)
#define std::log10(__x)
#define std::log1p(__x)
#define std::log2(__x)
#define std::logb(__x)
#define std::lrint(__x)
#define std::lround(__x)
#define std::llround(__x)
#define std::nearbyint(__x)
#define std::nextafter(__x, __y)
#define std::pow(__x, __y)
#define std::remainder(__x, __y)
#define std::remquo(__x, __y, __z)
#define std::rint(__x)
#define std::round(__x)
#define std::scalbln(__x, __y)
#define std::scalbn(__x, __y)
#define std::sin(__x)
#define std::sinh(__x)
#define std::sqrt(__x)
#define std::tan(__x)
#define std::tanh(__x)
#define std::tgamma(__x)
#define std::trunc(__x)

Functions

__DEVICE__ long abs (long)
__DEVICE__ long long abs (long long)
__DEVICE__ double abs (double)
__DEVICE__ float abs (float)
__DEVICE__ int abs (int)
__DEVICE__ double acos (double)
__DEVICE__ float acos (float)
__DEVICE__ double acosh (double)
__DEVICE__ float acosh (float)
__DEVICE__ double asin (double)
__DEVICE__ float asin (float)
__DEVICE__ double asinh (double)
__DEVICE__ float asinh (float)
__DEVICE__ double atan2 (double, double)
__DEVICE__ float atan2 (float, float)
__DEVICE__ double atan (double)
__DEVICE__ float atan (float)
__DEVICE__ double atanh (double)
__DEVICE__ float atanh (float)
__DEVICE__ double cbrt (double)
__DEVICE__ float cbrt (float)
__DEVICE__ double ceil (double)
__DEVICE__ float ceil (float)
__DEVICE__ double copysign (double, double)
__DEVICE__ float copysign (float, float)
__DEVICE__ double cos (double)
__DEVICE__ float cos (float)
__DEVICE__ double cosh (double)
__DEVICE__ float cosh (float)
__DEVICE__ double erfc (double)
__DEVICE__ float erfc (float)
__DEVICE__ double erf (double)
__DEVICE__ float erf (float)
__DEVICE__ double exp2 (double)
__DEVICE__ float exp2 (float)
__DEVICE__ double exp (double)
__DEVICE__ float exp (float)
__DEVICE__ double expm1 (double)
__DEVICE__ float expm1 (float)
__DEVICE__ double fabs (double)
__DEVICE__ float fabs (float)
__DEVICE__ double fdim (double, double)
__DEVICE__ float fdim (float, float)
__DEVICE__ double floor (double)
__DEVICE__ float floor (float)
__DEVICE__ double fma (double, double, double)
__DEVICE__ float fma (float, float, float)
__DEVICE__ double fmax (double, double)
__DEVICE__ float fmax (float, float)
__DEVICE__ double fmin (double, double)
__DEVICE__ float fmin (float, float)
__DEVICE__ double fmod (double, double)
__DEVICE__ float fmod (float, float)
__DEVICE__ int fpclassify (double)
__DEVICE__ int fpclassify (float)
__DEVICE__ double frexp (double, int *)
__DEVICE__ float frexp (float, int *)
__DEVICE__ double hypot (double, double)
__DEVICE__ float hypot (float, float)
__DEVICE__ int ilogb (double)
__DEVICE__ int ilogb (float)
__DEVICE__ bool isfinite (double)
__DEVICE__ bool isfinite (float)
__DEVICE__ bool isgreater (double, double)
__DEVICE__ bool isgreaterequal (double, double)
__DEVICE__ bool isgreaterequal (float, float)
__DEVICE__ bool isgreater (float, float)
__DEVICE__ bool isinf (double)
__DEVICE__ bool isinf (float)
__DEVICE__ bool isless (double, double)
__DEVICE__ bool islessequal (double, double)
__DEVICE__ bool islessequal (float, float)
__DEVICE__ bool isless (float, float)
__DEVICE__ bool islessgreater (double, double)
__DEVICE__ bool islessgreater (float, float)
__DEVICE__ bool isnan (double)
__DEVICE__ bool isnan (float)
__DEVICE__ bool isnormal (double)
__DEVICE__ bool isnormal (float)
__DEVICE__ bool isunordered (double, double)
__DEVICE__ bool isunordered (float, float)
__DEVICE__ long labs (long)
__DEVICE__ double ldexp (double, int)
__DEVICE__ float ldexp (float, int)
__DEVICE__ double lgamma (double)
__DEVICE__ float lgamma (float)
__DEVICE__ long long llabs (long long)
__DEVICE__ long long llrint (double)
__DEVICE__ long long llrint (float)
__DEVICE__ double log10 (double)
__DEVICE__ float log10 (float)
__DEVICE__ double log1p (double)
__DEVICE__ float log1p (float)
__DEVICE__ double log2 (double)
__DEVICE__ float log2 (float)
__DEVICE__ double logb (double)
__DEVICE__ float logb (float)
__DEVICE__ double log (double)
__DEVICE__ float log (float)
__DEVICE__ long lrint (double)
__DEVICE__ long lrint (float)
__DEVICE__ long lround (double)
__DEVICE__ long lround (float)
__DEVICE__ long long llround (float)
__DEVICE__ double modf (double, double *)
__DEVICE__ float modf (float, float *)
__DEVICE__ double nan (const char *)
__DEVICE__ float nanf (const char *)
__DEVICE__ double nearbyint (double)
__DEVICE__ float nearbyint (float)
__DEVICE__ double nextafter (double, double)
__DEVICE__ float nextafter (float, float)
__DEVICE__ double pow (double, double)
__DEVICE__ double pow (double, int)
__DEVICE__ float pow (float, float)
__DEVICE__ float pow (float, int)
__DEVICE__ double remainder (double, double)
__DEVICE__ float remainder (float, float)
__DEVICE__ double remquo (double, double, int *)
__DEVICE__ float remquo (float, float, int *)
__DEVICE__ double rint (double)
__DEVICE__ float rint (float)
__DEVICE__ double round (double)
__DEVICE__ float round (float)
__DEVICE__ double scalbln (double, long)
__DEVICE__ float scalbln (float, long)
__DEVICE__ double scalbn (double, int)
__DEVICE__ float scalbn (float, int)
__DEVICE__ bool signbit (double)
__DEVICE__ bool signbit (float)
__DEVICE__ double sin (double)
__DEVICE__ float sin (float)
__DEVICE__ double sinh (double)
__DEVICE__ float sinh (float)
__DEVICE__ double sqrt (double)
__DEVICE__ float sqrt (float)
__DEVICE__ double tan (double)
__DEVICE__ float tan (float)
__DEVICE__ double tanh (double)
__DEVICE__ float tanh (float)
__DEVICE__ double tgamma (double)
__DEVICE__ float tgamma (float)
__DEVICE__ double trunc (double)
__DEVICE__ float trunc (float)
__DEVICE__ long long std::abs (long long __n)
__DEVICE__ int std::fpclassify (float __x)
__DEVICE__ bool std::isfinite (float __x)
__DEVICE__ bool std::isgreater (float __x, float __y)
__DEVICE__ bool std::isgreaterequal (float __x, float __y)
__DEVICE__ bool std::isinf (float __x)
__DEVICE__ bool std::isless (float __x, float __y)
__DEVICE__ bool std::islessequal (float __x, float __y)
__DEVICE__ bool std::islessgreater (float __x, float __y)
__DEVICE__ bool std::isnan (float __x)
__DEVICE__ bool std::isnormal (float __x)
__DEVICE__ bool std::isunordered (float __x, float __y)
__DEVICE__ long std::labs (long __a)
__DEVICE__ long long std::llabs (long long __a)
__DEVICE__ float std::modf (float __x, float *__iptr)
__DEVICE__ double std::nan (const char *)
__DEVICE__ float std::nanf (const char *)
__DEVICE__ bool std::signbit (float __x)

Macro Definition Documentation

◆ __DEVICE__

#define __DEVICE__    static __inline__ __attribute__((always_inline)) __attribute__((device))

Definition at line 23 of file __clang_cuda_math_forward_declares.h.

Function Documentation

◆ abs() [1/5]

__DEVICE__ double abs ( double __x)

Definition at line 44 of file __clang_cuda_cmath.h.

References __DEVICE__.

◆ abs() [2/5]

__DEVICE__ float abs ( float __x)

Definition at line 43 of file __clang_cuda_cmath.h.

References __DEVICE__.

◆ abs() [3/5]

__DEVICE__ int abs ( int __a)

Definition at line 60 of file __clang_cuda_math.h.

◆ abs() [4/5]

◆ abs() [5/5]

__DEVICE__ long abs ( long __n)

Definition at line 42 of file __clang_cuda_cmath.h.

◆ acos() [1/2]

__DEVICE__ double acos ( double __a)

Definition at line 62 of file __clang_cuda_math.h.

References __a, __DEVICE__, and __nv_acos().

◆ acos() [2/2]

__DEVICE__ float acos ( float __x)

Definition at line 45 of file __clang_cuda_cmath.h.

◆ acosh() [1/2]

__DEVICE__ double acosh ( double __a)

Definition at line 64 of file __clang_cuda_math.h.

References __a, __DEVICE__, and __nv_acosh().

◆ acosh() [2/2]

__DEVICE__ float acosh ( float )

References __DEVICE__.

◆ asin() [1/2]

__DEVICE__ double asin ( double __a)

Definition at line 66 of file __clang_cuda_math.h.

References __a, __DEVICE__, and __nv_asin().

◆ asin() [2/2]

__DEVICE__ float asin ( float __x)

Definition at line 46 of file __clang_cuda_cmath.h.

◆ asinh() [1/2]

__DEVICE__ double asinh ( double __a)

Definition at line 68 of file __clang_cuda_math.h.

References __a, __DEVICE__, and __nv_asinh().

◆ asinh() [2/2]

__DEVICE__ float asinh ( float )

References __DEVICE__.

◆ atan() [1/2]

__DEVICE__ double atan ( double __a)

Definition at line 70 of file __clang_cuda_math.h.

References __a, __DEVICE__, and __nv_atan().

◆ atan() [2/2]

__DEVICE__ float atan ( float __x)

Definition at line 47 of file __clang_cuda_cmath.h.

◆ atan2() [1/2]

__DEVICE__ double atan2 ( double __a,
double __b )

Definition at line 71 of file __clang_cuda_math.h.

References __a, __b, __DEVICE__, __nv_atan2(), and __y.

◆ atan2() [2/2]

__DEVICE__ float atan2 ( float __x,
float __y )

Definition at line 48 of file __clang_cuda_cmath.h.

◆ atanh() [1/2]

__DEVICE__ double atanh ( double __a)

Definition at line 74 of file __clang_cuda_math.h.

References __a, __DEVICE__, and __nv_atanh().

◆ atanh() [2/2]

__DEVICE__ float atanh ( float )

References __DEVICE__.

◆ cbrt() [1/2]

__DEVICE__ double cbrt ( double __a)

Definition at line 76 of file __clang_cuda_math.h.

References __a, __DEVICE__, and __nv_cbrt().

◆ cbrt() [2/2]

References __DEVICE__.

◆ ceil() [1/2]

__DEVICE__ double ceil ( double __a)

Definition at line 78 of file __clang_cuda_math.h.

References __a, __DEVICE__, and __nv_ceil().

◆ ceil() [2/2]

__DEVICE__ float ceil ( float __x)

Definition at line 49 of file __clang_cuda_cmath.h.

◆ copysign() [1/2]

__DEVICE__ double copysign ( double __a,
double __b )

Definition at line 80 of file __clang_cuda_math.h.

References __a, __b, __DEVICE__, __nv_copysign(), and __y.

◆ copysign() [2/2]

__DEVICE__ float copysign ( float ,
float  )

References __DEVICE__.

◆ cos() [1/2]

__DEVICE__ double cos ( double __a)

Definition at line 86 of file __clang_cuda_math.h.

References __a, __DEVICE__, __nv_cos(), and __ocml_cos_f64().

◆ cos() [2/2]

__DEVICE__ float cos ( float __x)

Definition at line 50 of file __clang_cuda_cmath.h.

◆ cosh() [1/2]

__DEVICE__ double cosh ( double __a)

Definition at line 90 of file __clang_cuda_math.h.

References __a, __DEVICE__, and __nv_cosh().

◆ cosh() [2/2]

__DEVICE__ float cosh ( float __x)

Definition at line 51 of file __clang_cuda_cmath.h.

◆ erf() [1/2]

__DEVICE__ double erf ( double __a)

Definition at line 98 of file __clang_cuda_math.h.

References __a, __DEVICE__, and __nv_erf().

◆ erf() [2/2]

References __DEVICE__.

◆ erfc() [1/2]

__DEVICE__ double erfc ( double __a)

Definition at line 99 of file __clang_cuda_math.h.

References __a, __DEVICE__, and __nv_erfc().

◆ erfc() [2/2]

References __DEVICE__.

◆ exp() [1/2]

__DEVICE__ double exp ( double __a)

Definition at line 108 of file __clang_cuda_math.h.

References __a, __DEVICE__, and __nv_exp().

◆ exp() [2/2]

__DEVICE__ float exp ( float __x)

Definition at line 52 of file __clang_cuda_cmath.h.

◆ exp2() [1/2]

__DEVICE__ double exp2 ( double __a)

Definition at line 111 of file __clang_cuda_math.h.

References __a, __DEVICE__, and __nv_exp2().

◆ exp2() [2/2]

References __DEVICE__.

◆ expm1() [1/2]

__DEVICE__ double expm1 ( double __a)

Definition at line 114 of file __clang_cuda_math.h.

References __a, __DEVICE__, and __nv_expm1().

◆ expm1() [2/2]

__DEVICE__ float expm1 ( float )

References __DEVICE__.

◆ fabs() [1/2]

__DEVICE__ double fabs ( double __a)

Definition at line 61 of file __clang_cuda_math.h.

References __a, __DEVICE__, and __nv_fabs().

◆ fabs() [2/2]

__DEVICE__ float fabs ( float __x)

Definition at line 53 of file __clang_cuda_cmath.h.

◆ fdim() [1/2]

__DEVICE__ double fdim ( double __a,
double __b )

Definition at line 117 of file __clang_cuda_math.h.

References __a, __b, __DEVICE__, __nv_fdim(), and __y.

◆ fdim() [2/2]

__DEVICE__ float fdim ( float ,
float  )

References __DEVICE__.

◆ floor() [1/2]

__DEVICE__ double floor ( double __f)

Definition at line 127 of file __clang_cuda_math.h.

References __DEVICE__, and __nv_floor().

◆ floor() [2/2]

__DEVICE__ float floor ( float __x)

Definition at line 54 of file __clang_cuda_cmath.h.

◆ fma() [1/2]

__DEVICE__ double fma ( double __a,
double __b,
double __c )

Definition at line 129 of file __clang_cuda_math.h.

References __a, __b, __c, __DEVICE__, __nv_fma(), and __y.

◆ fma() [2/2]

__DEVICE__ float fma ( float ,
float ,
float  )

References __DEVICE__.

◆ fmax() [1/2]

__DEVICE__ double fmax ( double __a,
double __b )

Definition at line 135 of file __clang_cuda_math.h.

References __a, __b, __DEVICE__, __nv_fmax(), and __y.

◆ fmax() [2/2]

__DEVICE__ float fmax ( float ,
float  )

References __DEVICE__.

◆ fmin() [1/2]

__DEVICE__ double fmin ( double __a,
double __b )

Definition at line 137 of file __clang_cuda_math.h.

References __a, __b, __DEVICE__, __nv_fmin(), and __y.

◆ fmin() [2/2]

__DEVICE__ float fmin ( float ,
float  )

References __DEVICE__.

◆ fmod() [1/2]

__DEVICE__ double fmod ( double __a,
double __b )

Definition at line 139 of file __clang_cuda_math.h.

References __a, __b, __DEVICE__, __nv_fmod(), and __y.

◆ fmod() [2/2]

__DEVICE__ float fmod ( float __x,
float __y )

Definition at line 55 of file __clang_cuda_cmath.h.

◆ fpclassify() [1/2]

__DEVICE__ int fpclassify ( double __x)

Definition at line 60 of file __clang_cuda_cmath.h.

References __DEVICE__.

◆ fpclassify() [2/2]

__DEVICE__ int fpclassify ( float __x)

Definition at line 56 of file __clang_cuda_cmath.h.

References __DEVICE__.

Referenced by __CUDA_CLANG_FN_INTEGER_OVERLOAD_2(), and trunc().

◆ frexp() [1/2]

__DEVICE__ double frexp ( double __a,
int * __b )

Definition at line 141 of file __clang_cuda_math.h.

References __a, __b, __DEVICE__, and __nv_frexp().

◆ frexp() [2/2]

__DEVICE__ float frexp ( float __arg,
int * __exp )

Definition at line 64 of file __clang_cuda_cmath.h.

References __DEVICE__.

◆ hypot() [1/2]

__DEVICE__ double hypot ( double __a,
double __b )

Definition at line 143 of file __clang_cuda_math.h.

References __a, __b, __DEVICE__, __nv_hypot(), and __y.

◆ hypot() [2/2]

__DEVICE__ float hypot ( float ,
float  )

References __DEVICE__.

◆ ilogb() [1/2]

__DEVICE__ int ilogb ( double __a)

Definition at line 145 of file __clang_cuda_math.h.

References __a, __DEVICE__, and __nv_ilogb().

◆ ilogb() [2/2]

__DEVICE__ int ilogb ( float )

References __DEVICE__.

◆ isfinite() [1/2]

__DEVICE__ bool isfinite ( double __x)

Definition at line 107 of file __clang_cuda_cmath.h.

References __DEVICE__.

◆ isfinite() [2/2]

__DEVICE__ bool isfinite ( float __x)

Definition at line 103 of file __clang_cuda_cmath.h.

◆ isgreater() [1/2]

__DEVICE__ bool isgreater ( double __x,
double __y )

Definition at line 120 of file __clang_cuda_cmath.h.

References __DEVICE__, and __y.

◆ isgreater() [2/2]

__DEVICE__ bool isgreater ( float __x,
float __y )

Definition at line 117 of file __clang_cuda_cmath.h.

◆ isgreaterequal() [1/2]

__DEVICE__ bool isgreaterequal ( double __x,
double __y )

Definition at line 126 of file __clang_cuda_cmath.h.

References __DEVICE__, and __y.

◆ isgreaterequal() [2/2]

__DEVICE__ bool isgreaterequal ( float __x,
float __y )

Definition at line 123 of file __clang_cuda_cmath.h.

◆ isinf() [1/2]

__DEVICE__ bool isinf ( double __x)

Definition at line 102 of file __clang_cuda_cmath.h.

References __DEVICE__.

◆ isinf() [2/2]

__DEVICE__ bool isinf ( float __x)

Definition at line 101 of file __clang_cuda_cmath.h.

◆ isless() [1/2]

__DEVICE__ bool isless ( double __x,
double __y )

Definition at line 132 of file __clang_cuda_cmath.h.

References __DEVICE__, and __y.

◆ isless() [2/2]

__DEVICE__ bool isless ( float __x,
float __y )

Definition at line 129 of file __clang_cuda_cmath.h.

◆ islessequal() [1/2]

__DEVICE__ bool islessequal ( double __x,
double __y )

Definition at line 138 of file __clang_cuda_cmath.h.

References __DEVICE__, and __y.

◆ islessequal() [2/2]

__DEVICE__ bool islessequal ( float __x,
float __y )

Definition at line 135 of file __clang_cuda_cmath.h.

◆ islessgreater() [1/2]

__DEVICE__ bool islessgreater ( double __x,
double __y )

Definition at line 144 of file __clang_cuda_cmath.h.

References __DEVICE__, and __y.

◆ islessgreater() [2/2]

__DEVICE__ bool islessgreater ( float __x,
float __y )

Definition at line 141 of file __clang_cuda_cmath.h.

◆ isnan() [1/2]

__DEVICE__ bool isnan ( double __x)

Definition at line 109 of file __clang_cuda_cmath.h.

References __DEVICE__.

◆ isnan() [2/2]

__DEVICE__ bool isnan ( float __x)

Definition at line 108 of file __clang_cuda_cmath.h.

◆ isnormal() [1/2]

__DEVICE__ bool isnormal ( double __x)

Definition at line 148 of file __clang_cuda_cmath.h.

References __DEVICE__.

◆ isnormal() [2/2]

__DEVICE__ bool isnormal ( float __x)

Definition at line 147 of file __clang_cuda_cmath.h.

◆ isunordered() [1/2]

__DEVICE__ bool isunordered ( double __x,
double __y )

Definition at line 152 of file __clang_cuda_cmath.h.

References __DEVICE__, and __y.

◆ isunordered() [2/2]

__DEVICE__ bool isunordered ( float __x,
float __y )

Definition at line 149 of file __clang_cuda_cmath.h.

◆ labs()

__DEVICE__ long labs ( long __a)

Definition at line 156 of file __clang_cuda_math.h.

References __a, __DEVICE__, __nv_abs(), and CHAR_BIT.

Referenced by trunc().

◆ ldexp() [1/2]

__DEVICE__ double ldexp ( double __a,
int __b )

Definition at line 158 of file __clang_cuda_math.h.

References __a, __b, __DEVICE__, and __nv_ldexp().

◆ ldexp() [2/2]

__DEVICE__ float ldexp ( float __arg,
int __exp )

Definition at line 155 of file __clang_cuda_cmath.h.

◆ lgamma() [1/2]

__DEVICE__ double lgamma ( double __a)

Definition at line 160 of file __clang_cuda_math.h.

References __a, __DEVICE__, __nv_lgamma(), and __ocml_lgamma_f64().

◆ lgamma() [2/2]

__DEVICE__ float lgamma ( float )

References __DEVICE__.

◆ llabs()

__DEVICE__ long long llabs ( long long __a)

Definition at line 162 of file __clang_cuda_math.h.

References __a, __DEVICE__, __nv_llabs(), and CHAR_BIT.

Referenced by trunc().

◆ llrint() [1/2]

__DEVICE__ long long llrint ( double __a)

Definition at line 169 of file __clang_cuda_math.h.

References __a, __DEVICE__, and __nv_llrint().

◆ llrint() [2/2]

__DEVICE__ long long llrint ( float )

References __DEVICE__.

◆ llround()

__DEVICE__ long long llround ( float )

References __DEVICE__.

◆ log() [1/2]

__DEVICE__ double log ( double __a)

Definition at line 175 of file __clang_cuda_math.h.

References __a, __DEVICE__, and __nv_log().

◆ log() [2/2]

__DEVICE__ float log ( float __x)

Definition at line 158 of file __clang_cuda_cmath.h.

◆ log10() [1/2]

__DEVICE__ double log10 ( double __a)

Definition at line 176 of file __clang_cuda_math.h.

References __a, __DEVICE__, and __nv_log10().

◆ log10() [2/2]

__DEVICE__ float log10 ( float __x)

Definition at line 159 of file __clang_cuda_cmath.h.

◆ log1p() [1/2]

__DEVICE__ double log1p ( double __a)

Definition at line 178 of file __clang_cuda_math.h.

References __a, __DEVICE__, and __nv_log1p().

◆ log1p() [2/2]

__DEVICE__ float log1p ( float )

References __DEVICE__.

◆ log2() [1/2]

__DEVICE__ double log2 ( double __a)

Definition at line 180 of file __clang_cuda_math.h.

References __a, __DEVICE__, and __nv_log2().

◆ log2() [2/2]

References __DEVICE__.

◆ logb() [1/2]

__DEVICE__ double logb ( double __a)

Definition at line 184 of file __clang_cuda_math.h.

References __a, __DEVICE__, and __nv_logb().

◆ logb() [2/2]

References __DEVICE__.

◆ lrint() [1/2]

__DEVICE__ long lrint ( double __a)

Definition at line 195 of file __clang_cuda_math.h.

References __a, __DEVICE__, and rint.

◆ lrint() [2/2]

__DEVICE__ long lrint ( float )

References __DEVICE__.

◆ lround() [1/2]

__DEVICE__ long lround ( double __a)

Definition at line 197 of file __clang_cuda_math.h.

References __a, __DEVICE__, and round.

◆ lround() [2/2]

__DEVICE__ long lround ( float )

References __DEVICE__.

◆ modf() [1/2]

__DEVICE__ double modf ( double __a,
double * __b )

Definition at line 202 of file __clang_cuda_math.h.

References __a, __b, __DEVICE__, __nv_modf(), __ocml_modf_f64(), and __PRIVATE_AS.

◆ modf() [2/2]

__DEVICE__ float modf ( float __x,
float * __iptr )

Definition at line 160 of file __clang_cuda_cmath.h.

References __DEVICE__.

Referenced by mutateLongDoubleBuiltin(), and trunc().

◆ nan()

__DEVICE__ double nan ( const char * __tagp)

Definition at line 925 of file __clang_hip_math.h.

References __make_mantissa(), __static_assert_type_size_equal, and sign().

Referenced by mutateLongDoubleBuiltin(), and trunc().

◆ nanf()

__DEVICE__ float nanf ( const char * )

References __DEVICE__.

Referenced by trunc().

◆ nearbyint() [1/2]

__DEVICE__ double nearbyint ( double __a)

Definition at line 204 of file __clang_cuda_math.h.

References __a, and __DEVICE__.

◆ nearbyint() [2/2]

__DEVICE__ float nearbyint ( float )

References __DEVICE__.

◆ nextafter() [1/2]

__DEVICE__ double nextafter ( double __a,
double __b )

Definition at line 206 of file __clang_cuda_math.h.

References __a, __b, __DEVICE__, __nv_nextafter(), and __y.

◆ nextafter() [2/2]

__DEVICE__ float nextafter ( float ,
float  )

References __DEVICE__.

◆ pow() [1/4]

__DEVICE__ double pow ( double __a,
double __b )

Definition at line 234 of file __clang_cuda_math.h.

References __a, __b, __DEVICE__, __nv_pow(), and __y.

◆ pow() [2/4]

__DEVICE__ double pow ( double __base,
int __iexp )

Definition at line 167 of file __clang_cuda_cmath.h.

References __DEVICE__.

◆ pow() [3/4]

__DEVICE__ float pow ( float __base,
float __exp )

Definition at line 161 of file __clang_cuda_cmath.h.

◆ pow() [4/4]

__DEVICE__ float pow ( float __base,
int __iexp )

Definition at line 164 of file __clang_cuda_cmath.h.

References __DEVICE__.

◆ remainder() [1/2]

__DEVICE__ double remainder ( double __a,
double __b )

Definition at line 240 of file __clang_cuda_math.h.

References __a, __b, __DEVICE__, __nv_remainder(), and __y.

◆ remainder() [2/2]

__DEVICE__ float remainder ( float ,
float  )

References __DEVICE__.

◆ remquo() [1/2]

__DEVICE__ double remquo ( double __a,
double __b,
int * __c )

Definition at line 246 of file __clang_cuda_math.h.

References __a, __b, __c, __DEVICE__, __nv_remquo(), __ocml_remquo_f64(), __PRIVATE_AS, and __y.

◆ remquo() [2/2]

__DEVICE__ float remquo ( float ,
float ,
int *  )

References __DEVICE__.

◆ rint() [1/2]

__DEVICE__ double rint ( double __a)

Definition at line 259 of file __clang_cuda_math.h.

References __a, and __DEVICE__.

◆ rint() [2/2]

References __DEVICE__.

◆ round() [1/2]

__DEVICE__ double round ( double __a)

Definition at line 173 of file __clang_cuda_math.h.

References __a, __DEVICE__, and __nv_round().

◆ round() [2/2]

__DEVICE__ float round ( float )

References __DEVICE__.

◆ scalbln() [1/2]

__DEVICE__ double scalbln ( double __a,
long __b )

Definition at line 283 of file __clang_cuda_math.h.

References __a, __b, __DEVICE__, HUGE_VAL, INT_MAX, INT_MIN, and scalbn.

◆ scalbln() [2/2]

__DEVICE__ float scalbln ( float ,
long  )

References __DEVICE__.

◆ scalbn() [1/2]

__DEVICE__ double scalbn ( double __a,
int __b )

Definition at line 281 of file __clang_cuda_math.h.

References __a, __b, __DEVICE__, and __nv_scalbn().

◆ scalbn() [2/2]

__DEVICE__ float scalbn ( float ,
int  )

References __DEVICE__.

◆ signbit() [1/2]

__DEVICE__ bool signbit ( double __x)

Definition at line 171 of file __clang_cuda_cmath.h.

References __DEVICE__.

◆ signbit() [2/2]

__DEVICE__ bool signbit ( float __x)

Definition at line 170 of file __clang_cuda_cmath.h.

◆ sin() [1/2]

__DEVICE__ double sin ( double __a)

Definition at line 297 of file __clang_cuda_math.h.

References __a, __DEVICE__, __nv_sin(), and __ocml_sin_f64().

◆ sin() [2/2]

__DEVICE__ float sin ( float __x)

Definition at line 172 of file __clang_cuda_cmath.h.

◆ sinh() [1/2]

__DEVICE__ double sinh ( double __a)

Definition at line 313 of file __clang_cuda_math.h.

References __a, __DEVICE__, and __nv_sinh().

◆ sinh() [2/2]

__DEVICE__ float sinh ( float __x)

Definition at line 173 of file __clang_cuda_cmath.h.

◆ sqrt() [1/2]

__DEVICE__ double sqrt ( double __a)

Definition at line 317 of file __clang_cuda_math.h.

References __a, __DEVICE__, and __nv_sqrt().

◆ sqrt() [2/2]

__DEVICE__ float sqrt ( float __x)

Definition at line 174 of file __clang_cuda_cmath.h.

◆ tan() [1/2]

__DEVICE__ double tan ( double __a)

Definition at line 319 of file __clang_cuda_math.h.

References __a, __DEVICE__, __nv_tan(), and __ocml_tan_f64().

◆ tan() [2/2]

__DEVICE__ float tan ( float __x)

Definition at line 175 of file __clang_cuda_cmath.h.

◆ tanh() [1/2]

__DEVICE__ double tanh ( double __a)

Definition at line 321 of file __clang_cuda_math.h.

References __a, __DEVICE__, and __nv_tanh().

◆ tanh() [2/2]

__DEVICE__ float tanh ( float __x)

Definition at line 176 of file __clang_cuda_cmath.h.

◆ tgamma() [1/2]

__DEVICE__ double tgamma ( double __a)

Definition at line 323 of file __clang_cuda_math.h.

References __a, __DEVICE__, __nv_tgamma(), and __ocml_tgamma_f64().

◆ tgamma() [2/2]

__DEVICE__ float tgamma ( float )

References __DEVICE__.

◆ trunc() [1/2]

__DEVICE__ double trunc ( double __a)

Definition at line 325 of file __clang_cuda_math.h.

References __a, __DEVICE__, and __nv_trunc().

◆ trunc() [2/2]