ETISS 0.8.0
Extendable Translating Instruction Set Simulator (version 0.8.0)
Classes | Macros | Functions
__clang_cuda_cmath.h File Reference
#include <limits>
Include dependency graph for __clang_cuda_cmath.h:

Go to the source code of this file.

Classes

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

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)
 

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. More...
 
__DEVICE__ float asin (float __x)
 Arc sine function. More...
 
__DEVICE__ float atan (float __x)
 Arc tangent function. More...
 
__DEVICE__ float atan2 (float __x, float __y)
 Arc tangent of y / x. More...
 
__DEVICE__ float ceil (float __x)
 Round to integral value using the round to positive infinity rounding mode. More...
 
__DEVICE__ float cos (float __x)
 Compute cosine. More...
 
__DEVICE__ float cosh (float __x)
 Compute hyperbolic cosine. More...
 
__DEVICE__ float exp (float __x)
 Compute the base e exponential function of x. More...
 
__DEVICE__ float fabs (float __x)
 Compute absolute value of a floating-point number. More...
 
__DEVICE__ float floor (float __x)
 Round to integral value using the round to -ve infinity rounding mode. More...
 
__DEVICE__ float fmod (float __x, float __y)
 Modulus. More...
 
__DEVICE__ int fpclassify (float __x)
 
__DEVICE__ int fpclassify (double __x)
 
__DEVICE__ float frexp (float __arg, int *__exp)
 Extract mantissa and exponent from x. More...
 
__DEVICE__ bool isinf (float __x)
 Test for infinity value (+ve or -ve) . More...
 
__DEVICE__ bool isinf (double __x)
 
__DEVICE__ bool isfinite (float __x)
 Test for finite value. More...
 
__DEVICE__ bool isfinite (double __x)
 
__DEVICE__ bool isnan (float __x)
 Test for a NaN. More...
 
__DEVICE__ bool isnan (double __x)
 
__DEVICE__ bool isgreater (float __x, float __y)
 Returns the component-wise compare of x > y. More...
 
__DEVICE__ bool isgreater (double __x, double __y)
 
__DEVICE__ bool isgreaterequal (float __x, float __y)
 Returns the component-wise compare of x >= y. More...
 
__DEVICE__ bool isgreaterequal (double __x, double __y)
 
__DEVICE__ bool isless (float __x, float __y)
 Returns the component-wise compare of x < y. More...
 
__DEVICE__ bool isless (double __x, double __y)
 
__DEVICE__ bool islessequal (float __x, float __y)
 Returns the component-wise compare of x <= y. More...
 
__DEVICE__ bool islessequal (double __x, double __y)
 
__DEVICE__ bool islessgreater (float __x, float __y)
 Returns the component-wise compare of (x < y) || (x > y) . More...
 
__DEVICE__ bool islessgreater (double __x, double __y)
 
__DEVICE__ bool isnormal (float __x)
 Test for a normal value. More...
 
__DEVICE__ bool isnormal (double __x)
 
__DEVICE__ bool isunordered (float __x, float __y)
 Test if arguments are unordered. More...
 
__DEVICE__ bool isunordered (double __x, double __y)
 
__DEVICE__ float ldexp (float __arg, int __exp)
 Multiply x by 2 to the power n. More...
 
__DEVICE__ float log (float __x)
 Compute natural logarithm. More...
 
__DEVICE__ float log10 (float __x)
 Compute a base 10 logarithm. More...
 
__DEVICE__ float modf (float __x, float *__iptr)
 Decompose a floating-point number. More...
 
__DEVICE__ float pow (float __base, float __exp)
 Compute x to the power y. More...
 
__DEVICE__ float pow (float __base, int __iexp)
 
__DEVICE__ double pow (double __base, int __iexp)
 
__DEVICE__ bool signbit (float __x)
 Test for sign bit. More...
 
__DEVICE__ bool signbit (double __x)
 
__DEVICE__ float sin (float __x)
 Compute sine. More...
 
__DEVICE__ float sinh (float __x)
 Compute hyperbolic sine. More...
 
__DEVICE__ float sqrt (float __x)
 Compute square root. More...
 
__DEVICE__ float tan (float __x)
 Compute tangent. More...
 
__DEVICE__ float tanh (float __x)
 Compute hyperbolic tangent. More...
 
 __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)
 

Macro Definition Documentation

◆ __CUDA_CLANG_FN_INTEGER_OVERLOAD_1

#define __CUDA_CLANG_FN_INTEGER_OVERLOAD_1 (   __retty,
  __fn 
)
Value:
template <typename __T> \
__DEVICE__ \
__retty>::type \
__fn(__T __x) { \
return ::__fn((double)__x); \
}
static __inline unsigned char unsigned int __x
Definition: adxintrin.h:22

Definition at line 175 of file __clang_cuda_cmath.h.

◆ __CUDA_CLANG_FN_INTEGER_OVERLOAD_2

#define __CUDA_CLANG_FN_INTEGER_OVERLOAD_2 (   __retty,
  __fn 
)
Value:
template <typename __T1, typename __T2> \
__DEVICE__ typename __clang_cuda_enable_if< \
std::numeric_limits<__T1>::is_specialized && \
std::numeric_limits<__T2>::is_specialized, \
__retty>::type \
__fn(__T1 __x, __T2 __y) { \
return __fn((double)__x, (double)__y); \
}
static __inline unsigned char unsigned int unsigned int __y
Definition: adxintrin.h:22

Definition at line 189 of file __clang_cuda_cmath.h.

◆ __DEVICE__

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

Definition at line 38 of file __clang_cuda_cmath.h.

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 ( bool  ,
isunordered   
)

◆ __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 __x, and fabs().

Here is the call graph for this function:

◆ abs() [2/4]

__DEVICE__ float abs ( float  __x)

Definition at line 43 of file __clang_cuda_cmath.h.

References __x, and fabsf().

Here is the call graph for this function:

◆ abs() [3/4]

__DEVICE__ long abs ( long  __n)

Definition at line 42 of file __clang_cuda_cmath.h.

References labs().

Here is the call graph for this function:

◆ abs() [4/4]

__DEVICE__ long long abs ( long long  __n)

Definition at line 41 of file __clang_cuda_cmath.h.

References llabs().

Here is the call graph for this function:

◆ acos()

__DEVICE__ float acos ( float  __x)

Arc cosine function.

Definition at line 45 of file __clang_cuda_cmath.h.

References __x, and acosf().

Here is the call graph for this function:

◆ asin()

__DEVICE__ float asin ( float  __x)

Arc sine function.

Definition at line 46 of file __clang_cuda_cmath.h.

References __x, and asinf().

Here is the call graph for this function:

◆ atan()

__DEVICE__ float atan ( float  __x)

Arc tangent function.

Definition at line 47 of file __clang_cuda_cmath.h.

References __x, and atanf().

Here is the call graph for this function:

◆ atan2()

__DEVICE__ float atan2 ( float  __x,
float  __y 
)

Arc tangent of y / x.

Definition at line 48 of file __clang_cuda_cmath.h.

References __x, __y, and atan2f().

Here is the call graph for this function:

◆ 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 __x, and ceilf().

Here is the call graph for this function:

◆ cos()

__DEVICE__ float cos ( float  __x)

Compute cosine.

Definition at line 50 of file __clang_cuda_cmath.h.

References __x, and cosf().

Here is the call graph for this function:

◆ cosh()

__DEVICE__ float cosh ( float  __x)

Compute hyperbolic cosine.

Definition at line 51 of file __clang_cuda_cmath.h.

References __x, and coshf().

Here is the call graph for this function:

◆ 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 __x, and expf().

Here is the call graph for this function:

◆ 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 __x, and fabsf().

Referenced by abs().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ 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 __x, and floorf().

Here is the call graph for this function:

◆ 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 271 of file __clang_cuda_cmath.h.

References __x, and __y.

◆ 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 __x, __y, and fmodf().

Here is the call graph for this function:

◆ fpclassify() [1/2]

__DEVICE__ int fpclassify ( double  __x)

