3 __host__ __device__
inline void dsadd(float2 &c,
const float2 &a,
const float2 &b) {
6 float t2 = ((b.x - e) + (a.x - (t1 - e))) + a.y + b.y;
14 __host__ __device__
inline doublesingle() :
a(make_float2(0.0f,0.0f)) { ; }
16 __host__ __device__
inline doublesingle(
const float a) :
a(make_float2(
a, 0.0)) { ; }
19 __host__ __device__
inline void operator+=(
const float &b) {
20 float2 b2 = make_float2(b, 0.0);
21 dsadd(this->a, this->a, b2); }
24 {
a.x = b.
a.x;
a.y = b.
a.y;
return *
this; }
27 {
a.x = b;
a.y = 0.0f;
return *
this; }
39 {
x = a;
y = a;
return *
this; }
40 __host__ __device__
inline void operator+=(
const double2 &b) {
x += b.x;
y += b.y;}
45 { a.x += b.
x.
a.x; a.x += b.
x.
a.y; a.y += b.
y.
a.x; a.y += b.
y.
a.y;
return a; }
51 __host__ __device__
inline void operator+=(
const double3 &b) {
x += b.x;
y += b.y;
z += b.z;}
56 { a.x += b.
x.
a.x; a.x += b.
x.
a.y; a.y += b.
y.
a.x; a.y += b.
y.
a.y; a.z += b.
z.
a.x; a.z += b.
z.
a.y;
return a; }
__host__ __device__ doublesingle operator+=(doublesingle &a, const doublesingle &b)
__host__ __device__ void dsadd(float2 &c, const float2 &a, const float2 &b)
__host__ __device__ void operator+=(const double2 &b)
__host__ __device__ void operator+=(const doublesingle2 &b)
__host__ __device__ doublesingle2 & operator=(const double &a)
__host__ __device__ void operator+=(const double3 &b)
__host__ __device__ void operator+=(const doublesingle3 &b)
__host__ __device__ doublesingle(const doublesingle &b)
__host__ __device__ doublesingle(const float a)
__host__ __device__ doublesingle()
__host__ __device__ void operator+=(const doublesingle &b)
__host__ __device__ void operator+=(const float &b)
__host__ __device__ doublesingle & operator=(const doublesingle &b)
__host__ __device__ doublesingle & operator=(const float &b)