clang 23.0.0git
__clang_spirv_math.h File Reference

Go to the source code of this file.

Macros

#define __DEVICE__   static __device__ __forceinline__

Functions

__DEVICE__ float __cosf (float __x)
__DEVICE__ float __exp10f (float __x)
__DEVICE__ float __expf (float __x)
__DEVICE__ float __fadd_rd (float __x, float __y)
__DEVICE__ float __fadd_rn (float __x, float __y)
__DEVICE__ float __fadd_ru (float __x, float __y)
__DEVICE__ float __fadd_rz (float __x, float __y)
__DEVICE__ float __fdiv_rd (float __x, float __y)
__DEVICE__ float __fdiv_rn (float __x, float __y)
__DEVICE__ float __fdiv_ru (float __x, float __y)
__DEVICE__ float __fdiv_rz (float __x, float __y)
__DEVICE__ float __fdividef (float __x, float __y)
__DEVICE__ float __fmaf_rd (float __x, float __y, float __z)
__DEVICE__ float __fmaf_rn (float __x, float __y, float __z)
__DEVICE__ float __fmaf_ru (float __x, float __y, float __z)
__DEVICE__ float __fmaf_rz (float __x, float __y, float __z)
__DEVICE__ float __fmul_rd (float __x, float __y)
__DEVICE__ float __fmul_rn (float __x, float __y)
__DEVICE__ float __fmul_ru (float __x, float __y)
__DEVICE__ float __fmul_rz (float __x, float __y)
__DEVICE__ float __frcp_rd (float __x)
__DEVICE__ float __frcp_rn (float __x)
__DEVICE__ float __frcp_ru (float __x)
__DEVICE__ float __frcp_rz (float __x)
__DEVICE__ float __frsqrt_rn (float __x)
__DEVICE__ float __fsqrt_rd (float __x)
__DEVICE__ float __fsqrt_rn (float __x)
__DEVICE__ float __fsqrt_ru (float __x)
__DEVICE__ float __fsqrt_rz (float __x)
__DEVICE__ float __fsub_rd (float __x, float __y)
__DEVICE__ float __fsub_rn (float __x, float __y)
__DEVICE__ float __fsub_ru (float __x, float __y)
__DEVICE__ float __fsub_rz (float __x, float __y)
__DEVICE__ float __log10f (float __x)
__DEVICE__ float __log2f (float __x)
__DEVICE__ float __logf (float __x)
__DEVICE__ float __powf (float __x, float __y)
__DEVICE__ float __saturatef (float __x)
__DEVICE__ void __sincosf (float __x, float *__sinptr, float *__cosptr)
__DEVICE__ float __sinf (float __x)
__DEVICE__ float __tanf (float __x)
__DEVICE__ int __finitef (float __x)
__DEVICE__ int __isinff (float __x)
__DEVICE__ int __isnanf (float __x)
__DEVICE__ int __signbitf (float __x)
__DEVICE__ int __finite (double __x)
__DEVICE__ int __isinf (double __x)
__DEVICE__ int __isnan (double __x)
__DEVICE__ int __signbit (double __x)
__DEVICE__ double __dadd_rd (double __x, double __y)
__DEVICE__ double __dadd_rn (double __x, double __y)
__DEVICE__ double __dadd_ru (double __x, double __y)
__DEVICE__ double __dadd_rz (double __x, double __y)
__DEVICE__ double __ddiv_rd (double __x, double __y)
__DEVICE__ double __ddiv_rn (double __x, double __y)
__DEVICE__ double __ddiv_ru (double __x, double __y)
__DEVICE__ double __ddiv_rz (double __x, double __y)
__DEVICE__ double __dmul_rd (double __x, double __y)
__DEVICE__ double __dmul_rn (double __x, double __y)
__DEVICE__ double __dmul_ru (double __x, double __y)
__DEVICE__ double __dmul_rz (double __x, double __y)
__DEVICE__ double __drcp_rd (double __x)
__DEVICE__ double __drcp_rn (double __x)
__DEVICE__ double __drcp_ru (double __x)
__DEVICE__ double __drcp_rz (double __x)
__DEVICE__ double __dsqrt_rd (double __x)
__DEVICE__ double __dsqrt_rn (double __x)
__DEVICE__ double __dsqrt_ru (double __x)
__DEVICE__ double __dsqrt_rz (double __x)
__DEVICE__ double __dsub_rd (double __x, double __y)
__DEVICE__ double __dsub_rn (double __x, double __y)
__DEVICE__ double __dsub_ru (double __x, double __y)
__DEVICE__ double __dsub_rz (double __x, double __y)
__DEVICE__ double __fma_rd (double __x, double __y, double __z)
__DEVICE__ double __fma_rn (double __x, double __y, double __z)
__DEVICE__ double __fma_ru (double __x, double __y, double __z)
__DEVICE__ double __fma_rz (double __x, double __y, double __z)
__DEVICE__ int abs (int __a)
__DEVICE__ double fabs (double __a)
__DEVICE__ double acos (double __a)
__DEVICE__ float acosf (float __a)
__DEVICE__ double acosh (double __a)
__DEVICE__ float acoshf (float __a)
__DEVICE__ double asin (double __a)
__DEVICE__ float asinf (float __a)
__DEVICE__ double asinh (double __a)
__DEVICE__ float asinhf (float __a)
__DEVICE__ double atan (double __a)
__DEVICE__ double atan2 (double __a, double __b)
__DEVICE__ float atan2f (float __a, float __b)
__DEVICE__ float atanf (float __a)
__DEVICE__ double atanh (double __a)
__DEVICE__ float atanhf (float __a)
__DEVICE__ double cbrt (double __a)
__DEVICE__ float cbrtf (float __a)
__DEVICE__ double ceil (double __a)
__DEVICE__ float ceilf (float __a)
__DEVICE__ double copysign (double __a, double __b)
__DEVICE__ float copysignf (float __a, float __b)
__DEVICE__ double cos (double __a)
__DEVICE__ float cosf (float __a)
__DEVICE__ double cosh (double __a)
__DEVICE__ float coshf (float __a)
__DEVICE__ double cospi (double __a)
__DEVICE__ float cospif (float __a)
__DEVICE__ double erf (double __a)
__DEVICE__ double erfc (double __a)
__DEVICE__ float erfcf (float __a)
__DEVICE__ double erfcx (double __a)
__DEVICE__ float erfcxf (float __a)
__DEVICE__ float erff (float __a)
__DEVICE__ double exp (double __a)
__DEVICE__ double exp10 (double __a)
__DEVICE__ float exp10f (float __a)
__DEVICE__ double exp2 (double __a)
__DEVICE__ float exp2f (float __a)
__DEVICE__ float expf (float __a)
__DEVICE__ double expm1 (double __a)
__DEVICE__ float expm1f (float __a)
__DEVICE__ float fabsf (float __a)
__DEVICE__ double fdim (double __a, double __b)
__DEVICE__ float fdimf (float __a, float __b)
__DEVICE__ double fdivide (double __a, double __b)
__DEVICE__ float fdividef (float __a, float __b)
__DEVICE__ double floor (double __f)
__DEVICE__ float floorf (float __f)
__DEVICE__ double fma (double __a, double __b, double __c)
__DEVICE__ float fmaf (float __a, float __b, float __c)
__DEVICE__ double fmax (double __a, double __b)
__DEVICE__ float fmaxf (float __a, float __b)
__DEVICE__ double fmin (double __a, double __b)
__DEVICE__ float fminf (float __a, float __b)
__DEVICE__ double fmod (double __a, double __b)
__DEVICE__ float fmodf (float __a, float __b)
__DEVICE__ double frexp (double __a, int *__b)
__DEVICE__ float frexpf (float __a, int *__b)
__DEVICE__ double hypot (double __a, double __b)
__DEVICE__ float hypotf (float __a, float __b)
__DEVICE__ int ilogb (double __a)
__DEVICE__ int ilogbf (float __a)
__DEVICE__ long labs (long __a)
__DEVICE__ double ldexp (double __a, int __b)
__DEVICE__ float ldexpf (float __a, int __b)
__DEVICE__ double lgamma (double __a)
__DEVICE__ float lgammaf (float __a)
__DEVICE__ long long llabs (long long __a)
__DEVICE__ long long llmax (long long __a, long long __b)
__DEVICE__ long long llmin (long long __a, long long __b)
__DEVICE__ long long llrint (double __a)
__DEVICE__ long long llrintf (float __a)
__DEVICE__ long long llround (double __a)
__DEVICE__ long long llroundf (float __a)
__DEVICE__ double round (double __a)
__DEVICE__ float roundf (float __a)
__DEVICE__ double log (double __a)
__DEVICE__ double log10 (double __a)
__DEVICE__ float log10f (float __a)
__DEVICE__ double log1p (double __a)
__DEVICE__ float log1pf (float __a)
__DEVICE__ double log2 (double __a)
__DEVICE__ float log2f (float __a)
__DEVICE__ double logb (double __a)
__DEVICE__ float logbf (float __a)
__DEVICE__ float logf (float __a)
__DEVICE__ long lrint (double __a)
__DEVICE__ long lrintf (float __a)
__DEVICE__ long lround (double __a)
__DEVICE__ long lroundf (float __a)
__DEVICE__ int max (int __a, int __b)
__DEVICE__ int min (int __a, int __b)
__DEVICE__ double modf (double __a, double *__b)
__DEVICE__ float modff (float __a, float *__b)
__DEVICE__ double nearbyint (double __a)
__DEVICE__ float nearbyintf (float __a)
__DEVICE__ double nextafter (double __a, double __b)
__DEVICE__ float nextafterf (float __a, float __b)
__DEVICE__ double norm (int __dim, const double *__a)
__DEVICE__ double norm3d (double __a, double __b, double __c)
__DEVICE__ float norm3df (float __a, float __b, float __c)
__DEVICE__ double norm4d (double __a, double __b, double __c, double __d)
__DEVICE__ float norm4df (float __a, float __b, float __c, float __d)
__DEVICE__ double normcdf (double __a)
__DEVICE__ float normcdff (float __a)
__DEVICE__ float normf (int __dim, const float *__a)
__DEVICE__ double pow (double __a, double __b)
__DEVICE__ float powf (float __a, float __b)
__DEVICE__ double powi (double __a, int __b)
__DEVICE__ float powif (float __a, int __b)
__DEVICE__ double rcbrt (double __a)
__DEVICE__ float rcbrtf (float __a)
__DEVICE__ double remainder (double __a, double __b)
__DEVICE__ float remainderf (float __a, float __b)
__DEVICE__ double remquo (double __a, double __b, int *__c)
__DEVICE__ float remquof (float __a, float __b, int *__c)
__DEVICE__ double rhypot (double __a, double __b)
__DEVICE__ float rhypotf (float __a, float __b)
__DEVICE__ double rint (double __a)
__DEVICE__ float rintf (float __a)
__DEVICE__ double rnorm (int __dim, const double *__a)
__DEVICE__ double rnorm3d (double __a, double __b, double __c)
__DEVICE__ float rnorm3df (float __a, float __b, float __c)
__DEVICE__ double rnorm4d (double __a, double __b, double __c, double __d)
__DEVICE__ float rnorm4df (float __a, float __b, float __c, float __d)
__DEVICE__ float rnormf (int __dim, const float *__a)
__DEVICE__ double rsqrt (double __a)
__DEVICE__ float rsqrtf (float __a)
__DEVICE__ double scalbn (double __a, int __b)
__DEVICE__ float scalbnf (float __a, int __b)
__DEVICE__ double scalbln (double __a, long __b)
__DEVICE__ float scalblnf (float __a, long __b)
__DEVICE__ double sin (double __a)
__DEVICE__ void sincos (double __a, double *__s, double *__c)
__DEVICE__ void sincosf (float __a, float *__s, float *__c)
__DEVICE__ void sincospi (double __a, double *__s, double *__c)
__DEVICE__ void sincospif (float __a, float *__s, float *__c)
__DEVICE__ float sinf (float __a)
__DEVICE__ double sinh (double __a)
__DEVICE__ float sinhf (float __a)
__DEVICE__ double sinpi (double __a)
__DEVICE__ float sinpif (float __a)
__DEVICE__ double sqrt (double __a)
__DEVICE__ float sqrtf (float __a)
__DEVICE__ double tan (double __a)
__DEVICE__ float tanf (float __a)
__DEVICE__ double tanh (double __a)
__DEVICE__ float tanhf (float __a)
__DEVICE__ double tgamma (double __a)
__DEVICE__ float tgammaf (float __a)
__DEVICE__ double trunc (double __a)
__DEVICE__ float truncf (float __a)
__DEVICE__ unsigned long long ullmax (unsigned long long __a, unsigned long long __b)
__DEVICE__ unsigned long long ullmin (unsigned long long __a, unsigned long long __b)
__DEVICE__ unsigned int umax (unsigned int __a, unsigned int __b)
__DEVICE__ unsigned int umin (unsigned int __a, unsigned int __b)
__DEVICE__ unsigned long __make_mantissa_base8 (const char *__tagp)
__DEVICE__ unsigned long __make_mantissa_base10 (const char *__tagp)
__DEVICE__ unsigned long __make_mantissa_base16 (const char *__tagp)
__DEVICE__ unsigned long __make_mantissa (const char *__tagp)
float nanf (const char *__tagp)
double nan (const char *__tagp)

Macro Definition Documentation

◆ __DEVICE__

#define __DEVICE__   static __device__ __forceinline__

Definition at line 31 of file __clang_spirv_math.h.

Function Documentation

◆ __cosf()

__DEVICE__ float __cosf ( float __x)

Definition at line 35 of file __clang_spirv_math.h.

References __spirv_ocl_cos().

◆ __dadd_rd()

__DEVICE__ double __dadd_rd ( double __x,
double __y )

Definition at line 197 of file __clang_spirv_math.h.

References __spirv_ocl_floor(), and __y.

◆ __dadd_rn()

__DEVICE__ double __dadd_rn ( double __x,
double __y )

Definition at line 205 of file __clang_spirv_math.h.

References __spirv_ocl_rint(), and __y.

◆ __dadd_ru()

__DEVICE__ double __dadd_ru ( double __x,
double __y )

Definition at line 207 of file __clang_spirv_math.h.

References __spirv_ocl_ceil(), and __y.

◆ __dadd_rz()

__DEVICE__ double __dadd_rz ( double __x,
double __y )

Definition at line 209 of file __clang_spirv_math.h.

References __spirv_ocl_trunc(), and __y.

◆ __ddiv_rd()

__DEVICE__ double __ddiv_rd ( double __x,
double __y )

Definition at line 213 of file __clang_spirv_math.h.

References __spirv_ocl_floor(), and __y.

Referenced by __drcp_rd().

◆ __ddiv_rn()

__DEVICE__ double __ddiv_rn ( double __x,
double __y )

Definition at line 221 of file __clang_spirv_math.h.

References __spirv_ocl_rint(), and __y.

Referenced by __drcp_rn().

◆ __ddiv_ru()

__DEVICE__ double __ddiv_ru ( double __x,
double __y )

Definition at line 223 of file __clang_spirv_math.h.

References __spirv_ocl_ceil(), and __y.

Referenced by __drcp_ru().

◆ __ddiv_rz()

__DEVICE__ double __ddiv_rz ( double __x,
double __y )

Definition at line 225 of file __clang_spirv_math.h.

References __spirv_ocl_trunc(), and __y.

Referenced by __drcp_rz().

◆ __dmul_rd()

__DEVICE__ double __dmul_rd ( double __x,
double __y )

Definition at line 230 of file __clang_spirv_math.h.

References __spirv_ocl_floor(), and __y.

◆ __dmul_rn()

__DEVICE__ double __dmul_rn ( double __x,
double __y )

Definition at line 238 of file __clang_spirv_math.h.

References __spirv_ocl_rint(), and __y.

◆ __dmul_ru()

__DEVICE__ double __dmul_ru ( double __x,
double __y )

Definition at line 240 of file __clang_spirv_math.h.

References __spirv_ocl_ceil(), and __y.

◆ __dmul_rz()

__DEVICE__ double __dmul_rz ( double __x,
double __y )

Definition at line 242 of file __clang_spirv_math.h.

References __spirv_ocl_trunc(), and __y.

◆ __drcp_rd()

__DEVICE__ double __drcp_rd ( double __x)

Definition at line 247 of file __clang_spirv_math.h.

References __ddiv_rd().

◆ __drcp_rn()

__DEVICE__ double __drcp_rn ( double __x)

Definition at line 249 of file __clang_spirv_math.h.

References __ddiv_rn().

◆ __drcp_ru()

__DEVICE__ double __drcp_ru ( double __x)

Definition at line 251 of file __clang_spirv_math.h.

References __ddiv_ru().

◆ __drcp_rz()

__DEVICE__ double __drcp_rz ( double __x)

Definition at line 253 of file __clang_spirv_math.h.

References __ddiv_rz().

◆ __dsqrt_rd()

__DEVICE__ double __dsqrt_rd ( double __x)

Definition at line 256 of file __clang_spirv_math.h.

References __spirv_ocl_floor(), and __spirv_ocl_sqrt().

◆ __dsqrt_rn()

__DEVICE__ double __dsqrt_rn ( double __x)

Definition at line 264 of file __clang_spirv_math.h.

References __spirv_ocl_rint(), and __spirv_ocl_sqrt().

◆ __dsqrt_ru()

__DEVICE__ double __dsqrt_ru ( double __x)

Definition at line 268 of file __clang_spirv_math.h.

References __spirv_ocl_ceil(), and __spirv_ocl_sqrt().

◆ __dsqrt_rz()

__DEVICE__ double __dsqrt_rz ( double __x)

Definition at line 272 of file __clang_spirv_math.h.

References __spirv_ocl_sqrt(), and __spirv_ocl_trunc().

◆ __dsub_rd()

__DEVICE__ double __dsub_rd ( double __x,
double __y )

Definition at line 277 of file __clang_spirv_math.h.

References __spirv_ocl_floor(), and __y.

◆ __dsub_rn()

__DEVICE__ double __dsub_rn ( double __x,
double __y )

Definition at line 285 of file __clang_spirv_math.h.

References __spirv_ocl_rint(), and __y.

◆ __dsub_ru()

__DEVICE__ double __dsub_ru ( double __x,
double __y )

Definition at line 287 of file __clang_spirv_math.h.

References __spirv_ocl_ceil(), and __y.

◆ __dsub_rz()

__DEVICE__ double __dsub_rz ( double __x,
double __y )

Definition at line 289 of file __clang_spirv_math.h.

References __spirv_ocl_trunc(), and __y.

◆ __exp10f()

__DEVICE__ float __exp10f ( float __x)

Definition at line 37 of file __clang_spirv_math.h.

References __spirv_ocl_exp10().

◆ __expf()

__DEVICE__ float __expf ( float __x)

Definition at line 39 of file __clang_spirv_math.h.

References __spirv_ocl_exp().

◆ __fadd_rd()

__DEVICE__ float __fadd_rd ( float __x,
float __y )

Definition at line 42 of file __clang_spirv_math.h.

References __spirv_ocl_floor(), and __y.

◆ __fadd_rn()

__DEVICE__ float __fadd_rn ( float __x,
float __y )

Definition at line 51 of file __clang_spirv_math.h.

References __spirv_ocl_rint(), and __y.

◆ __fadd_ru()

__DEVICE__ float __fadd_ru ( float __x,
float __y )

Definition at line 53 of file __clang_spirv_math.h.

References __spirv_ocl_ceil(), and __y.

◆ __fadd_rz()

__DEVICE__ float __fadd_rz ( float __x,
float __y )

Definition at line 55 of file __clang_spirv_math.h.

References __spirv_ocl_trunc(), and __y.

◆ __fdiv_rd()

__DEVICE__ float __fdiv_rd ( float __x,
float __y )

Definition at line 58 of file __clang_spirv_math.h.

References __spirv_ocl_floor(), and __y.

Referenced by __frcp_rd().

◆ __fdiv_rn()

__DEVICE__ float __fdiv_rn ( float __x,
float __y )

Definition at line 66 of file __clang_spirv_math.h.

References __spirv_ocl_rint(), and __y.

Referenced by __frcp_rn().

◆ __fdiv_ru()

__DEVICE__ float __fdiv_ru ( float __x,
float __y )

Definition at line 68 of file __clang_spirv_math.h.

References __spirv_ocl_ceil(), and __y.

Referenced by __frcp_ru().

◆ __fdiv_rz()

__DEVICE__ float __fdiv_rz ( float __x,
float __y )

Definition at line 70 of file __clang_spirv_math.h.

References __spirv_ocl_trunc(), and __y.

Referenced by __frcp_rz().

◆ __fdividef()

__DEVICE__ float __fdividef ( float __x,
float __y )

Definition at line 72 of file __clang_spirv_math.h.

References __y.

◆ __finite()

__DEVICE__ int __finite ( double __x)

Definition at line 186 of file __clang_spirv_math.h.

References __spirv_IsInf(), and __spirv_IsNan().

◆ __finitef()

__DEVICE__ int __finitef ( float __x)

Definition at line 177 of file __clang_spirv_math.h.

References __spirv_IsInf(), and __spirv_IsNan().

◆ __fma_rd()

__DEVICE__ double __fma_rd ( double __x,
double __y,
double __z )

Definition at line 294 of file __clang_spirv_math.h.

References __spirv_ocl_floor(), and __y.

◆ __fma_rn()

__DEVICE__ double __fma_rn ( double __x,
double __y,
double __z )

Definition at line 302 of file __clang_spirv_math.h.

References __spirv_ocl_rint(), and __y.

◆ __fma_ru()

__DEVICE__ double __fma_ru ( double __x,
double __y,
double __z )

Definition at line 306 of file __clang_spirv_math.h.

References __spirv_ocl_ceil(), and __y.

◆ __fma_rz()

__DEVICE__ double __fma_rz ( double __x,
double __y,
double __z )

Definition at line 310 of file __clang_spirv_math.h.

References __spirv_ocl_trunc(), and __y.

◆ __fmaf_rd()

__DEVICE__ float __fmaf_rd ( float __x,
float __y,
float __z )

Definition at line 75 of file __clang_spirv_math.h.

References __spirv_ocl_floor(), and __y.

◆ __fmaf_rn()

__DEVICE__ float __fmaf_rn ( float __x,
float __y,
float __z )

Definition at line 83 of file __clang_spirv_math.h.

References __spirv_ocl_rint(), and __y.

◆ __fmaf_ru()

__DEVICE__ float __fmaf_ru ( float __x,
float __y,
float __z )

Definition at line 87 of file __clang_spirv_math.h.

References __spirv_ocl_ceil(), and __y.

◆ __fmaf_rz()

__DEVICE__ float __fmaf_rz ( float __x,
float __y,
float __z )

Definition at line 91 of file __clang_spirv_math.h.

References __spirv_ocl_trunc(), and __y.

◆ __fmul_rd()

__DEVICE__ float __fmul_rd ( float __x,
float __y )

Definition at line 96 of file __clang_spirv_math.h.

References __spirv_ocl_floor(), and __y.

◆ __fmul_rn()

__DEVICE__ float __fmul_rn ( float __x,
float __y )

Definition at line 104 of file __clang_spirv_math.h.

References __spirv_ocl_rint(), and __y.

◆ __fmul_ru()

__DEVICE__ float __fmul_ru ( float __x,
float __y )

Definition at line 106 of file __clang_spirv_math.h.

References __spirv_ocl_ceil(), and __y.

◆ __fmul_rz()

__DEVICE__ float __fmul_rz ( float __x,
float __y )

Definition at line 108 of file __clang_spirv_math.h.

References __spirv_ocl_trunc(), and __y.

◆ __frcp_rd()

__DEVICE__ float __frcp_rd ( float __x)

Definition at line 111 of file __clang_spirv_math.h.

References __fdiv_rd().

◆ __frcp_rn()

__DEVICE__ float __frcp_rn ( float __x)

Definition at line 113 of file __clang_spirv_math.h.

References __fdiv_rn().

◆ __frcp_ru()

__DEVICE__ float __frcp_ru ( float __x)

Definition at line 115 of file __clang_spirv_math.h.

References __fdiv_ru().

◆ __frcp_rz()

__DEVICE__ float __frcp_rz ( float __x)

Definition at line 117 of file __clang_spirv_math.h.

References __fdiv_rz().

◆ __frsqrt_rn()

__DEVICE__ float __frsqrt_rn ( float __x)

Definition at line 120 of file __clang_spirv_math.h.

References __spirv_ocl_rint(), and __spirv_ocl_rsqrt().

◆ __fsqrt_rd()

__DEVICE__ float __fsqrt_rd ( float __x)

Definition at line 125 of file __clang_spirv_math.h.

References __spirv_ocl_floor(), and __spirv_ocl_sqrt().

◆ __fsqrt_rn()

__DEVICE__ float __fsqrt_rn ( float __x)

Definition at line 133 of file __clang_spirv_math.h.

References __spirv_ocl_rint(), and __spirv_ocl_sqrt().

◆ __fsqrt_ru()

__DEVICE__ float __fsqrt_ru ( float __x)

Definition at line 135 of file __clang_spirv_math.h.

References __spirv_ocl_ceil(), and __spirv_ocl_sqrt().

◆ __fsqrt_rz()

__DEVICE__ float __fsqrt_rz ( float __x)

Definition at line 137 of file __clang_spirv_math.h.

References __spirv_ocl_sqrt(), and __spirv_ocl_trunc().

◆ __fsub_rd()

__DEVICE__ float __fsub_rd ( float __x,
float __y )

Definition at line 140 of file __clang_spirv_math.h.

References __spirv_ocl_floor(), and __y.

◆ __fsub_rn()

__DEVICE__ float __fsub_rn ( float __x,
float __y )

Definition at line 148 of file __clang_spirv_math.h.

References __spirv_ocl_rint(), and __y.

◆ __fsub_ru()

__DEVICE__ float __fsub_ru ( float __x,
float __y )

Definition at line 150 of file __clang_spirv_math.h.

References __spirv_ocl_ceil(), and __y.

◆ __fsub_rz()

__DEVICE__ float __fsub_rz ( float __x,
float __y )

Definition at line 152 of file __clang_spirv_math.h.

References __spirv_ocl_trunc(), and __y.

◆ __isinf()

__DEVICE__ int __isinf ( double __x)

Definition at line 189 of file __clang_spirv_math.h.

References __spirv_IsInf().

◆ __isinff()

__DEVICE__ int __isinff ( float __x)

Definition at line 179 of file __clang_spirv_math.h.

References __spirv_IsInf().

◆ __isnan()

__DEVICE__ int __isnan ( double __x)

Definition at line 192 of file __clang_spirv_math.h.

References __spirv_IsNan().

◆ __isnanf()

__DEVICE__ int __isnanf ( float __x)

Definition at line 181 of file __clang_spirv_math.h.

References __spirv_IsNan().

◆ __log10f()

__DEVICE__ float __log10f ( float __x)

Definition at line 154 of file __clang_spirv_math.h.

References __spirv_ocl_log10().

◆ __log2f()

__DEVICE__ float __log2f ( float __x)

Definition at line 156 of file __clang_spirv_math.h.

References __spirv_ocl_log2().

◆ __logf()

__DEVICE__ float __logf ( float __x)

Definition at line 158 of file __clang_spirv_math.h.

References __spirv_ocl_log().

◆ __make_mantissa()

__DEVICE__ unsigned long __make_mantissa ( const char * __tagp)

Definition at line 695 of file __clang_spirv_math.h.

References __make_mantissa_base10(), __make_mantissa_base16(), and __make_mantissa_base8().

Referenced by nan(), and nanf().

◆ __make_mantissa_base10()

__DEVICE__ unsigned long __make_mantissa_base10 ( const char * __tagp)

Definition at line 657 of file __clang_spirv_math.h.

Referenced by __make_mantissa().

◆ __make_mantissa_base16()

__DEVICE__ unsigned long __make_mantissa_base16 ( const char * __tagp)

Definition at line 674 of file __clang_spirv_math.h.

Referenced by __make_mantissa().

◆ __make_mantissa_base8()

__DEVICE__ unsigned long __make_mantissa_base8 ( const char * __tagp)

Definition at line 640 of file __clang_spirv_math.h.

Referenced by __make_mantissa().

◆ __powf()

__DEVICE__ float __powf ( float __x,
float __y )

Definition at line 160 of file __clang_spirv_math.h.

References __spirv_ocl_pow(), and __y.

◆ __saturatef()

__DEVICE__ float __saturatef ( float __x)

Definition at line 163 of file __clang_spirv_math.h.

References __spirv_ocl_fclamp().

◆ __signbit()

__DEVICE__ int __signbit ( double __x)

Definition at line 194 of file __clang_spirv_math.h.

◆ __signbitf()

__DEVICE__ int __signbitf ( float __x)

Definition at line 183 of file __clang_spirv_math.h.

◆ __sincosf()

__DEVICE__ void __sincosf ( float __x,
float * __sinptr,
float * __cosptr )

