QUDA  v1.1.0
A library for QCD on GPUs
Public Member Functions | Public Attributes | List of all members
doubledouble Struct Reference

#include <dbldbl.h>

Public Member Functions

__device__ __host__ doubledouble ()
 
__device__ __host__ doubledouble (const doubledouble &a)
 
__device__ __host__ doubledouble (const dbldbl &a)
 
__device__ __host__ doubledouble (const double &head, const double &tail)
 
__device__ __host__ doubledouble (const double &head)
 
__device__ __host__ doubledoubleoperator= (const double &head)
 
__device__ doubledoubleoperator+= (const doubledouble &a)
 
__device__ __host__ double head () const
 
__device__ __host__ double tail () const
 
__device__ __host__ void print () const
 

Public Attributes

dbldbl a
 

Detailed Description

This C++ wrapper over the above dbldbl functions for easy inclusion in C++ generic template code, e.g., CUB.

Definition at line 283 of file dbldbl.h.

Constructor & Destructor Documentation

◆ doubledouble() [1/5]

__device__ __host__ doubledouble::doubledouble ( )
inline

Definition at line 287 of file dbldbl.h.

◆ doubledouble() [2/5]

__device__ __host__ doubledouble::doubledouble ( const doubledouble a)
inline

Definition at line 288 of file dbldbl.h.

◆ doubledouble() [3/5]

__device__ __host__ doubledouble::doubledouble ( const dbldbl a)
inline

Definition at line 289 of file dbldbl.h.

◆ doubledouble() [4/5]

__device__ __host__ doubledouble::doubledouble ( const double &  head,
const double &  tail 
)
inline

Definition at line 290 of file dbldbl.h.

◆ doubledouble() [5/5]

__device__ __host__ doubledouble::doubledouble ( const double &  head)
inline

Definition at line 291 of file dbldbl.h.

Member Function Documentation

◆ head()

__device__ __host__ double doubledouble::head ( ) const
inline

Definition at line 303 of file dbldbl.h.

◆ operator+=()

__device__ doubledouble& doubledouble::operator+= ( const doubledouble a)
inline

Definition at line 298 of file dbldbl.h.

◆ operator=()

__device__ __host__ doubledouble& doubledouble::operator= ( const double &  head)
inline

Definition at line 293 of file dbldbl.h.

◆ print()

__device__ __host__ void doubledouble::print ( ) const
inline

Definition at line 306 of file dbldbl.h.

◆ tail()

__device__ __host__ double doubledouble::tail ( ) const
inline

Definition at line 304 of file dbldbl.h.

Member Data Documentation

◆ a

dbldbl doubledouble::a

Definition at line 285 of file dbldbl.h.


The documentation for this struct was generated from the following file: