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 _SCALBNd   __builtin_scalbn
#define _SCALBNf   __builtin_scalbnf
#define _LOGBd   __builtin_logb
#define _LOGBf   __builtin_logbf

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.

◆ _LOGBd

#define _LOGBd   __builtin_logb

Definition at line 35 of file __clang_cuda_complex_builtins.h.

Referenced by __divdc3().

◆ _LOGBf

#define _LOGBf   __builtin_logbf

Definition at line 36 of file __clang_cuda_complex_builtins.h.

Referenced by __divsc3().

◆ _SCALBNd

#define _SCALBNd   __builtin_scalbn

Definition at line 33 of file __clang_cuda_complex_builtins.h.

Referenced by __divdc3().

◆ _SCALBNf

#define _SCALBNf   __builtin_scalbnf

Definition at line 34 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 )

Definition at line 142 of file __clang_cuda_complex_builtins.h.

References __a, __b, __c, __DEVICE__, _LOGBd, _SCALBNd, and int.

◆ __divsc3()

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

Definition at line 180 of file __clang_cuda_complex_builtins.h.

References __a, __b, __c, __DEVICE__, _LOGBf, _SCALBNf, and int.

◆ __muldc3()

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

Definition at line 43 of file __clang_cuda_complex_builtins.h.

References __a, __b, __c, and __DEVICE__.

◆ __mulsc3()

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

Definition at line 94 of file __clang_cuda_complex_builtins.h.

References __a, __b, __c, and __DEVICE__.