Definition at line 166 of file __clang_spirv_math.h.

References __spirv_ocl_sincos().

◆ __sinf()

__DEVICE__ float __sinf ( float __x)

Definition at line 171 of file __clang_spirv_math.h.

References __spirv_ocl_sin().

◆ __tanf()

__DEVICE__ float __tanf ( float __x)

Definition at line 174 of file __clang_spirv_math.h.

References __spirv_ocl_tan().

◆ abs()

__DEVICE__ int abs ( int __a)

Definition at line 314 of file __clang_spirv_math.h.

References __a, __DEVICE__, and __spirv_ocl_s_abs().

◆ acos()

__DEVICE__ double acos ( double __a)

Definition at line 316 of file __clang_spirv_math.h.

References __a, __DEVICE__, and __spirv_ocl_acos().

◆ acosf()

__DEVICE__ float acosf ( float __a)

Definition at line 317 of file __clang_spirv_math.h.

References __a, __DEVICE__, and __spirv_ocl_acos().

◆ acosh()

__DEVICE__ double acosh ( double __a)

Definition at line 318 of file __clang_spirv_math.h.

References __a, __DEVICE__, and __spirv_ocl_acosh().

◆ acoshf()

__DEVICE__ float acoshf ( float __a)

Definition at line 319 of file __clang_spirv_math.h.

References __a, __DEVICE__, and __spirv_ocl_acosh().

◆ asin()

__DEVICE__ double asin ( double __a)

Definition at line 320 of file __clang_spirv_math.h.

References __a, __DEVICE__, and __spirv_ocl_asin().

◆ asinf()

__DEVICE__ float asinf ( float __a)

Definition at line 321 of file __clang_spirv_math.h.

References __a, __DEVICE__, and __spirv_ocl_asin().

◆ asinh()

__DEVICE__ double asinh ( double __a)

Definition at line 322 of file __clang_spirv_math.h.

References __a, __DEVICE__, and __spirv_ocl_asinh().

◆ asinhf()

__DEVICE__ float asinhf ( float __a)

Definition at line 323 of file __clang_spirv_math.h.

References __a, __DEVICE__, and __spirv_ocl_asinh().

◆ atan()

__DEVICE__ double atan ( double __a)

Definition at line 324 of file __clang_spirv_math.h.

References __a, __DEVICE__, and __spirv_ocl_atan().

◆ atan2()

__DEVICE__ double atan2 ( double __a,
double __b )

Definition at line 325 of file __clang_spirv_math.h.

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

◆ atan2f()

__DEVICE__ float atan2f ( float __a,
float __b )

Definition at line 328 of file __clang_spirv_math.h.

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

◆ atanf()

__DEVICE__ float atanf ( float __a)

Definition at line 331 of file __clang_spirv_math.h.

References __a, __DEVICE__, and __spirv_ocl_atan().

◆ atanh()

__DEVICE__ double atanh ( double __a)

Definition at line 332 of file __clang_spirv_math.h.

References __a, __DEVICE__, and __spirv_ocl_atanh().

◆ atanhf()

__DEVICE__ float atanhf ( float __a)

Definition at line 333 of file __clang_spirv_math.h.

References __a, __DEVICE__, and __spirv_ocl_atanh().

◆ cbrt()

__DEVICE__ double cbrt ( double __a)

Definition at line 334 of file __clang_spirv_math.h.

References __a, __DEVICE__, and __spirv_ocl_cbrt().

◆ cbrtf()

__DEVICE__ float cbrtf ( float __a)

Definition at line 335 of file __clang_spirv_math.h.

References __a, __DEVICE__, and __spirv_ocl_cbrt().

◆ ceil()

__DEVICE__ double ceil ( double __a)

Definition at line 336 of file __clang_spirv_math.h.

References __a, __DEVICE__, and __spirv_ocl_ceil().

◆ ceilf()

__DEVICE__ float ceilf ( float __a)

Definition at line 337 of file __clang_spirv_math.h.

References __a, __DEVICE__, and __spirv_ocl_ceil().

◆ copysign()

__DEVICE__ double copysign ( double __a,
double __b )

Definition at line 338 of file __clang_spirv_math.h.

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

◆ copysignf()

__DEVICE__ float copysignf ( float __a,
float __b )

Definition at line 341 of file __clang_spirv_math.h.

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

◆ cos()

__DEVICE__ double cos ( double __a)

Definition at line 344 of file __clang_spirv_math.h.

References __a, __DEVICE__, and __spirv_ocl_cos().

◆ cosf()

__DEVICE__ float cosf ( float __a)

Definition at line 345 of file __clang_spirv_math.h.

References __a, __DEVICE__, and __spirv_ocl_cos().

◆ cosh()

__DEVICE__ double cosh ( double __a)

Definition at line 346 of file __clang_spirv_math.h.

References __a, __DEVICE__, and __spirv_ocl_cosh().

◆ coshf()

__DEVICE__ float coshf ( float __a)

Definition at line 347 of file __clang_spirv_math.h.

References __a, __DEVICE__, and __spirv_ocl_cosh().

◆ cospi()

__DEVICE__ double cospi ( double __a)

Definition at line 348 of file __clang_spirv_math.h.

References __a, __DEVICE__, and __spirv_ocl_cospi().

◆ cospif()

__DEVICE__ float cospif ( float __a)

Definition at line 349 of file __clang_spirv_math.h.

References __a, __DEVICE__, and __spirv_ocl_cospi().

◆ erf()

__DEVICE__ double erf ( double __a)

Definition at line 350 of file __clang_spirv_math.h.

References __a, __DEVICE__, and __spirv_ocl_erf().

◆ erfc()

__DEVICE__ double erfc ( double __a)

Definition at line 351 of file __clang_spirv_math.h.

References __a, __DEVICE__, and __spirv_ocl_erfc().

◆ erfcf()

__DEVICE__ float erfcf ( float __a)

Definition at line 352 of file __clang_spirv_math.h.

References __a, __DEVICE__, and __spirv_ocl_erfc().

◆ erfcx()

__DEVICE__ double erfcx ( double __a)

Definition at line 353 of file __clang_spirv_math.h.

References __a, __DEVICE__, __spirv_ocl_erfc(), and __spirv_ocl_exp().

◆ erfcxf()

__DEVICE__ float erfcxf ( float __a)

Definition at line 356 of file __clang_spirv_math.h.

References __a, __DEVICE__, __spirv_ocl_erfc(), and __spirv_ocl_exp().

◆ erff()

__DEVICE__ float erff ( float __a)

Definition at line 359 of file __clang_spirv_math.h.

References __a, __DEVICE__, and __spirv_ocl_erf().

◆ exp()

__DEVICE__ double exp ( double __a)

Definition at line 360 of file __clang_spirv_math.h.

References __a, __DEVICE__, and __spirv_ocl_exp().

◆ exp10()

__DEVICE__ double exp10 ( double __a)

Definition at line 361 of file __clang_spirv_math.h.

References __a, __DEVICE__, and __spirv_ocl_exp10().

◆ exp10f()

__DEVICE__ float exp10f ( float __a)

Definition at line 362 of file __clang_spirv_math.h.

References __a, __DEVICE__, and __spirv_ocl_exp10().

◆ exp2()

__DEVICE__ double exp2 ( double __a)

Definition at line 363 of file __clang_spirv_math.h.

References __a, __DEVICE__, and __spirv_ocl_exp2().

◆ exp2f()

__DEVICE__ float exp2f ( float __a)

Definition at line 364 of file __clang_spirv_math.h.

References __a, __DEVICE__, and __spirv_ocl_exp2().

◆ expf()

__DEVICE__ float expf ( float __a)

Definition at line 365 of file __clang_spirv_math.h.

References __a, __DEVICE__, and __spirv_ocl_exp().

◆ expm1()

__DEVICE__ double expm1 ( double __a)

Definition at line 366 of file __clang_spirv_math.h.

References __a, __DEVICE__, and __spirv_ocl_expm1().

◆ expm1f()

__DEVICE__ float expm1f ( float __a)

Definition at line 367 of file __clang_spirv_math.h.

References __a, __DEVICE__, and __spirv_ocl_expm1().

◆ fabs()

__DEVICE__ double fabs ( double __a)

Definition at line 315 of file __clang_spirv_math.h.

References __a, __DEVICE__, and __spirv_ocl_fabs().

◆ fabsf()

__DEVICE__ float fabsf ( float __a)

Definition at line 368 of file __clang_spirv_math.h.

References __a, __DEVICE__, and __spirv_ocl_fabs().

◆ fdim()

__DEVICE__ double fdim ( double __a,
double __b )

Definition at line 369 of file __clang_spirv_math.h.

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

◆ fdimf()

__DEVICE__ float fdimf ( float __a,
float __b )

Definition at line 372 of file __clang_spirv_math.h.

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

◆ fdivide()

__DEVICE__ double fdivide ( double __a,
double __b )

Definition at line 375 of file __clang_spirv_math.h.

References __a, __b, and __DEVICE__.

◆ fdividef()

__DEVICE__ float fdividef ( float __a,
float __b )

Definition at line 376 of file __clang_spirv_math.h.

References __a, __b, and __DEVICE__.

◆ floor()

__DEVICE__ double floor ( double __f)

Definition at line 377 of file __clang_spirv_math.h.

References __DEVICE__, and __spirv_ocl_floor().

◆ floorf()

__DEVICE__ float floorf ( float __f)

Definition at line 378 of file __clang_spirv_math.h.

References __DEVICE__, and __spirv_ocl_floor().

◆ fma()

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

Definition at line 379 of file __clang_spirv_math.h.

References __a, __b, __c, __DEVICE__, and __spirv_ocl_fma().

◆ fmaf()

__DEVICE__ float fmaf ( float __a,
float __b,
float __c )

Definition at line 382 of file __clang_spirv_math.h.

References __a, __b, __c, __DEVICE__, and __spirv_ocl_fma().

◆ fmax()

__DEVICE__ double fmax ( double __a,
double __b )

Definition at line 385 of file __clang_spirv_math.h.

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

◆ fmaxf()

__DEVICE__ float fmaxf ( float __a,
float __b )

Definition at line 388 of file __clang_spirv_math.h.

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

◆ fmin()

__DEVICE__ double fmin ( double __a,
double __b )

Definition at line 391 of file __clang_spirv_math.h.

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

◆ fminf()

__DEVICE__ float fminf ( float __a,
float __b )

Definition at line 394 of file __clang_spirv_math.h.

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

◆ fmod()

__DEVICE__ double fmod ( double __a,
double __b )

Definition at line 397 of file __clang_spirv_math.h.

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

◆ fmodf()

__DEVICE__ float fmodf ( float __a,
float __b )

Definition at line 400 of file __clang_spirv_math.h.

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

◆ frexp()

__DEVICE__ double frexp ( double __a,
int * __b )

Definition at line 403 of file __clang_spirv_math.h.

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

◆ frexpf()

__DEVICE__ float frexpf ( float __a,
int * __b )

Definition at line 406 of file __clang_spirv_math.h.

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

◆ hypot()

__DEVICE__ double hypot ( double __a,
double __b )

Definition at line 409 of file __clang_spirv_math.h.

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

◆ hypotf()

__DEVICE__ float hypotf ( float __a,
float __b )

Definition at line 412 of file __clang_spirv_math.h.

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

◆ ilogb()

__DEVICE__ int ilogb ( double __a)

Definition at line 415 of file __clang_spirv_math.h.

References __a, __DEVICE__, and __spirv_ocl_ilogb().

◆ ilogbf()

__DEVICE__ int ilogbf ( float __a)

Definition at line 416 of file __clang_spirv_math.h.

References __a, __DEVICE__, and __spirv_ocl_ilogb().

◆ labs()

__DEVICE__ long labs ( long __a)

Definition at line 417 of file __clang_spirv_math.h.

References __a, __DEVICE__, and __spirv_ocl_s_abs().

◆ ldexp()

__DEVICE__ double ldexp ( double __a,
int __b )

Definition at line 418 of file __clang_spirv_math.h.

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

◆ ldexpf()

__DEVICE__ float ldexpf ( float __a,
int __b )

Definition at line 421 of file __clang_spirv_math.h.

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

◆ lgamma()

__DEVICE__ double lgamma ( double __a)

Definition at line 424 of file __clang_spirv_math.h.

References __a, __DEVICE__, and __spirv_ocl_lgamma().

◆ lgammaf()

__DEVICE__ float lgammaf ( float __a)

Definition at line 425 of file __clang_spirv_math.h.

References __a, __DEVICE__, and __spirv_ocl_lgamma().

◆ llabs()

__DEVICE__ long long llabs ( long long __a)

Definition at line 426 of file __clang_spirv_math.h.

References __a, __DEVICE__, and __spirv_ocl_s_abs().

◆ llmax()

__DEVICE__ long long llmax ( long long __a,
long long __b )

Definition at line 427 of file __clang_spirv_math.h.

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

◆ llmin()

__DEVICE__ long long llmin ( long long __a,
long long __b )

Definition at line 430 of file __clang_spirv_math.h.

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

◆ llrint()

__DEVICE__ long long llrint ( double __a)

Definition at line 433 of file __clang_spirv_math.h.

References __a, and __DEVICE__.

◆ llrintf()

__DEVICE__ long long llrintf ( float __a)

Definition at line 434 of file __clang_spirv_math.h.

References __a, and __DEVICE__.

◆ llround()

__DEVICE__ long long llround ( double __a)

Definition at line 435 of file __clang_spirv_math.h.

References __a, and __DEVICE__.

◆ llroundf()

__DEVICE__ long long llroundf ( float __a)

Definition at line 436 of file __clang_spirv_math.h.

References __a, and __DEVICE__.

◆ log()

__DEVICE__ double log ( double __a)

Definition at line 439 of file __clang_spirv_math.h.

References __a, __DEVICE__, and __spirv_ocl_log().

◆ log10()

__DEVICE__ double log10 ( double __a)

Definition at line 440 of file __clang_spirv_math.h.

References __a, __DEVICE__, and __spirv_ocl_log10().

◆ log10f()

__DEVICE__ float log10f ( float __a)

Definition at line 441 of file __clang_spirv_math.h.

References __a, __DEVICE__, and __spirv_ocl_log10().

◆ log1p()

__DEVICE__ double log1p ( double __a)

Definition at line 442 of file __clang_spirv_math.h.

References __a, __DEVICE__, and __spirv_ocl_log1p().

◆ log1pf()

__DEVICE__ float log1pf ( float __a)

Definition at line 443 of file __clang_spirv_math.h.

References __a, __DEVICE__, and __spirv_ocl_log1p().

◆ log2()

