clang 22.0.0git
__clang_cuda_complex_builtins.h File Reference

Go to the source code of this file.

Macros

#define __DEVICE__   __device__ inline
#define _ISNANd   std::isnan
#define _ISNANf   std::isnan
#define _ISINFd   std::isinf
#define _ISINFf   std::isinf
#define _ISFINITEd   std::isfinite
#define _ISFINITEf   std::isfinite
#define _COPYSIGNd   std::copysign
#define _COPYSIGNf   std::copysign
#define _SCALBNd   std::scalbn
#define _SCALBNf   std::scalbn
#define _ABSd   std::abs
#define _ABSf   std::abs
#define _LOGBd   std::logb
#define _LOGBf   std::logb
#define _fmaxd   max
#define _fmaxf   max

Functions

__DEVICE__ double _Complex __muldc3 (double __a, double __b, double __c, double __d)
__DEVICE__ float _Complex __mulsc3 (float __a, float __b, float __c, float __d)
__DEVICE__ double _Complex __divdc3 (double __a, double __b, double __c, double __d)
__DEVICE__ float _Complex __divsc3 (float __a, float __b, float __c, float __d)

Macro Definition Documentation

◆ __DEVICE__

#define __DEVICE__   __device__ inline

Definition at line 23 of file __clang_cuda_complex_builtins.h.

◆ _ABSd

#define _ABSd   std::abs

Definition at line 40 of file __clang_cuda_complex_builtins.h.

Referenced by __divdc3().

◆ _ABSf

#define _ABSf   std::abs

Definition at line 41 of file __clang_cuda_complex_builtins.h.

Referenced by __divsc3().

◆ _COPYSIGNd

#define _COPYSIGNd   std::copysign

Definition at line 36 of file __clang_cuda_complex_builtins.h.

Referenced by __divdc3(), and __muldc3().

◆ _COPYSIGNf

#define _COPYSIGNf   std::copysign

Definition at line 37 of file __clang_cuda_complex_builtins.h.

Referenced by __divsc3(), and __mulsc3().

◆ _fmaxd

#define _fmaxd   max

Definition at line 45 of file __clang_cuda_complex_builtins.h.

Referenced by __divdc3().

◆ _fmaxf

#define _fmaxf   max

Definition at line 46 of file __clang_cuda_complex_builtins.h.

Referenced by __divsc3().

◆ _ISFINITEd

#define _ISFINITEd   std::isfinite

Definition at line 34 of file __clang_cuda_complex_builtins.h.

Referenced by __divdc3().

◆ _ISFINITEf

#define _ISFINITEf   std::isfinite

Definition at line 35 of file __clang_cuda_complex_builtins.h.

Referenced by __divsc3().

◆ _ISINFd

#define _ISINFd   std::isinf

Definition at line 32 of file __clang_cuda_complex_builtins.h.

Referenced by __divdc3(), and __muldc3().

◆ _ISINFf

#define _ISINFf   std::isinf

Definition at line 33 of file __clang_cuda_complex_builtins.h.

Referenced by __divsc3(), and __mulsc3().

◆ _ISNANd

#define _ISNANd   std::isnan

Definition at line 30 of file __clang_cuda_complex_builtins.h.

Referenced by __divdc3(), and __muldc3().

◆ _ISNANf

#define _ISNANf   std::isnan

Definition at line 31 of file __clang_cuda_complex_builtins.h.

Referenced by __divsc3(), and __mulsc3().

◆ _LOGBd

#define _LOGBd   std::logb

Definition at line 42 of file __clang_cuda_complex_builtins.h.

Referenced by __divdc3().

◆ _LOGBf

#define _LOGBf   std::logb

Definition at line 43 of file __clang_cuda_complex_builtins.h.

Referenced by __divsc3().

◆ _SCALBNd

#define _SCALBNd   std::scalbn

Definition at line 38 of file __clang_cuda_complex_builtins.h.

Referenced by __divdc3().

◆ _SCALBNf

#define _SCALBNf   std::scalbn

Definition at line 39 of file __clang_cuda_complex_builtins.h.

Referenced by __divsc3().

Function Documentation

◆ __divdc3()

__DEVICE__ double _Complex __divdc3 ( double __a,
double __b,
double __c,
double __d )

◆ __divsc3()

__DEVICE__ float _Complex __divsc3 ( float __a,
float __b,
float __c,
float __d )

◆ __muldc3()

__DEVICE__ double _Complex __muldc3 ( double __a,
double __b,
double __c,
double __d )

Definition at line 89 of file __clang_cuda_complex_builtins.h.

References __a, __b, __c, __DEVICE__, _COPYSIGNd, _ISINFd, and _ISNANd.

◆ __mulsc3()

__DEVICE__ float _Complex __mulsc3 ( float __a,
float __b,
float __c,
float __d )

Definition at line 140 of file __clang_cuda_complex_builtins.h.

References __a, __b, __c, __DEVICE__, _COPYSIGNf, _ISINFf, and _ISNANf.