Definition at line 60 of file __clang_cuda_cmath.h.

References __x.

◆ fpclassify() [2/2]

__DEVICE__ int fpclassify ( float  __x)

Definition at line 56 of file __clang_cuda_cmath.h.

References __x.

Referenced by convert_number_to_string_special(), and is_nan().

Here is the caller graph for this function:

◆ 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 278 of file __clang_cuda_cmath.h.

References __x, and frexp().

Here is the call graph for this function:

◆ frexp() [2/2]

__DEVICE__ float frexp ( float  x,
int exp 
)

Extract mantissa and exponent from x.

For each component the mantissa returned is a float with magnitude in the interval [1/2, 1) or 0. Each component of x equals mantissa returned * 2^exp.

Definition at line 64 of file __clang_cuda_cmath.h.

References frexpf().

Referenced by frexp().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ isfinite() [1/2]

__DEVICE__ bool isfinite ( double  __x)

Definition at line 79 of file __clang_cuda_cmath.h.

References __isfinited(), and __x.

Here is the call graph for this function:

◆ isfinite() [2/2]

__DEVICE__ bool isfinite ( float  __x)

Test for finite value.

Definition at line 75 of file __clang_cuda_cmath.h.

References __finitef(), and __x.

Here is the call graph for this function:

◆ isgreater() [1/2]

__DEVICE__ bool isgreater ( double  __x,
double  __y 
)

Definition at line 87 of file __clang_cuda_cmath.h.

References __x, and __y.

◆ isgreater() [2/2]

__DEVICE__ bool isgreater ( float  __x,
float  __y 
)

Returns the component-wise compare of x > y.

Definition at line 84 of file __clang_cuda_cmath.h.

References __x, and __y.

◆ isgreaterequal() [1/2]

__DEVICE__ bool isgreaterequal ( double  __x,
double  __y 
)

Definition at line 93 of file __clang_cuda_cmath.h.

References __x, and __y.

◆ isgreaterequal() [2/2]

__DEVICE__ bool isgreaterequal ( float  __x,
float  __y 
)

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

Definition at line 90 of file __clang_cuda_cmath.h.

References __x, and __y.

◆ isinf() [1/2]

__DEVICE__ bool isinf ( double  __x)

Definition at line 74 of file __clang_cuda_cmath.h.

References __isinf(), and __x.

Here is the call graph for this function:

◆ isinf() [2/2]

__DEVICE__ bool isinf ( float  __x)

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

Definition at line 73 of file __clang_cuda_cmath.h.

References __isinff(), and __x.

Here is the call graph for this function:

◆ isless() [1/2]

__DEVICE__ bool isless ( double  __x,
double  __y 
)

Definition at line 99 of file __clang_cuda_cmath.h.

References __x, and __y.

◆ isless() [2/2]

__DEVICE__ bool isless ( float  __x,
float  __y 
)

Returns the component-wise compare of x < y.

Definition at line 96 of file __clang_cuda_cmath.h.

References __x, and __y.

◆ islessequal() [1/2]

__DEVICE__ bool islessequal ( double  __x,
double  __y 
)

Definition at line 105 of file __clang_cuda_cmath.h.

References __x, and __y.

◆ islessequal() [2/2]

__DEVICE__ bool islessequal ( float  __x,
float  __y 
)

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

Definition at line 102 of file __clang_cuda_cmath.h.

References __x, and __y.

◆ islessgreater() [1/2]

__DEVICE__ bool islessgreater ( double  __x,
double  __y 
)

Definition at line 111 of file __clang_cuda_cmath.h.

References __x, 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 108 of file __clang_cuda_cmath.h.

References __x, and __y.

◆ isnan() [1/2]

__DEVICE__ bool isnan ( double  __x)

Definition at line 81 of file __clang_cuda_cmath.h.

References __isnan(), and __x.

Here is the call graph for this function:

◆ isnan() [2/2]

__DEVICE__ bool isnan ( float  __x)

Test for a NaN.

Definition at line 80 of file __clang_cuda_cmath.h.

References __isnanf(), and __x.

Here is the call graph for this function:

◆ isnormal() [1/2]

__DEVICE__ bool isnormal ( double  __x)

Definition at line 115 of file __clang_cuda_cmath.h.

References __x.

◆ isnormal() [2/2]

__DEVICE__ bool isnormal ( float  __x)

Test for a normal value.

Definition at line 114 of file __clang_cuda_cmath.h.

References __x.

◆ isunordered() [1/2]

__DEVICE__ bool isunordered ( double  __x,
double  __y 
)

Definition at line 119 of file __clang_cuda_cmath.h.

References __x, 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 116 of file __clang_cuda_cmath.h.

References __x, and __y.

◆ 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 285 of file __clang_cuda_cmath.h.

References __x, and ldexp().

Here is the call graph for this function:

◆ ldexp() [2/2]

__DEVICE__ float ldexp ( float  __arg,
int  __exp 
)

Multiply x by 2 to the power n.

Definition at line 122 of file __clang_cuda_cmath.h.

References ldexpf().

Referenced by ldexp().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ log()

__DEVICE__ float log ( float  __x)

Compute natural logarithm.

Definition at line 125 of file __clang_cuda_cmath.h.

References __x, and logf().

Here is the call graph for this function:

◆ log10()

__DEVICE__ float log10 ( float  __x)

Compute a base 10 logarithm.

Definition at line 126 of file __clang_cuda_cmath.h.

References __x, and log10f().

Here is the call graph for this function:

◆ modf()

__DEVICE__ float modf ( float  x,
float iptr 
)

Decompose a floating-point number.

The modf function breaks the argument x into integral and fractional parts, each of which has the same sign as the argument. It stores the integral part in the object pointed to by iptr.

Definition at line 127 of file __clang_cuda_cmath.h.

References __x, and modff().

Here is the call graph for this function:

◆ pow() [1/3]

__DEVICE__ double pow ( double  __base,
int  __iexp 
)

Definition at line 134 of file __clang_cuda_cmath.h.

References powi().

Here is the call graph for this function:

◆ pow() [2/3]

__DEVICE__ float pow ( float  __base,
float  __exp 
)

Compute x to the power y.

Definition at line 128 of file __clang_cuda_cmath.h.

References powf().

Here is the call graph for this function:

◆ pow() [3/3]

__DEVICE__ float pow ( float  __base,
int  __iexp 
)

Definition at line 131 of file __clang_cuda_cmath.h.

References powif().

Here is the call graph for this function:

◆ 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 294 of file __clang_cuda_cmath.h.

References __x, and __y.

◆ 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 301 of file __clang_cuda_cmath.h.

References __x.

◆ 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 308 of file __clang_cuda_cmath.h.

References __x.

◆ signbit() [1/2]

__DEVICE__ bool signbit ( double  __x)

Definition at line 138 of file __clang_cuda_cmath.h.

References __signbitd(), and __x.

Here is the call graph for this function:

◆ 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 0. 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 137 of file __clang_cuda_cmath.h.

References __signbitf(), and __x.

Here is the call graph for this function:

◆ sin()

__DEVICE__ float sin ( float  __x)

Compute sine.

Definition at line 139 of file __clang_cuda_cmath.h.

References __x, and sinf().

Here is the call graph for this function:

◆ sinh()

__DEVICE__ float sinh ( float  __x)

Compute hyperbolic sine.

Definition at line 140 of file __clang_cuda_cmath.h.

References __x, and sinhf().

Here is the call graph for this function:

◆ sqrt()

__DEVICE__ float sqrt ( float  __x)

Compute square root.

Definition at line 141 of file __clang_cuda_cmath.h.

References __x, and sqrtf().

Here is the call graph for this function:

◆ tan()

__DEVICE__ float tan ( float  __x)

Compute tangent.

Definition at line 142 of file __clang_cuda_cmath.h.

References __x, and tanf().

Here is the call graph for this function:

◆ tanh()

__DEVICE__ float tanh ( float  __x)

Compute hyperbolic tangent.

Definition at line 143 of file __clang_cuda_cmath.h.

References __x, and tanhf().

Here is the call graph for this function: