clang 22.0.0git
__clang_cuda_cmath.h File Reference
#include <limits>

Go to the source code of this file.

Classes

struct  __clang_cuda_enable_if< __B, __T >
struct  __clang_cuda_enable_if< true, __T >

Namespaces

namespace  std

Macros

#define __DEVICE__   static __device__ __inline__ __attribute__((always_inline))
#define __CUDA_CLANG_FN_INTEGER_OVERLOAD_1(__retty, __fn)
#define __CUDA_CLANG_FN_INTEGER_OVERLOAD_2(__retty, __fn)
#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::llround(__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::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 long abs (long long __n)
__DEVICE__ long abs (long __n)
__DEVICE__ float abs (float __x)
__DEVICE__ double abs (double __x)
__DEVICE__ float acos (float __x)
 Arc cosine function.
__DEVICE__ float asin (float __x)
 Arc sine function.
__DEVICE__ float atan (float __x)
 Arc tangent function.
__DEVICE__ float atan2 (float __x, float __y)
 Arc tangent of y / x.
__DEVICE__ float ceil (float __x)
 Round to integral value using the round to positive infinity rounding mode.
__DEVICE__ float cos (float __x)
 Compute cosine.
__DEVICE__ float cosh (float __x)
 Compute hyperbolic cosine.
__DEVICE__ float exp (float __x)
 Compute the base e exponential function of x.
__DEVICE__ float fabs (float __x)
 Compute absolute value of a floating-point number.
__DEVICE__ float floor (float __x)
 Round to integral value using the round to -ve infinity rounding mode.
__DEVICE__ float fmod (float __x, float __y)
 Modulus.
__DEVICE__ int fpclassify (float __x)
__DEVICE__ int fpclassify (double __x)
__DEVICE__ float frexp (float __arg, int *__exp)
__DEVICE__ bool isinf (float __x)
 Test for infinity value (+ve or -ve) .
__DEVICE__ bool isinf (double __x)
__DEVICE__ bool isfinite (float __x)
 Test for finite value.
__DEVICE__ bool isfinite (double __x)
__DEVICE__ bool isnan (float __x)
 Test for a NaN.
__DEVICE__ bool isnan (double __x)
__DEVICE__ bool isgreater (float __x, float __y)
 Returns the component-wise compare of x > y.
__DEVICE__ bool isgreater (double __x, double __y)
__DEVICE__ bool isgreaterequal (float __x, float __y)
 Returns the component-wise compare of x >= y.
__DEVICE__ bool isgreaterequal (double __x, double __y)
__DEVICE__ bool isless (float __x, float __y)
 Returns the component-wise compare of x < y.
__DEVICE__ bool isless (double __x, double __y)
__DEVICE__ bool islessequal (float __x, float __y)
 Returns the component-wise compare of x <= y.
__DEVICE__ bool islessequal (double __x, double __y)
__DEVICE__ bool islessgreater (float __x, float __y)
 Returns the component-wise compare of (x < y) || (x > y) .
__DEVICE__ bool islessgreater (double __x, double __y)
__DEVICE__ bool isnormal (float __x)
 Test for a normal value.
__DEVICE__ bool isnormal (double __x)
__DEVICE__ bool isunordered (float __x, float __y)
 Test if arguments are unordered.
__DEVICE__ bool isunordered (double __x, double __y)
__DEVICE__ float ldexp (float __arg, int __exp)
 Multiply x by 2 to the power n.
__DEVICE__ float log (float __x)
 Compute natural logarithm.
__DEVICE__ float log10 (float __x)
 Compute a base 10 logarithm.
__DEVICE__ float modf (float __x, float *__iptr)
__DEVICE__ float pow (float __base, float __exp)
 Compute x to the power y.
__DEVICE__ float pow (float __base, int __iexp)
__DEVICE__ double pow (double __base, int __iexp)
__DEVICE__ bool signbit (float __x)
 Test for sign bit.
__DEVICE__ bool signbit (double __x)
__DEVICE__ float sin (float __x)
 Compute sine.
__DEVICE__ float sinh (float __x)
 Compute hyperbolic sine.
__DEVICE__ float sqrt (float __x)
 Compute square root.
__DEVICE__ float tan (float __x)
 Compute tangent.
__DEVICE__ float tanh (float __x)
 Compute hyperbolic tangent.
 __CUDA_CLANG_FN_INTEGER_OVERLOAD_2 (double, atan2)
 __CUDA_CLANG_FN_INTEGER_OVERLOAD_2 (double, copysign)
 __CUDA_CLANG_FN_INTEGER_OVERLOAD_2 (double, fdim)
 __CUDA_CLANG_FN_INTEGER_OVERLOAD_2 (double, fmax)
 __CUDA_CLANG_FN_INTEGER_OVERLOAD_2 (double, fmin)
 __CUDA_CLANG_FN_INTEGER_OVERLOAD_2 (double, fmod)
 __CUDA_CLANG_FN_INTEGER_OVERLOAD_2 (double, hypot)
 __CUDA_CLANG_FN_INTEGER_OVERLOAD_2 (bool, isgreater)
 __CUDA_CLANG_FN_INTEGER_OVERLOAD_2 (bool, isgreaterequal)
 __CUDA_CLANG_FN_INTEGER_OVERLOAD_1 (bool, isinf)
 __CUDA_CLANG_FN_INTEGER_OVERLOAD_2 (bool, isless)
 __CUDA_CLANG_FN_INTEGER_OVERLOAD_2 (bool, islessequal)
 __CUDA_CLANG_FN_INTEGER_OVERLOAD_2 (bool, islessgreater)
 __CUDA_CLANG_FN_INTEGER_OVERLOAD_1 (bool, isnan)
 __CUDA_CLANG_FN_INTEGER_OVERLOAD_2 (bool, isunordered)
 __CUDA_CLANG_FN_INTEGER_OVERLOAD_1 (double, nearbyint)
 __CUDA_CLANG_FN_INTEGER_OVERLOAD_2 (double, nextafter)
 __CUDA_CLANG_FN_INTEGER_OVERLOAD_2 (double, pow)
 __CUDA_CLANG_FN_INTEGER_OVERLOAD_2 (double, remainder)
 __CUDA_CLANG_FN_INTEGER_OVERLOAD_1 (double, rint)
 __CUDA_CLANG_FN_INTEGER_OVERLOAD_1 (double, round)
 __CUDA_CLANG_FN_INTEGER_OVERLOAD_1 (double, trunc)
template<typename __T1, typename __T2, typename __T3>
__DEVICE__ __clang_cuda_enable_if< std::numeric_limits< __T1 >::is_specialized &&std::numeric_limits< __T2 >::is_specialized &&std::numeric_limits< __T3 >::is_specialized, double >::type fma (__T1 __x, __T2 __y, __T3 __z)
template<typename __T>
__DEVICE__ __clang_cuda_enable_if< std::numeric_limits< __T >::is_integer, double >::type frexp (__T __x, int *__exp)
template<typename __T>
__DEVICE__ __clang_cuda_enable_if< std::numeric_limits< __T >::is_integer, double >::type ldexp (__T __x, int __exp)
template<typename __T1, typename __T2>
__DEVICE__ __clang_cuda_enable_if< std::numeric_limits< __T1 >::is_specialized &&std::numeric_limits< __T2 >::is_specialized, double >::type remquo (__T1 __x, __T2 __y, int *__quo)
template<typename __T>
__DEVICE__ __clang_cuda_enable_if< std::numeric_limits< __T >::is_integer, double >::type scalbln (__T __x, long __exp)
template<typename __T>
__DEVICE__ __clang_cuda_enable_if< std::numeric_limits< __T >::is_integer, double >::type scalbn (__T __x, int __exp)
__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::isless (float __x, float __y)
__DEVICE__ bool std::islessequal (float __x, float __y)
__DEVICE__ bool std::islessgreater (float __x, float __y)
__DEVICE__ bool std::isnormal (float __x)
__DEVICE__ bool std::isunordered (float __x, float __y)
__DEVICE__ bool std::signbit (float __x)
__DEVICE__ bool std::isinf (float __x)
__DEVICE__ bool std::isnan (float __x)
__DEVICE__ float std::acosf (float __a)
__DEVICE__ float std::acoshf (float __a)
__DEVICE__ float std::asinf (float __a)
__DEVICE__ float std::asinhf (float __a)
__DEVICE__ float std::atan2f (float __a, float __b)
__DEVICE__ float std::atanf (float __a)
__DEVICE__ float std::atanhf (float __a)
__DEVICE__ float std::cbrtf (float __a)
__DEVICE__ float std::ceilf (float __a)
__DEVICE__ float std::copysignf (float __a, float __b)
__DEVICE__ float std::cosf (float __a)
__DEVICE__ float std::coshf (float __a)
__DEVICE__ float std::erfcf (float __a)
__DEVICE__ float std::erff (float __a)
__DEVICE__ float std::exp2f (float __a)
__DEVICE__ float std::expf (float __a)
__DEVICE__ float std::expm1f (float __a)
__DEVICE__ float std::fabsf (float __a)
__DEVICE__ float std::fdimf (float __a, float __b)
__DEVICE__ float std::floorf (float __f)
__DEVICE__ float std::fmaf (float __a, float __b, float __c)
__DEVICE__ float std::fmaxf (float __a, float __b)
__DEVICE__ float std::fminf (float __a, float __b)
__DEVICE__ float std::fmodf (float __a, float __b)
__DEVICE__ float std::frexpf (float __a, int *__b)
__DEVICE__ float std::hypotf (float __a, float __b)
__DEVICE__ int std::ilogbf (float __a)
__DEVICE__ float std::ldexpf (float __a, int __b)
__DEVICE__ float std::lgammaf (float __a)
__DEVICE__ long long std::llrintf (float __a)
__DEVICE__ long long std::llroundf (float __a)
__DEVICE__ float std::log10f (float __a)
__DEVICE__ float std::log1pf (float __a)
__DEVICE__ float std::log2f (float __a)
__DEVICE__ float std::logbf (float __a)
__DEVICE__ float std::logf (float __a)
__DEVICE__ long std::lrintf (float __a)
__DEVICE__ long std::lroundf (float __a)
__DEVICE__ float std::modff (float __a, float *__b)
__DEVICE__ float std::nearbyintf (float __a)
__DEVICE__ float std::nextafterf (float __a, float __b)
__DEVICE__ float std::powf (float __a, float __b)
__DEVICE__ float std::remainderf (float __a, float __b)
__DEVICE__ float std::remquof (float __a, float __b, int *__c)
__DEVICE__ float std::rintf (float __a)
__DEVICE__ float std::roundf (float __a)
__DEVICE__ float std::scalblnf (float __a, long __b)
__DEVICE__ float std::scalbnf (float __a, int __b)
__DEVICE__ float std::sinf (float __a)
__DEVICE__ float std::sinhf (float __a)
__DEVICE__ float std::sqrtf (float __a)
__DEVICE__ float std::tanf (float __a)
__DEVICE__ float std::tanhf (float __a)
__DEVICE__ float std::tgammaf (float __a)
__DEVICE__ float std::truncf (float __a)

Macro Definition Documentation

◆ __CUDA_CLANG_FN_INTEGER_OVERLOAD_1

◆ __CUDA_CLANG_FN_INTEGER_OVERLOAD_2

#define __CUDA_CLANG_FN_INTEGER_OVERLOAD_2 ( __retty,
__fn )

◆ __DEVICE__

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

Definition at line 38 of file __clang_cuda_cmath.h.

Referenced by __all(), __any(), __attribute__(), __ballot(), __bool2mask(), __brev(), __brevll(), __byte_perm(), __clz(), __clzll(), __cosf(), __CUDA_CLANG_FN_INTEGER_OVERLOAD_1(), __dadd_rd(), __dadd_rn(), __dadd_ru(), __dadd_rz(), __dAtomicAdd(), __dAtomicAdd_block(), __dAtomicAdd_system(), __ddiv_rd(), __ddiv_rn(), __ddiv_ru(), __ddiv_rz(), __divdc3(), __divsc3(), __dmul_rd(), __dmul_rn(), __dmul_ru(), __dmul_rz(), __double2float_rd(), __double2float_rn(), __double2float_ru(), __double2float_rz(), __double2hiint(), __double2int_rd(), __double2int_rn(), __double2int_ru(), __double2int_rz(), __double2ll_rd(), __double2ll_rn(), __double2ll_ru(), __double2ll_rz(), __double2loint(), __double2uint_rd(), __double2uint_rn(), __double2uint_ru(), __double2uint_rz(), __double2ull_rd(), __double2ull_rn(), __double2ull_ru(), __double2ull_rz(), __double_as_longlong(), __drcp_rd(), __drcp_rn(), __drcp_ru(), __drcp_rz(), __dsqrt_rd(), __dsqrt_rn(), __dsqrt_ru(), __dsqrt_rz(), __dsub_rd(), __dsub_rn(), __dsub_ru(), __dsub_rz(), __exp10f(), __expf(), __fadd_rd(), __fadd_rn(), __fadd_ru(), __fadd_rz(), __fAtomicAdd(), __fAtomicAdd_block(), __fAtomicAdd_system(), __fAtomicExch(), __fAtomicExch_block(), __fAtomicExch_system(), __fdiv_rd(), __fdiv_rn(), __fdiv_ru(), __fdiv_rz(), __fdividef(), __ffs(), __ffsll(), __finite(), __finitef(), __float2int_rd(), __float2int_rn(), __float2int_ru(), __float2int_rz(), __float2ll_rd(), __float2ll_rn(), __float2ll_ru(), __float2ll_rz(), __float2uint_rd(), __float2uint_rn(), __float2uint_ru(), __float2uint_rz(), __float2ull_rd(), __float2ull_rn(), __float2ull_ru(), __float2ull_rz(), __float_as_int(), __float_as_uint(), __fma_rd(), __fma_rn(), __fma_ru(), __fma_rz(), __fmaf_ieee_rd(), __fmaf_ieee_rn(), __fmaf_ieee_ru(), __fmaf_ieee_rz(), __fmaf_rd(), __fmaf_rn(), __fmaf_ru(), __fmaf_rz(), __fmul_rd(), __fmul_rn(), __fmul_ru(), __fmul_rz(), __frcp_rd(), __frcp_rn(), __frcp_ru(), __frcp_rz(), __frsqrt_rn(), __fsqrt_rd(), __fsqrt_rn(), __fsqrt_ru(), __fsqrt_rz(), __fsub_rd(), __fsub_rn(), __fsub_ru(), __fsub_rz(), __hadd(), __hiloint2double(), __iAtomicAdd(), __iAtomicAdd_block(), __iAtomicAdd_system(), __iAtomicAnd(), __iAtomicAnd_block(), __iAtomicAnd_system(), __iAtomicCAS(), __iAtomicCAS_block(), __iAtomicCAS_system(), __iAtomicExch(), __iAtomicExch_block(), __iAtomicExch_system(), __iAtomicMax(), __iAtomicMax_block(), __iAtomicMax_system(), __iAtomicMin(), __iAtomicMin_block(), __iAtomicMin_system(), __iAtomicOr(), __iAtomicOr_block(), __iAtomicOr_system(), __iAtomicXor(), __iAtomicXor_block(), __iAtomicXor_system(), __illAtomicMax(), __illAtomicMax_block(), __illAtomicMax_system(), __illAtomicMin(), __illAtomicMin_block(), __illAtomicMin_system(), __int2double_rn(), __int2float_rd(), __int2float_rn(), __int2float_ru(), __int2float_rz(), __int_as_float(), __isfinited(), __isinf(), __isinff(), __isnan(), __isnanf(), __ll2double_rd(), __ll2double_rn(), __ll2double_ru(), __ll2double_rz(), __ll2float_rd(), __ll2float_rn(), __ll2float_ru(), __ll2float_rz(), __llAtomicAnd(), __llAtomicAnd_block(), __llAtomicAnd_system(), __llAtomicOr(), __llAtomicOr_block(), __llAtomicOr_system(), __llAtomicXor(), __llAtomicXor_block(), __llAtomicXor_system(), __log10f(), __log2f(), __logf(), __longlong_as_double(), __mul24(), __mul64hi(), __muldc3(), __mulhi(), __mulsc3(), __nv_abs(), __nv_acos(), __nv_acosf(), __nv_acosh(), __nv_acoshf(), __nv_asin(), __nv_asinf(), __nv_asinh(), __nv_asinhf(), __nv_atan(), __nv_atan2(), __nv_atan2f(), __nv_atanf(), __nv_atanh(), __nv_atanhf(), __nv_brev(), __nv_brevll(), __nv_byte_perm(), __nv_cbrt(), __nv_cbrtf(), __nv_ceil(), __nv_ceilf(), __nv_clz(), __nv_clzll(), __nv_copysign(), __nv_copysignf(), __nv_cos(), __nv_cosf(), __nv_cosh(), __nv_coshf(), __nv_cospi(), __nv_cospif(), __nv_cyl_bessel_i0(), __nv_cyl_bessel_i0f(), __nv_cyl_bessel_i1(), __nv_cyl_bessel_i1f(), __nv_dadd_rd(), __nv_dadd_rn(), __nv_dadd_ru(), __nv_dadd_rz(), __nv_ddiv_rd(), __nv_ddiv_rn(), __nv_ddiv_ru(), __nv_ddiv_rz(), __nv_dmul_rd(), __nv_dmul_rn(), __nv_dmul_ru(), __nv_dmul_rz(), __nv_double2float_rd(), __nv_double2float_rn(), __nv_double2float_ru(), __nv_double2float_rz(), __nv_double2hiint(), __nv_double2int_rd(), __nv_double2int_rn(), __nv_double2int_ru(), __nv_double2int_rz(), __nv_double2ll_rd(), __nv_double2ll_rn(), __nv_double2ll_ru(), __nv_double2ll_rz(), __nv_double2loint(), __nv_double2uint_rd(), __nv_double2uint_rn(), __nv_double2uint_ru(), __nv_double2uint_rz(), __nv_double2ull_rd(), __nv_double2ull_rn(), __nv_double2ull_ru(), __nv_double2ull_rz(), __nv_double_as_longlong(), __nv_drcp_rd(), __nv_drcp_rn(), __nv_drcp_ru(), __nv_drcp_rz(), __nv_dsqrt_rd(), __nv_dsqrt_rn(), __nv_dsqrt_ru(), __nv_dsqrt_rz(), __nv_dsub_rd(), __nv_dsub_rn(), __nv_dsub_ru(), __nv_dsub_rz(), __nv_erf(), __nv_erfc(), __nv_erfcf(), __nv_erfcinv(), __nv_erfcinvf(), __nv_erfcx(), __nv_erfcxf(), __nv_erff(), __nv_erfinv(), __nv_erfinvf(), __nv_exp(), __nv_exp10(), __nv_exp10f(), __nv_exp2(), __nv_exp2f(), __nv_expf(), __nv_expm1(), __nv_expm1f(), __nv_fabs(), __nv_fabsf(), __nv_fadd_rd(), __nv_fadd_rn(), __nv_fadd_ru(), __nv_fadd_rz(), __nv_fast_cosf(), __nv_fast_exp10f(), __nv_fast_expf(), __nv_fast_fdividef(), __nv_fast_log10f(), __nv_fast_log2f(), __nv_fast_logf(), __nv_fast_powf(), __nv_fast_sincosf(), __nv_fast_sinf(), __nv_fast_tanf(), __nv_fdim(), __nv_fdimf(), __nv_fdiv_rd(), __nv_fdiv_rn(), __nv_fdiv_ru(), __nv_fdiv_rz(), __nv_ffs(), __nv_ffsll(), __nv_finitef(), __nv_float2half_rn(), __nv_float2int_rd(), __nv_float2int_rn(), __nv_float2int_ru(), __nv_float2int_rz(), __nv_float2ll_rd(), __nv_float2ll_rn(), __nv_float2ll_ru(), __nv_float2ll_rz(), __nv_float2uint_rd(), __nv_float2uint_rn(), __nv_float2uint_ru(), __nv_float2uint_rz(), __nv_float2ull_rd(), __nv_float2ull_rn(), __nv_float2ull_ru(), __nv_float2ull_rz(), __nv_float_as_int(), __nv_float_as_uint(), __nv_floor(), __nv_floorf(), __nv_fma(), __nv_fma_rd(), __nv_fma_rn(), __nv_fma_ru(), __nv_fma_rz(), __nv_fmaf(), __nv_fmaf_ieee_rd(), __nv_fmaf_ieee_rn(), __nv_fmaf_ieee_ru(), __nv_fmaf_ieee_rz(), __nv_fmaf_rd(), __nv_fmaf_rn(), __nv_fmaf_ru(), __nv_fmaf_rz(), __nv_fmax(), __nv_fmaxf(), __nv_fmin(), __nv_fminf(), __nv_fmod(), __nv_fmodf(), __nv_fmul_rd(), __nv_fmul_rn(), __nv_fmul_ru(), __nv_fmul_rz(), __nv_frcp_rd(), __nv_frcp_rn(), __nv_frcp_ru(), __nv_frcp_rz(), __nv_frexp(), __nv_frexpf(), __nv_frsqrt_rn(), __nv_fsqrt_rd(), __nv_fsqrt_rn(), __nv_fsqrt_ru(), __nv_fsqrt_rz(), __nv_fsub_rd(), __nv_fsub_rn(), __nv_fsub_ru(), __nv_fsub_rz(), __nv_hadd(), __nv_half2float(), __nv_hiloint2double(), __nv_hypot(), __nv_hypotf(), __nv_ilogb(), __nv_ilogbf(), __nv_int2double_rn(), __nv_int2float_rd(), __nv_int2float_rn(), __nv_int2float_ru(), __nv_int2float_rz(), __nv_int_as_float(), __nv_isfinited(), __nv_isinfd(), __nv_isinff(), __nv_isnand(), __nv_isnanf(), __nv_j0(), __nv_j0f(), __nv_j1(), __nv_j1f(), __nv_jn(), __nv_jnf(), __nv_ldexp(), __nv_ldexpf(), __nv_lgamma(), __nv_lgammaf(), __nv_ll2double_rd(), __nv_ll2double_rn(), __nv_ll2double_ru(), __nv_ll2double_rz(), __nv_ll2float_rd(), __nv_ll2float_rn(), __nv_ll2float_ru(), __nv_ll2float_rz(), __nv_llabs(), __nv_llmax(), __nv_llmin(), __nv_llrint(), __nv_llrintf(), __nv_llround(), __nv_llroundf(), __nv_log(), __nv_log10(), __nv_log10f(), __nv_log1p(), __nv_log1pf(), __nv_log2(), __nv_log2f(), __nv_logb(), __nv_logbf(), __nv_logf(), __nv_longlong_as_double(), __nv_max(), __nv_min(), __nv_modf(), __nv_modff(), __nv_mul24(), __nv_mul64hi(), __nv_mulhi(), __nv_nan(), __nv_nanf(), __nv_nearbyint(), __nv_nearbyintf(), __nv_nextafter(), __nv_nextafterf(), __nv_norm(), __nv_norm3d(), __nv_norm3df(), __nv_norm4d(), __nv_norm4df(), __nv_normcdf(), __nv_normcdff(), __nv_normcdfinv(), __nv_normcdfinvf(), __nv_normf(), __nv_popc(), __nv_popcll(), __nv_pow(), __nv_powf(), __nv_powi(), __nv_powif(), __nv_rcbrt(), __nv_rcbrtf(), __nv_rcp64h(), __nv_remainder(), __nv_remainderf(), __nv_remquo(), __nv_remquof(), __nv_rhadd(), __nv_rhypot(), __nv_rhypotf(), __nv_rint(), __nv_rintf(), __nv_rnorm(), __nv_rnorm3d(), __nv_rnorm3df(), __nv_rnorm4d(), __nv_rnorm4df(), __nv_rnormf(), __nv_round(), __nv_roundf(), __nv_rsqrt(), __nv_rsqrtf(), __nv_sad(), __nv_saturatef(), __nv_scalbn(), __nv_scalbnf(), __nv_signbitd(), __nv_signbitf(), __nv_sin(), __nv_sincos(), __nv_sincosf(), __nv_sincospi(), __nv_sincospif(), __nv_sinf(), __nv_sinh(), __nv_sinhf(), __nv_sinpi(), __nv_sinpif(), __nv_sqrt(), __nv_sqrtf(), __nv_tan(), __nv_tanf(), __nv_tanh(), __nv_tanhf(), __nv_tgamma(), __nv_tgammaf(), __nv_trunc(), __nv_truncf(), __nv_uhadd(), __nv_uint2double_rn(), __nv_uint2float_rd(), __nv_uint2float_rn(), __nv_uint2float_ru(), __nv_uint2float_rz(), __nv_uint_as_float(), __nv_ull2double_rd(), __nv_ull2double_rn(), __nv_ull2double_ru(), __nv_ull2double_rz(), __nv_ull2float_rd(), __nv_ull2float_rn(), __nv_ull2float_ru(), __nv_ull2float_rz(), __nv_ullmax(), __nv_ullmin(), __nv_umax(), __nv_umin(), __nv_umul24(), __nv_umul64hi(), __nv_umulhi(), __nv_urhadd(), __nv_usad(), __nv_y0(), __nv_y0f(), __nv_y1(), __nv_y1f(), __nv_yn(), __nv_ynf(), __pm0(), __pm1(), __pm2(), __pm3(), __popc(), __popcll(), __powf(), __rhadd(), __sad(), __saturatef(), __signbitd(), __signbitf(), __sincosf(), __sinf(), __syncthreads_and(), __syncthreads_count(), __syncthreads_or(), __tanf(), __threadfence(), __threadfence_block(), __threadfence_system(), __trap(), __uAtomicAdd(), __uAtomicAdd_block(), __uAtomicAdd_system(), __uAtomicAnd(), __uAtomicAnd_block(), __uAtomicAnd_system(), __uAtomicCAS(), __uAtomicDec(), __uAtomicDec_block(), __uAtomicDec_system(), __uAtomicExch(), __uAtomicExch_block(), __uAtomicExch_system(), __uAtomicInc(), __uAtomicInc_block(), __uAtomicInc_system(), __uAtomicMax(), __uAtomicMax_block(), __uAtomicMax_system(), __uAtomicMin(), __uAtomicMin_block(), __uAtomicMin_system(), __uAtomicOr(), __uAtomicOr_block(), __uAtomicOr_system(), __uAtomicXor(), __uAtomicXor_block(), __uAtomicXor_system(), __uhadd(), __uint2double_rn(), __uint2float_rd(), __uint2float_rn(), __uint2float_ru(), __uint2float_rz(), __uint_as_float(), __ull2double_rd(), __ull2double_rn(), __ull2double_ru(), __ull2double_rz(), __ull2float_rd(), __ull2float_rn(), __ull2float_ru(), __ull2float_rz(), __ullAtomicAdd(), __ullAtomicAdd_block(), __ullAtomicAdd_system(), __ullAtomicAnd(), __ullAtomicAnd_block(), __ullAtomicAnd_system(), __ullAtomicCAS(), __ullAtomicCAS_block(), __ullAtomicCAS_system(), __ullAtomicExch(), __ullAtomicExch_block(), __ullAtomicExch_system(), __ullAtomicMax(), __ullAtomicMax_block(), __ullAtomicMax_system(), __ullAtomicMin(), __ullAtomicMin_block(), __ullAtomicMin_system(), __ullAtomicOr(), __ullAtomicOr_block(), __ullAtomicOr_system(), __ullAtomicXor(), __ullAtomicXor_block(), __ullAtomicXor_system(), __umul24(), __umul64hi(), __umulhi(), __urhadd(), __usad(), __usAtomicCAS_block(), __usAtomicCAS_system(), __vabs2(), __vabs4(), __vabsdiffs2(), __vabsdiffs4(), __vabsdiffu2(), __vabsdiffu4(), __vabsss2(), __vabsss4(), __vadd2(), __vadd4(), __vaddss2(), __vaddss4(), __vaddus2(), __vaddus4(), __vavgs2(), __vavgs4(), __vavgu2(), __vavgu4(), __vcmpeq2(), __vcmpeq4(), __vcmpges2(), __vcmpges4(), __vcmpgeu2(), __vcmpgeu4(), __vcmpgts2(), __vcmpgts4(), __vcmpgtu2(), __vcmpgtu4(), __vcmples2(), __vcmples4(), __vcmpleu2(), __vcmpleu4(), __vcmplts2(), __vcmplts4(), __vcmpltu2(), __vcmpltu4(), __vcmpne2(), __vcmpne4(), __vhaddu2(), __vhaddu4(), __vmaxs2(), __vmaxs4(), __vmaxu2(), __vmaxu4(), __vmins2(), __vmins4(), __vminu2(), __vminu4(), __vneg2(), __vneg4(), __vnegss2(), __vnegss4(), __vsads2(), __vsads4(), __vsadu2(), __vsadu4(), __vseteq2(), __vseteq4(), __vsetges2(), __vsetges4(), __vsetgeu2(), __vsetgeu4(), __vsetgts2(), __vsetgts4(), __vsetgtu2(), __vsetgtu4(), __vsetles2(), __vsetles4(), __vsetleu2(), __vsetleu4(), __vsetlts2(), __vsetlts4(), __vsetltu2(), __vsetltu4(), __vsetne2(), __vsetne4(), __vsub2(), __vsub4(), __vsubss2(), __vsubss4(), __vsubus2(), __vsubus4(), abs(), abs(), abs(), abs(), abs(), std::abs(), acos(), acos(), std::acos(), acosf(), acosh(), acosh(), std::acosh(), acoshf(), std::arg(), asin(), asin(), std::asin(), asinf(), asinh(), asinh(), std::asinh(), asinhf(), atan(), atan(), std::atan(), atan2(), atan2(), atan2f(), atanf(), atanh(), atanh(), std::atanh(), atanhf(), cbrt(), cbrt(), cbrtf(), ceil(), ceil(), ceilf(), clock(), clock64(), copysign(), copysign(), copysignf(), cos(), cos(), cosf(), cosh(), cosh(), std::cosh(), coshf(), cospi(), cospif(), cyl_bessel_i0(), cyl_bessel_i0f(), cyl_bessel_i1(), cyl_bessel_i1f(), erf(), erf(), erfc(), erfc(), erfcf(), erfcinv(), erfcinvf(), erfcx(), erfcxf(), erff(), erfinv(), erfinvf(), exp(), exp(), std::exp(), exp10(), exp10f(), exp2(), exp2(), exp2f(), expf(), expm1(), expm1(), expm1f(), fabs(), fabs(), fabsf(), fdim(), fdim(), fdimf(), fdivide(), fdividef(), floor(), floor(), floorf(), fma(), fma(), fmaf(), fmax(), fmax(), fmaxf(), fmin(), fmin(), fminf(), fmod(), fmod(), fmodf(), fpclassify(), fpclassify(), frexp(), frexp(), frexpf(), hypot(), hypot(), hypotf(), ilogb(), ilogb(), ilogbf(), isfinite(), isfinite(), isgreater(), isgreater(), isgreaterequal(), isgreaterequal(), isinf(), isinf(), isless(), isless(), islessequal(), islessequal(), islessgreater(), islessgreater(), isnan(), isnan(), isnormal(), isnormal(), isunordered(), isunordered(), j0(), j0f(), j1(), j1f(), jn(), jnf(), labs(), ldexp(), ldexp(), ldexpf(), lgamma(), lgamma(), lgammaf(), llabs(), llmax(), llmin(), llrint(), llrint(), llrintf(), llround(), llround(), llroundf(), log(), log(), log10(), log10(), log10f(), log1p(), log1p(), log1pf(), log2(), log2(), log2f(), logb(), logb(), logbf(), logf(), lrint(), lrint(), lrintf(), lround(), lround(), lroundf(), max(), memcpy(), memset(), min(), modf(), modf(), modff(), std::nan(), nanf(), nearbyint(), nearbyint(), nearbyintf(), nextafter(), nextafter(), nextafterf(), norm(), std::norm(), norm3d(), norm3df(), norm4d(), norm4df(), normcdf(), normcdff(), normcdfinv(), normcdfinvf(), normf(), pow(), pow(), pow(), pow(), powf(), powi(), powif(), rcbrt(), rcbrtf(), remainder(), remainder(), remainderf(), remquo(), remquo(), remquof(), rhypot(), rhypotf(), rint(), rint(), rintf(), rnorm(), rnorm3d(), rnorm3df(), rnorm4d(), rnorm4df(), rnormf(), round(), round(), roundf(), rsqrt(), rsqrtf(), scalbln(), scalbln(), scalblnf(), scalbn(), scalbn(), scalbnf(), signbit(), signbit(), sin(), sin(), std::sin(), sinf(), sinh(), sinh(), std::sinh(), sinhf(), sinpi(), sinpif(), sqrt(), sqrt(), std::sqrt(), sqrtf(), std::tan(), tan(), tan(), tanf(), std::tanh(), tanh(), tanh(), tanhf(), tgamma(), tgamma(), tgammaf(), trunc(), trunc(), truncf(), ullmax(), ullmin(), umax(), umin(), y0(), y0f(), y1(), y1f(), yn(), and ynf().

