clang 20.0.0git
|
Go to the source code of this file.
Namespaces | |
namespace | std |
Macros | |
#define | __DEVICE__ static __inline__ __attribute__((always_inline)) __attribute__((device)) |
#define __DEVICE__ static __inline__ __attribute__((always_inline)) __attribute__((device)) |
Definition at line 23 of file __clang_cuda_math_forward_declares.h.
__DEVICE__ double abs | ( | double | __x | ) |
Definition at line 44 of file __clang_cuda_cmath.h.
__DEVICE__ float abs | ( | float | __x | ) |
Definition at line 43 of file __clang_cuda_cmath.h.
__DEVICE__ int abs | ( | int | __a | ) |
Definition at line 60 of file __clang_cuda_math.h.
__DEVICE__ long long abs | ( | long long | __n | ) |
Definition at line 41 of file __clang_cuda_cmath.h.
Referenced by clang::comments::CommandTraits::getTypoCorrectCommandInfo(), HandleComplexComplexDiv(), HelperSelectorsForTypoCorrection(), and clang::ento::shouldCompletelyUnroll().
__DEVICE__ long abs | ( | long | __n | ) |
Definition at line 42 of file __clang_cuda_cmath.h.
__DEVICE__ double acos | ( | double | __a | ) |
Definition at line 62 of file __clang_cuda_math.h.
References __a, and __nv_acos().
__DEVICE__ float acos | ( | float | __x | ) |
Definition at line 45 of file __clang_cuda_cmath.h.
__DEVICE__ double acosh | ( | double | __a | ) |
Definition at line 64 of file __clang_cuda_math.h.
References __a, and __nv_acosh().
__DEVICE__ float acosh | ( | float | ) |
__DEVICE__ double asin | ( | double | __a | ) |
Definition at line 66 of file __clang_cuda_math.h.
References __a, and __nv_asin().
__DEVICE__ float asin | ( | float | __x | ) |
Definition at line 46 of file __clang_cuda_cmath.h.
__DEVICE__ double asinh | ( | double | __a | ) |
Definition at line 68 of file __clang_cuda_math.h.
References __a, and __nv_asinh().
__DEVICE__ float asinh | ( | float | ) |
__DEVICE__ double atan | ( | double | __a | ) |
Definition at line 70 of file __clang_cuda_math.h.
References __a, and __nv_atan().
__DEVICE__ float atan | ( | float | __x | ) |
Definition at line 47 of file __clang_cuda_cmath.h.
__DEVICE__ double atan2 | ( | double | __a, |
double | __b | ||
) |
Definition at line 71 of file __clang_cuda_math.h.
References __a, __b, __nv_atan2(), and __y.
__DEVICE__ float atan2 | ( | float | __x, |
float | __y | ||
) |
Definition at line 48 of file __clang_cuda_cmath.h.
__DEVICE__ double atanh | ( | double | __a | ) |
Definition at line 74 of file __clang_cuda_math.h.
References __a, and __nv_atanh().
__DEVICE__ float atanh | ( | float | ) |
__DEVICE__ double cbrt | ( | double | __a | ) |
Definition at line 76 of file __clang_cuda_math.h.
References __a, and __nv_cbrt().
__DEVICE__ float cbrt | ( | float | ) |
__DEVICE__ double ceil | ( | double | __a | ) |
Definition at line 78 of file __clang_cuda_math.h.
References __a, and __nv_ceil().
__DEVICE__ float ceil | ( | float | __x | ) |
Definition at line 49 of file __clang_cuda_cmath.h.
__DEVICE__ double copysign | ( | double | __a, |
double | __b | ||
) |
Definition at line 80 of file __clang_cuda_math.h.
References __a, __b, __nv_copysign(), and __y.
__DEVICE__ float copysign | ( | float | , |
float | |||
) |
__DEVICE__ double cos | ( | double | __a | ) |
Definition at line 86 of file __clang_cuda_math.h.
References __a, __nv_cos(), and __ocml_cos_f64().
__DEVICE__ float cos | ( | float | __x | ) |
Definition at line 50 of file __clang_cuda_cmath.h.
__DEVICE__ double cosh | ( | double | __a | ) |
Definition at line 90 of file __clang_cuda_math.h.
References __a, and __nv_cosh().
__DEVICE__ float cosh | ( | float | __x | ) |
Definition at line 51 of file __clang_cuda_cmath.h.
__DEVICE__ double erf | ( | double | __a | ) |
Definition at line 98 of file __clang_cuda_math.h.
References __a, and __nv_erf().
__DEVICE__ float erf | ( | float | ) |
__DEVICE__ double erfc | ( | double | __a | ) |
Definition at line 99 of file __clang_cuda_math.h.
References __a, and __nv_erfc().
__DEVICE__ float erfc | ( | float | ) |
__DEVICE__ double exp | ( | double | __a | ) |
Definition at line 108 of file __clang_cuda_math.h.
References __a, and __nv_exp().
__DEVICE__ float exp | ( | float | __x | ) |
Definition at line 52 of file __clang_cuda_cmath.h.
__DEVICE__ double exp2 | ( | double | __a | ) |
Definition at line 111 of file __clang_cuda_math.h.
References __a, and __nv_exp2().
__DEVICE__ float exp2 | ( | float | ) |
__DEVICE__ double expm1 | ( | double | __a | ) |
Definition at line 114 of file __clang_cuda_math.h.
References __a, and __nv_expm1().
__DEVICE__ float expm1 | ( | float | ) |
__DEVICE__ double fabs | ( | double | __a | ) |
Definition at line 61 of file __clang_cuda_math.h.
References __a, and __nv_fabs().
__DEVICE__ float fabs | ( | float | __x | ) |
Definition at line 53 of file __clang_cuda_cmath.h.
__DEVICE__ double fdim | ( | double | __a, |
double | __b | ||
) |
Definition at line 117 of file __clang_cuda_math.h.
References __a, __b, __nv_fdim(), and __y.
__DEVICE__ float fdim | ( | float | , |
float | |||
) |
__DEVICE__ double floor | ( | double | __f | ) |
Definition at line 127 of file __clang_cuda_math.h.
References __nv_floor().
__DEVICE__ float floor | ( | float | __x | ) |
Definition at line 54 of file __clang_cuda_cmath.h.
__DEVICE__ double fma | ( | double | __a, |
double | __b, | ||
double | __c | ||
) |
Definition at line 129 of file __clang_cuda_math.h.
References __a, __b, __c, __nv_fma(), and __y.
__DEVICE__ float fma | ( | float | , |
float | , | ||
float | |||
) |
__DEVICE__ double fmax | ( | double | __a, |
double | __b | ||
) |
Definition at line 135 of file __clang_cuda_math.h.
References __a, __b, __nv_fmax(), and __y.
__DEVICE__ float fmax | ( | float | , |
float | |||
) |
__DEVICE__ double fmin | ( | double | __a, |
double | __b | ||
) |
Definition at line 137 of file __clang_cuda_math.h.
References __a, __b, __nv_fmin(), and __y.
__DEVICE__ float fmin | ( | float | , |
float | |||
) |
__DEVICE__ double fmod | ( | double | __a, |
double | __b | ||
) |
Definition at line 139 of file __clang_cuda_math.h.
References __a, __b, __nv_fmod(), and __y.
__DEVICE__ float fmod | ( | float | __x, |
float | __y | ||
) |
Definition at line 55 of file __clang_cuda_cmath.h.
__DEVICE__ int fpclassify | ( | double | __x | ) |
Definition at line 60 of file __clang_cuda_cmath.h.
__DEVICE__ int fpclassify | ( | float | __x | ) |
Definition at line 56 of file __clang_cuda_cmath.h.
__DEVICE__ double frexp | ( | double | __a, |
int * | __b | ||
) |
Definition at line 141 of file __clang_cuda_math.h.
References __a, __b, and __nv_frexp().
__DEVICE__ float frexp | ( | float | __arg, |
int * | __exp | ||
) |
Definition at line 64 of file __clang_cuda_cmath.h.
__DEVICE__ double hypot | ( | double | __a, |
double | __b | ||
) |
Definition at line 143 of file __clang_cuda_math.h.
References __a, __b, __nv_hypot(), and __y.
__DEVICE__ float hypot | ( | float | , |
float | |||
) |
__DEVICE__ int ilogb | ( | double | __a | ) |
Definition at line 145 of file __clang_cuda_math.h.
References __a, and __nv_ilogb().
__DEVICE__ int ilogb | ( | float | ) |
__DEVICE__ bool isfinite | ( | double | __x | ) |
Definition at line 107 of file __clang_cuda_cmath.h.
__DEVICE__ bool isfinite | ( | float | __x | ) |
Definition at line 103 of file __clang_cuda_cmath.h.
__DEVICE__ bool isgreater | ( | double | __x, |
double | __y | ||
) |
Definition at line 120 of file __clang_cuda_cmath.h.
References __y.
__DEVICE__ bool isgreater | ( | float | __x, |
float | __y | ||
) |
Definition at line 117 of file __clang_cuda_cmath.h.
__DEVICE__ bool isgreaterequal | ( | double | __x, |
double | __y | ||
) |
Definition at line 126 of file __clang_cuda_cmath.h.
References __y.
__DEVICE__ bool isgreaterequal | ( | float | __x, |
float | __y | ||
) |
Definition at line 123 of file __clang_cuda_cmath.h.
__DEVICE__ bool isinf | ( | double | __x | ) |
Definition at line 102 of file __clang_cuda_cmath.h.
__DEVICE__ bool isinf | ( | float | __x | ) |
Definition at line 101 of file __clang_cuda_cmath.h.
__DEVICE__ bool isless | ( | double | __x, |
double | __y | ||
) |
Definition at line 132 of file __clang_cuda_cmath.h.
References __y.
__DEVICE__ bool isless | ( | float | __x, |
float | __y | ||
) |
Definition at line 129 of file __clang_cuda_cmath.h.
__DEVICE__ bool islessequal | ( | double | __x, |
double | __y | ||
) |
Definition at line 138 of file __clang_cuda_cmath.h.
References __y.
__DEVICE__ bool islessequal | ( | float | __x, |
float | __y | ||
) |
Definition at line 135 of file __clang_cuda_cmath.h.
__DEVICE__ bool islessgreater | ( | double | __x, |
double | __y | ||
) |
Definition at line 144 of file __clang_cuda_cmath.h.
References __y.
__DEVICE__ bool islessgreater | ( | float | __x, |
float | __y | ||
) |
Definition at line 141 of file __clang_cuda_cmath.h.
__DEVICE__ bool isnan | ( | double | __x | ) |
Definition at line 109 of file __clang_cuda_cmath.h.
__DEVICE__ bool isnan | ( | float | __x | ) |
Definition at line 108 of file __clang_cuda_cmath.h.
__DEVICE__ bool isnormal | ( | double | __x | ) |
Definition at line 148 of file __clang_cuda_cmath.h.
__DEVICE__ bool isnormal | ( | float | __x | ) |
Definition at line 147 of file __clang_cuda_cmath.h.
__DEVICE__ bool isunordered | ( | double | __x, |
double | __y | ||
) |
Definition at line 152 of file __clang_cuda_cmath.h.
References __y.
__DEVICE__ bool isunordered | ( | float | __x, |
float | __y | ||
) |
Definition at line 149 of file __clang_cuda_cmath.h.
__DEVICE__ long labs | ( | long | __a | ) |
Definition at line 156 of file __clang_cuda_math.h.
References __a, __nv_abs(), and CHAR_BIT.
__DEVICE__ double ldexp | ( | double | __a, |
int | __b | ||
) |
Definition at line 158 of file __clang_cuda_math.h.
References __a, __b, and __nv_ldexp().
__DEVICE__ float ldexp | ( | float | __arg, |
int | __exp | ||
) |
Definition at line 155 of file __clang_cuda_cmath.h.
__DEVICE__ double lgamma | ( | double | __a | ) |
Definition at line 160 of file __clang_cuda_math.h.
References __a, __nv_lgamma(), and __ocml_lgamma_f64().
__DEVICE__ float lgamma | ( | float | ) |
__DEVICE__ long long llabs | ( | long long | __a | ) |
Definition at line 162 of file __clang_cuda_math.h.
References __a, __nv_llabs(), and CHAR_BIT.
__DEVICE__ long long llrint | ( | double | __a | ) |
Definition at line 169 of file __clang_cuda_math.h.
References __a, and __nv_llrint().
__DEVICE__ long long llrint | ( | float | ) |
__DEVICE__ long long llround | ( | float | ) |
__DEVICE__ double log | ( | double | __a | ) |
Definition at line 175 of file __clang_cuda_math.h.
References __a, and __nv_log().
__DEVICE__ float log | ( | float | __x | ) |
Definition at line 158 of file __clang_cuda_cmath.h.
__DEVICE__ double log10 | ( | double | __a | ) |
Definition at line 176 of file __clang_cuda_math.h.
References __a, and __nv_log10().
__DEVICE__ float log10 | ( | float | __x | ) |
Definition at line 159 of file __clang_cuda_cmath.h.
__DEVICE__ double log1p | ( | double | __a | ) |
Definition at line 178 of file __clang_cuda_math.h.
References __a, and __nv_log1p().
__DEVICE__ float log1p | ( | float | ) |
__DEVICE__ double log2 | ( | double | __a | ) |
Definition at line 180 of file __clang_cuda_math.h.
References __a, and __nv_log2().
__DEVICE__ float log2 | ( | float | ) |
__DEVICE__ double logb | ( | double | __a | ) |
Definition at line 184 of file __clang_cuda_math.h.
References __a, and __nv_logb().
__DEVICE__ float logb | ( | float | ) |
__DEVICE__ long lrint | ( | double | __a | ) |
Definition at line 195 of file __clang_cuda_math.h.
__DEVICE__ long lrint | ( | float | ) |
__DEVICE__ long lround | ( | double | __a | ) |
Definition at line 197 of file __clang_cuda_math.h.
__DEVICE__ long lround | ( | float | ) |
__DEVICE__ double modf | ( | double | __a, |
double * | __b | ||
) |
Definition at line 202 of file __clang_cuda_math.h.
References __a, __b, __nv_modf(), and __ocml_modf_f64().
__DEVICE__ float modf | ( | float | __x, |
float * | __iptr | ||
) |
Definition at line 160 of file __clang_cuda_cmath.h.
Referenced by mutateLongDoubleBuiltin().
__DEVICE__ double nan | ( | const char * | __tagp | ) |
Definition at line 924 of file __clang_hip_math.h.
References __make_mantissa(), __static_assert_type_size_equal, and sign().
Referenced by mutateLongDoubleBuiltin().
__DEVICE__ float nanf | ( | const char * | ) |
__DEVICE__ double nearbyint | ( | double | __a | ) |
Definition at line 204 of file __clang_cuda_math.h.
References __a.
__DEVICE__ float nearbyint | ( | float | ) |
__DEVICE__ double nextafter | ( | double | __a, |
double | __b | ||
) |
Definition at line 206 of file __clang_cuda_math.h.
References __a, __b, __nv_nextafter(), and __y.
__DEVICE__ float nextafter | ( | float | , |
float | |||
) |
__DEVICE__ double pow | ( | double | __a, |
double | __b | ||
) |
Definition at line 234 of file __clang_cuda_math.h.
References __a, __b, __nv_pow(), and __y.
__DEVICE__ double pow | ( | double | __base, |
int | __iexp | ||
) |
Definition at line 167 of file __clang_cuda_cmath.h.
__DEVICE__ float pow | ( | float | __base, |
float | __exp | ||
) |
Definition at line 161 of file __clang_cuda_cmath.h.
__DEVICE__ float pow | ( | float | __base, |
int | __iexp | ||
) |
Definition at line 164 of file __clang_cuda_cmath.h.
__DEVICE__ double remainder | ( | double | __a, |
double | __b | ||
) |
Definition at line 240 of file __clang_cuda_math.h.
References __a, __b, __nv_remainder(), and __y.
__DEVICE__ float remainder | ( | float | , |
float | |||
) |
__DEVICE__ double remquo | ( | double | __a, |
double | __b, | ||
int * | __c | ||
) |
Definition at line 246 of file __clang_cuda_math.h.
References __a, __b, __c, __nv_remquo(), __ocml_remquo_f64(), and __y.
__DEVICE__ float remquo | ( | float | , |
float | , | ||
int * | |||
) |
__DEVICE__ double rint | ( | double | __a | ) |
Definition at line 259 of file __clang_cuda_math.h.
References __a.
__DEVICE__ float rint | ( | float | ) |
__DEVICE__ double round | ( | double | __a | ) |
Definition at line 173 of file __clang_cuda_math.h.
References __a, and __nv_round().
__DEVICE__ float round | ( | float | ) |
__DEVICE__ double scalbln | ( | double | __a, |
long | __b | ||
) |
__DEVICE__ float scalbln | ( | float | , |
long | |||
) |
__DEVICE__ double scalbn | ( | double | __a, |
int | __b | ||
) |
Definition at line 281 of file __clang_cuda_math.h.
References __a, __b, and __nv_scalbn().
__DEVICE__ float scalbn | ( | float | , |
int | |||
) |
__DEVICE__ bool signbit | ( | double | __x | ) |
Definition at line 171 of file __clang_cuda_cmath.h.
__DEVICE__ bool signbit | ( | float | __x | ) |
Definition at line 170 of file __clang_cuda_cmath.h.
__DEVICE__ double sin | ( | double | __a | ) |
Definition at line 297 of file __clang_cuda_math.h.
References __a, __nv_sin(), and __ocml_sin_f64().
__DEVICE__ float sin | ( | float | __x | ) |
Definition at line 172 of file __clang_cuda_cmath.h.
__DEVICE__ double sinh | ( | double | __a | ) |
Definition at line 313 of file __clang_cuda_math.h.
References __a, and __nv_sinh().
__DEVICE__ float sinh | ( | float | __x | ) |
Definition at line 173 of file __clang_cuda_cmath.h.
__DEVICE__ double sqrt | ( | double | __a | ) |
Definition at line 317 of file __clang_cuda_math.h.
References __a, and __nv_sqrt().
__DEVICE__ float sqrt | ( | float | __x | ) |
Definition at line 174 of file __clang_cuda_cmath.h.
__DEVICE__ double tan | ( | double | __a | ) |
Definition at line 319 of file __clang_cuda_math.h.
References __a, __nv_tan(), and __ocml_tan_f64().
__DEVICE__ float tan | ( | float | __x | ) |
Definition at line 175 of file __clang_cuda_cmath.h.
__DEVICE__ double tanh | ( | double | __a | ) |
Definition at line 321 of file __clang_cuda_math.h.
References __a, and __nv_tanh().
__DEVICE__ float tanh | ( | float | __x | ) |
Definition at line 176 of file __clang_cuda_cmath.h.
__DEVICE__ double tgamma | ( | double | __a | ) |
Definition at line 323 of file __clang_cuda_math.h.
References __a, __nv_tgamma(), and __ocml_tgamma_f64().
__DEVICE__ float tgamma | ( | float | ) |
__DEVICE__ double trunc | ( | double | __a | ) |
Definition at line 325 of file __clang_cuda_math.h.
References __a, and __nv_trunc().
__DEVICE__ float trunc | ( | float | ) |