__DEVICE__ double log2 ( double __a)

Definition at line 444 of file __clang_spirv_math.h.

References __a, __DEVICE__, and __spirv_ocl_log2().

◆ log2f()

__DEVICE__ float log2f ( float __a)

Definition at line 445 of file __clang_spirv_math.h.

References __a, __DEVICE__, and __spirv_ocl_log2().

◆ logb()

__DEVICE__ double logb ( double __a)

Definition at line 446 of file __clang_spirv_math.h.

References __a, __DEVICE__, and __spirv_ocl_logb().

◆ logbf()

__DEVICE__ float logbf ( float __a)

Definition at line 447 of file __clang_spirv_math.h.

References __a, __DEVICE__, and __spirv_ocl_logb().

◆ logf()

__DEVICE__ float logf ( float __a)

Definition at line 448 of file __clang_spirv_math.h.

References __a, __DEVICE__, and __spirv_ocl_log().

◆ lrint()

__DEVICE__ long lrint ( double __a)

Definition at line 449 of file __clang_spirv_math.h.

References __a, and __DEVICE__.

◆ lrintf()

__DEVICE__ long lrintf ( float __a)

Definition at line 450 of file __clang_spirv_math.h.

References __a, and __DEVICE__.

◆ lround()

__DEVICE__ long lround ( double __a)

Definition at line 451 of file __clang_spirv_math.h.

References __a, and __DEVICE__.

◆ lroundf()

__DEVICE__ long lroundf ( float __a)

Definition at line 452 of file __clang_spirv_math.h.

References __a, and __DEVICE__.

◆ max()

__DEVICE__ int max ( int __a,
int __b )

Definition at line 453 of file __clang_spirv_math.h.

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

◆ min()

__DEVICE__ int min ( int __a,
int __b )

Definition at line 454 of file __clang_spirv_math.h.

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

◆ modf()

__DEVICE__ double modf ( double __a,
double * __b )

Definition at line 455 of file __clang_spirv_math.h.

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

◆ modff()

__DEVICE__ float modff ( float __a,
float * __b )

Definition at line 458 of file __clang_spirv_math.h.

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

◆ nan()

double nan ( const char * __tagp)

◆ nanf()

float nanf ( const char * __tagp)

Definition at line 710 of file __clang_spirv_math.h.

References __make_mantissa(), and __spirv_ocl_nan().

Referenced by trunc().

◆ nearbyint()

__DEVICE__ double nearbyint ( double __a)

Definition at line 461 of file __clang_spirv_math.h.

References __a, __DEVICE__, and __spirv_ocl_rint().

◆ nearbyintf()

__DEVICE__ float nearbyintf ( float __a)

Definition at line 462 of file __clang_spirv_math.h.

References __a, __DEVICE__, and __spirv_ocl_rint().

◆ nextafter()

__DEVICE__ double nextafter ( double __a,
double __b )

Definition at line 463 of file __clang_spirv_math.h.

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

◆ nextafterf()

__DEVICE__ float nextafterf ( float __a,
float __b )

Definition at line 466 of file __clang_spirv_math.h.

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

◆ norm()

__DEVICE__ double norm ( int __dim,
const double * __a )

Definition at line 470 of file __clang_spirv_math.h.

References __a, __DEVICE__, and __spirv_ocl_sqrt().

◆ norm3d()

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

Definition at line 479 of file __clang_spirv_math.h.

References __a, __b, __c, __DEVICE__, and __spirv_ocl_sqrt().

◆ norm3df()

__DEVICE__ float norm3df ( float __a,
float __b,
float __c )

Definition at line 482 of file __clang_spirv_math.h.

References __a, __b, __c, __DEVICE__, and __spirv_ocl_sqrt().

◆ norm4d()

__DEVICE__ double norm4d ( double __a,
double __b,
double __c,
double __d )

Definition at line 485 of file __clang_spirv_math.h.

References __a, __b, __c, __DEVICE__, and __spirv_ocl_sqrt().

◆ norm4df()

__DEVICE__ float norm4df ( float __a,
float __b,
float __c,
float __d )

Definition at line 488 of file __clang_spirv_math.h.

References __a, __b, __c, __DEVICE__, and __spirv_ocl_sqrt().

◆ normcdf()

__DEVICE__ double normcdf ( double __a)

Definition at line 491 of file __clang_spirv_math.h.

References __a, __DEVICE__, __spirv_ocl_erf(), and __spirv_ocl_rsqrt().

◆ normcdff()

__DEVICE__ float normcdff ( float __a)

Definition at line 494 of file __clang_spirv_math.h.

References __a, __DEVICE__, __spirv_ocl_erf(), and __spirv_ocl_rsqrt().

◆ normf()

__DEVICE__ float normf ( int __dim,
const float * __a )

Definition at line 497 of file __clang_spirv_math.h.

References __a, __DEVICE__, and __spirv_ocl_sqrt().

◆ pow()

__DEVICE__ double pow ( double __a,
double __b )

Definition at line 505 of file __clang_spirv_math.h.

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

◆ powf()

__DEVICE__ float powf ( float __a,
float __b )

Definition at line 508 of file __clang_spirv_math.h.

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

◆ powi()

__DEVICE__ double powi ( double __a,
int __b )

Definition at line 511 of file __clang_spirv_math.h.

References __a, __b, __DEVICE__, and pow.

◆ powif()

__DEVICE__ float powif ( float __a,
int __b )

Definition at line 512 of file __clang_spirv_math.h.

References __a, __b, __DEVICE__, and pow.

◆ rcbrt()

__DEVICE__ double rcbrt ( double __a)

Definition at line 513 of file __clang_spirv_math.h.

References __a, __DEVICE__, and __spirv_ocl_cbrt().

◆ rcbrtf()

__DEVICE__ float rcbrtf ( float __a)

Definition at line 514 of file __clang_spirv_math.h.

References __a, __DEVICE__, and __spirv_ocl_cbrt().

◆ remainder()

__DEVICE__ double remainder ( double __a,
double __b )

Definition at line 515 of file __clang_spirv_math.h.

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

◆ remainderf()

__DEVICE__ float remainderf ( float __a,
float __b )

Definition at line 518 of file __clang_spirv_math.h.

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

◆ remquo()

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

Definition at line 521 of file __clang_spirv_math.h.

References __a, __b, __c, __DEVICE__, and __spirv_ocl_remquo().

◆ remquof()

__DEVICE__ float remquof ( float __a,
float __b,
int * __c )

Definition at line 524 of file __clang_spirv_math.h.

References __a, __b, __c, __DEVICE__, and __spirv_ocl_remquo().

◆ rhypot()

__DEVICE__ double rhypot ( double __a,
double __b )

Definition at line 527 of file __clang_spirv_math.h.

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

◆ rhypotf()

__DEVICE__ float rhypotf ( float __a,
float __b )

Definition at line 530 of file __clang_spirv_math.h.

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

◆ rint()

__DEVICE__ double rint ( double __a)

Definition at line 533 of file __clang_spirv_math.h.

References __a, __DEVICE__, and __spirv_ocl_rint().

◆ rintf()

__DEVICE__ float rintf ( float __a)

Definition at line 534 of file __clang_spirv_math.h.

References __a, __DEVICE__, and __spirv_ocl_rint().

◆ rnorm()

__DEVICE__ double rnorm ( int __dim,
const double * __a )

Definition at line 535 of file __clang_spirv_math.h.

References __a, __DEVICE__, and __spirv_ocl_rsqrt().

◆ rnorm3d()

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

Definition at line 544 of file __clang_spirv_math.h.

References __a, __b, __c, __DEVICE__, and __spirv_ocl_rsqrt().

◆ rnorm3df()

__DEVICE__ float rnorm3df ( float __a,
float __b,
float __c )

Definition at line 547 of file __clang_spirv_math.h.

References __a, __b, __c, __DEVICE__, and __spirv_ocl_rsqrt().

◆ rnorm4d()

__DEVICE__ double rnorm4d ( double __a,
double __b,
double __c,
double __d )

Definition at line 550 of file __clang_spirv_math.h.

References __a, __b, __c, __DEVICE__, and __spirv_ocl_rsqrt().

◆ rnorm4df()

__DEVICE__ float rnorm4df ( float __a,
float __b,
float __c,
float __d )

Definition at line 553 of file __clang_spirv_math.h.

References __a, __b, __c, __DEVICE__, and __spirv_ocl_rsqrt().

◆ rnormf()

__DEVICE__ float rnormf ( int __dim,
const float * __a )

Definition at line 556 of file __clang_spirv_math.h.

References __a, __DEVICE__, and __spirv_ocl_rsqrt().

◆ round()

__DEVICE__ double round ( double __a)

Definition at line 437 of file __clang_spirv_math.h.

References __a, __DEVICE__, and __spirv_ocl_round().

◆ roundf()

__DEVICE__ float roundf ( float __a)

Definition at line 438 of file __clang_spirv_math.h.

References __a, __DEVICE__, and __spirv_ocl_round().

◆ rsqrt()

__DEVICE__ double rsqrt ( double __a)

Definition at line 565 of file __clang_spirv_math.h.

References __a, __DEVICE__, and __spirv_ocl_rsqrt().

◆ rsqrtf()

__DEVICE__ float rsqrtf ( float __a)

Definition at line 566 of file __clang_spirv_math.h.

References __a, __DEVICE__, and __spirv_ocl_rsqrt().

◆ scalbln()

__DEVICE__ double scalbln ( double __a,
long __b )

Definition at line 573 of file __clang_spirv_math.h.

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

◆ scalblnf()

__DEVICE__ float scalblnf ( float __a,
long __b )

Definition at line 580 of file __clang_spirv_math.h.

References __a, __b, __DEVICE__, HUGE_VALF, INT_MAX, INT_MIN, and scalbnf().

◆ scalbn()

__DEVICE__ double scalbn ( double __a,
int __b )

Definition at line 567 of file __clang_spirv_math.h.

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

◆ scalbnf()

__DEVICE__ float scalbnf ( float __a,
int __b )

Definition at line 570 of file __clang_spirv_math.h.

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

Referenced by scalblnf().

◆ sin()

__DEVICE__ double sin ( double __a)

Definition at line 587 of file __clang_spirv_math.h.

References __a, __DEVICE__, and __spirv_ocl_sin().

◆ sincos()

__DEVICE__ void sincos ( double __a,
double * __s,
double * __c )

Definition at line 588 of file __clang_spirv_math.h.

References __a, __c, __DEVICE__, and __spirv_ocl_sincos().

◆ sincosf()

__DEVICE__ void sincosf ( float __a,
float * __s,
float * __c )

Definition at line 591 of file __clang_spirv_math.h.

References __a, __c, __DEVICE__, and __spirv_ocl_sincos().

◆ sincospi()

__DEVICE__ void sincospi ( double __a,
double * __s,
double * __c )

Definition at line 594 of file __clang_spirv_math.h.

References __a, __c, __DEVICE__, __spirv_ocl_cospi(), and __spirv_ocl_sinpi().

◆ sincospif()

__DEVICE__ void sincospif ( float __a,
float * __s,
float * __c )

Definition at line 598 of file __clang_spirv_math.h.

References __a, __c, __DEVICE__, __spirv_ocl_cospi(), and __spirv_ocl_sinpi().

◆ sinf()

__DEVICE__ float sinf ( float __a)

Definition at line 602 of file __clang_spirv_math.h.

References __a, __DEVICE__, and __spirv_ocl_sin().

◆ sinh()

__DEVICE__ double sinh ( double __a)

Definition at line 603 of file __clang_spirv_math.h.

References __a, __DEVICE__, and __spirv_ocl_sinh().

◆ sinhf()

__DEVICE__ float sinhf ( float __a)

Definition at line 604 of file __clang_spirv_math.h.

References __a, __DEVICE__, and __spirv_ocl_sinh().

◆ sinpi()

__DEVICE__ double sinpi ( double __a)

Definition at line 605 of file __clang_spirv_math.h.

References __a, __DEVICE__, and __spirv_ocl_sinpi().

◆ sinpif()

__DEVICE__ float sinpif ( float __a)

Definition at line 606 of file __clang_spirv_math.h.

References __a, __DEVICE__, and __spirv_ocl_sinpi().

◆ sqrt()

__DEVICE__ double sqrt ( double __a)

Definition at line 607 of file __clang_spirv_math.h.

References __a, __DEVICE__, and __spirv_ocl_sqrt().

◆ sqrtf()

__DEVICE__ float sqrtf ( float __a)

Definition at line 608 of file __clang_spirv_math.h.

References __a, __DEVICE__, and __spirv_ocl_sqrt().

◆ tan()

__DEVICE__ double tan ( double __a)

Definition at line 609 of file __clang_spirv_math.h.

References __a, __DEVICE__, and __spirv_ocl_tan().

◆ tanf()

__DEVICE__ float tanf ( float __a)

Definition at line 610 of file __clang_spirv_math.h.

References __a, __DEVICE__, and __spirv_ocl_tan().

◆ tanh()

__DEVICE__ double tanh ( double __a)

Definition at line 611 of file __clang_spirv_math.h.

References __a, __DEVICE__, and __spirv_ocl_tanh().

◆ tanhf()

__DEVICE__ float tanhf ( float __a)

Definition at line 612 of file __clang_spirv_math.h.

References __a, __DEVICE__, and __spirv_ocl_tanh().

◆ tgamma()

__DEVICE__ double tgamma ( double __a)

Definition at line 613 of file __clang_spirv_math.h.

References __a, __DEVICE__, and __spirv_ocl_tgamma().

◆ tgammaf()

__DEVICE__ float tgammaf ( float __a)

Definition at line 614 of file __clang_spirv_math.h.

References __a, __DEVICE__, and __spirv_ocl_tgamma().

◆ trunc()

__DEVICE__ double trunc ( double __a)

Definition at line 615 of file __clang_spirv_math.h.

References __a, __DEVICE__, and __spirv_ocl_trunc().

◆ truncf()

__DEVICE__ float truncf ( float __a)

Definition at line 616 of file __clang_spirv_math.h.

References __a, __DEVICE__, and __spirv_ocl_trunc().

◆ ullmax()

__DEVICE__ unsigned long long ullmax ( unsigned long long __a,
unsigned long long __b )

Definition at line 617 of file __clang_spirv_math.h.

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

◆ ullmin()

__DEVICE__ unsigned long long ullmin ( unsigned long long __a,
unsigned long long __b )

Definition at line 621 of file __clang_spirv_math.h.

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

◆ umax()

Definition at line 625 of file __clang_spirv_math.h.

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

◆ umin()

Definition at line 628 of file __clang_spirv_math.h.

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