Function Documentation

◆ __CUDA_CLANG_FN_INTEGER_OVERLOAD_1() [1/6]

__CUDA_CLANG_FN_INTEGER_OVERLOAD_1 ( bool ,
isinf  )

◆ __CUDA_CLANG_FN_INTEGER_OVERLOAD_1() [2/6]

__CUDA_CLANG_FN_INTEGER_OVERLOAD_1 ( bool ,
isnan  )

◆ __CUDA_CLANG_FN_INTEGER_OVERLOAD_1() [3/6]

__CUDA_CLANG_FN_INTEGER_OVERLOAD_1 ( double ,
nearbyint  )

◆ __CUDA_CLANG_FN_INTEGER_OVERLOAD_1() [4/6]

__CUDA_CLANG_FN_INTEGER_OVERLOAD_1 ( double ,
rint  )

◆ __CUDA_CLANG_FN_INTEGER_OVERLOAD_1() [5/6]

__CUDA_CLANG_FN_INTEGER_OVERLOAD_1 ( double ,
round  )

◆ __CUDA_CLANG_FN_INTEGER_OVERLOAD_1() [6/6]

__CUDA_CLANG_FN_INTEGER_OVERLOAD_1 ( double ,
trunc  )

◆ __CUDA_CLANG_FN_INTEGER_OVERLOAD_2() [1/16]

__CUDA_CLANG_FN_INTEGER_OVERLOAD_2 ( bool ,
isgreater  )

◆ __CUDA_CLANG_FN_INTEGER_OVERLOAD_2() [2/16]

__CUDA_CLANG_FN_INTEGER_OVERLOAD_2 ( bool ,
isgreaterequal  )

◆ __CUDA_CLANG_FN_INTEGER_OVERLOAD_2() [3/16]

__CUDA_CLANG_FN_INTEGER_OVERLOAD_2 ( bool ,
isless  )

◆ __CUDA_CLANG_FN_INTEGER_OVERLOAD_2() [4/16]

__CUDA_CLANG_FN_INTEGER_OVERLOAD_2 ( bool ,
islessequal  )

◆ __CUDA_CLANG_FN_INTEGER_OVERLOAD_2() [5/16]

__CUDA_CLANG_FN_INTEGER_OVERLOAD_2 ( bool ,
islessgreater  )

◆ __CUDA_CLANG_FN_INTEGER_OVERLOAD_2() [6/16]

◆ __CUDA_CLANG_FN_INTEGER_OVERLOAD_2() [7/16]

__CUDA_CLANG_FN_INTEGER_OVERLOAD_2 ( double ,
atan2  )

◆ __CUDA_CLANG_FN_INTEGER_OVERLOAD_2() [8/16]

__CUDA_CLANG_FN_INTEGER_OVERLOAD_2 ( double ,
copysign  )

◆ __CUDA_CLANG_FN_INTEGER_OVERLOAD_2() [9/16]

__CUDA_CLANG_FN_INTEGER_OVERLOAD_2 ( double ,
fdim  )

◆ __CUDA_CLANG_FN_INTEGER_OVERLOAD_2() [10/16]

__CUDA_CLANG_FN_INTEGER_OVERLOAD_2 ( double ,
fmax  )

◆ __CUDA_CLANG_FN_INTEGER_OVERLOAD_2() [11/16]

__CUDA_CLANG_FN_INTEGER_OVERLOAD_2 ( double ,
fmin  )

◆ __CUDA_CLANG_FN_INTEGER_OVERLOAD_2() [12/16]

__CUDA_CLANG_FN_INTEGER_OVERLOAD_2 ( double ,
fmod  )

◆ __CUDA_CLANG_FN_INTEGER_OVERLOAD_2() [13/16]

__CUDA_CLANG_FN_INTEGER_OVERLOAD_2 ( double ,
hypot  )

◆ __CUDA_CLANG_FN_INTEGER_OVERLOAD_2() [14/16]

__CUDA_CLANG_FN_INTEGER_OVERLOAD_2 ( double ,
nextafter  )

◆ __CUDA_CLANG_FN_INTEGER_OVERLOAD_2() [15/16]

__CUDA_CLANG_FN_INTEGER_OVERLOAD_2 ( double ,
pow  )

◆ __CUDA_CLANG_FN_INTEGER_OVERLOAD_2() [16/16]

__CUDA_CLANG_FN_INTEGER_OVERLOAD_2 ( double ,
remainder  )

◆ abs() [1/4]

__DEVICE__ double abs ( double __x)

Definition at line 44 of file __clang_cuda_cmath.h.

References __DEVICE__.

◆ abs() [2/4]

__DEVICE__ float abs ( float __x)

Definition at line 43 of file __clang_cuda_cmath.h.

References __DEVICE__.

◆ abs() [3/4]

__DEVICE__ long abs ( long __n)

Definition at line 42 of file __clang_cuda_cmath.h.

References __DEVICE__.

◆ abs() [4/4]

◆ acos()

__DEVICE__ float acos ( float __x)

Arc cosine function.

Definition at line 45 of file __clang_cuda_cmath.h.

References __DEVICE__.

◆ asin()

__DEVICE__ float asin ( float __x)

Arc sine function.

Definition at line 46 of file __clang_cuda_cmath.h.

References __DEVICE__.

◆ atan()

__DEVICE__ float atan ( float __x)

Arc tangent function.

Definition at line 47 of file __clang_cuda_cmath.h.

References __DEVICE__.

◆ atan2()

__DEVICE__ float atan2 ( float __x,
float __y )

Arc tangent of y / x.

Definition at line 48 of file __clang_cuda_cmath.h.

References __DEVICE__, and __y.

◆ ceil()

__DEVICE__ float ceil ( float __x)

Round to integral value using the round to positive infinity rounding mode.

Definition at line 49 of file __clang_cuda_cmath.h.

References __DEVICE__.

◆ cos()

__DEVICE__ float cos ( float __x)

Compute cosine.

Definition at line 50 of file __clang_cuda_cmath.h.

References __DEVICE__.

◆ cosh()

__DEVICE__ float cosh ( float __x)

Compute hyperbolic cosine.

Definition at line 51 of file __clang_cuda_cmath.h.

References __DEVICE__.

◆ exp()

__DEVICE__ float exp ( float __x)

Compute the base e exponential function of x.

Definition at line 52 of file __clang_cuda_cmath.h.

References __DEVICE__.

◆ fabs()

__DEVICE__ float fabs ( float __x)

Compute absolute value of a floating-point number.

Definition at line 53 of file __clang_cuda_cmath.h.

References __DEVICE__.

◆ floor()

__DEVICE__ float floor ( float __x)

Round to integral value using the round to -ve infinity rounding mode.

Definition at line 54 of file __clang_cuda_cmath.h.

References __DEVICE__.

◆ fma()

template<typename __T1, typename __T2, typename __T3>
__DEVICE__ __clang_cuda_enable_if< std::numeric_limits< __T1 >::is_specialized &&std::numeric_limits< __T2 >::is_specialized &&std::numeric_limits< __T3 >::is_specialized, double >::type fma ( __T1 __x,
__T2 __y,
__T3 __z )

Definition at line 313 of file __clang_cuda_cmath.h.

References __y, and fma.

◆ fmod()

__DEVICE__ float fmod ( float __x,
float __y )

Modulus.

Returns x - y * trunc (x/y).

Definition at line 55 of file __clang_cuda_cmath.h.

References __DEVICE__, and __y.

◆ 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]

template<typename __T>
__DEVICE__ __clang_cuda_enable_if< std::numeric_limits< __T >::is_integer, double >::type frexp ( __T __x,
int * __exp )

Definition at line 320 of file __clang_cuda_cmath.h.

References frexp.

◆ frexp() [2/2]

__DEVICE__ float frexp ( float __arg,
int * __exp )

Definition at line 64 of file __clang_cuda_cmath.h.

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)

Test for finite value.

Definition at line 103 of file __clang_cuda_cmath.h.

References __DEVICE__.

Referenced by __CUDA_CLANG_FN_INTEGER_OVERLOAD_2(), and trunc().

◆ 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 )

Returns the component-wise compare of x > y.

Definition at line 117 of file __clang_cuda_cmath.h.

References __DEVICE__, and __y.

Referenced by __CUDA_CLANG_FN_INTEGER_OVERLOAD_2(), and trunc().

◆ 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 )

Returns the component-wise compare of x >= y.

Definition at line 123 of file __clang_cuda_cmath.h.

References __DEVICE__, and __y.

Referenced by __CUDA_CLANG_FN_INTEGER_OVERLOAD_2(), and trunc().

◆ 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)

Test for infinity value (+ve or -ve) .

Definition at line 101 of file __clang_cuda_cmath.h.

References __DEVICE__.

Referenced by __CUDA_CLANG_FN_INTEGER_OVERLOAD_1(), clang::CodeGen::CGHLSLRuntime::GENERATE_HLSL_INTRINSIC_FUNCTION(), and trunc().

◆ 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 )

Returns the component-wise compare of x < y.

Definition at line 129 of file __clang_cuda_cmath.h.

References __DEVICE__, and __y.

Referenced by __CUDA_CLANG_FN_INTEGER_OVERLOAD_2(), and trunc().

◆ 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 )

Returns the component-wise compare of x <= y.

Definition at line 135 of file __clang_cuda_cmath.h.

References __DEVICE__, and __y.

Referenced by __CUDA_CLANG_FN_INTEGER_OVERLOAD_2(), and trunc().

◆ 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 )

Returns the component-wise compare of (x < y) || (x > y) .

Definition at line 141 of file __clang_cuda_cmath.h.

References __DEVICE__, and __y.

Referenced by __CUDA_CLANG_FN_INTEGER_OVERLOAD_2(), and trunc().

◆ 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)

Test for a NaN.

Definition at line 108 of file __clang_cuda_cmath.h.

References __DEVICE__.

Referenced by __CUDA_CLANG_FN_INTEGER_OVERLOAD_1(), and trunc().

◆ 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)

Test for a normal value.

Definition at line 147 of file __clang_cuda_cmath.h.

References __DEVICE__.

Referenced by __CUDA_CLANG_FN_INTEGER_OVERLOAD_1(), and trunc().

◆ 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 )

Test if arguments are unordered.

isunordered() takes arguments x and y, returning non-zero if x or y is NaN, and zero otherwise.

Definition at line 149 of file __clang_cuda_cmath.h.

References __DEVICE__, and __y.

Referenced by __CUDA_CLANG_FN_INTEGER_OVERLOAD_2(), and trunc().

◆ ldexp() [1/2]

template<typename __T>
__DEVICE__ __clang_cuda_enable_if< std::numeric_limits< __T >::is_integer, double >::type ldexp ( __T __x,
int __exp )

Definition at line 327 of file __clang_cuda_cmath.h.

References ldexp.

◆ ldexp() [2/2]

__DEVICE__ float ldexp ( float __arg,
int __exp )

Multiply x by 2 to the power n.

Definition at line 155 of file __clang_cuda_cmath.h.

References __DEVICE__.

◆ log()

__DEVICE__ float log ( float __x)

Compute natural logarithm.

Definition at line 158 of file __clang_cuda_cmath.h.

References __DEVICE__.

◆ log10()

__DEVICE__ float log10 ( float __x)

Compute a base 10 logarithm.

Definition at line 159 of file __clang_cuda_cmath.h.

References __DEVICE__.

◆ modf()

__DEVICE__ float modf ( float __x,
float * __iptr )

Definition at line 160 of file __clang_cuda_cmath.h.

References __DEVICE__.

Referenced by mutateLongDoubleBuiltin(), and trunc().

◆ pow() [1/3]

__DEVICE__ double pow ( double __base,
int __iexp )

Definition at line 167 of file __clang_cuda_cmath.h.

References __DEVICE__.

◆ pow() [2/3]

__DEVICE__ float pow ( float __base,
float __exp )

Compute x to the power y.

Definition at line 161 of file __clang_cuda_cmath.h.

References __DEVICE__.

◆ pow() [3/3]

__DEVICE__ float pow ( float __base,
int __iexp )

Definition at line 164 of file __clang_cuda_cmath.h.

References __DEVICE__.

◆ remquo()

template<typename __T1, typename __T2>
__DEVICE__ __clang_cuda_enable_if< std::numeric_limits< __T1 >::is_specialized &&std::numeric_limits< __T2 >::is_specialized, double >::type remquo ( __T1 __x,
__T2 __y,
int * __quo )

Definition at line 336 of file __clang_cuda_cmath.h.

References __y, and remquo.

◆ scalbln()

template<typename __T>
__DEVICE__ __clang_cuda_enable_if< std::numeric_limits< __T >::is_integer, double >::type scalbln ( __T __x,
long __exp )

Definition at line 343 of file __clang_cuda_cmath.h.

References scalbln.

◆ scalbn()

template<typename __T>
__DEVICE__ __clang_cuda_enable_if< std::numeric_limits< __T >::is_integer, double >::type scalbn ( __T __x,
int __exp )

Definition at line 350 of file __clang_cuda_cmath.h.

References scalbn.

◆ 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)

Test for sign bit.

The scalar version of the function returns a 1 if the sign bit in the float is set else returns

  1. The vector version of the function returns the following for each component in floatn: a -1 if the sign bit in the float is set else returns 0.

Definition at line 170 of file __clang_cuda_cmath.h.

References __DEVICE__.

Referenced by __CUDA_CLANG_FN_INTEGER_OVERLOAD_1(), and trunc().

◆ sin()

__DEVICE__ float sin ( float __x)

Compute sine.

Definition at line 172 of file __clang_cuda_cmath.h.

References __DEVICE__.

◆ sinh()

__DEVICE__ float sinh ( float __x)

Compute hyperbolic sine.

Definition at line 173 of file __clang_cuda_cmath.h.

References __DEVICE__.

◆ sqrt()

__DEVICE__ float sqrt ( float __x)

Compute square root.

Definition at line 174 of file __clang_cuda_cmath.h.

References __DEVICE__.

◆ tan()

__DEVICE__ float tan ( float __x)

Compute tangent.

Definition at line 175 of file __clang_cuda_cmath.h.

References __DEVICE__.

◆ tanh()

__DEVICE__ float tanh ( float __x)

Compute hyperbolic tangent.

Definition at line 176 of file __clang_cuda_cmath.h.

References __DEVICE__.