QUDA
v1.1.0
A library for QCD on GPUs
|
#include <gtest-internal.h>
Public Types | |
typedef TypeWithSize< sizeof(RawType)>::UInt | Bits |
Public Member Functions | |
FloatingPoint (const RawType &x) | |
const Bits & | bits () const |
Bits | exponent_bits () const |
Bits | fraction_bits () const |
Bits | sign_bit () const |
bool | is_nan () const |
bool | AlmostEquals (const FloatingPoint &rhs) const |
float | Max () |
double | Max () |
Static Public Member Functions | |
static RawType | ReinterpretBits (const Bits bits) |
static RawType | Infinity () |
static RawType | Max () |
Static Public Attributes | |
static const size_t | kBitCount = 8*sizeof(RawType) |
static const size_t | kFractionBitCount |
static const size_t | kExponentBitCount = kBitCount - 1 - kFractionBitCount |
static const Bits | kSignBitMask = static_cast<Bits>(1) << (kBitCount - 1) |
static const Bits | kFractionBitMask |
static const Bits | kExponentBitMask = ~(kSignBitMask | kFractionBitMask) |
static const size_t | kMaxUlps = 4 |
Definition at line 238 of file gtest-internal.h.
typedef TypeWithSize<sizeof(RawType)>::UInt testing::internal::FloatingPoint< RawType >::Bits |
Definition at line 242 of file gtest-internal.h.
|
inlineexplicit |
Definition at line 286 of file gtest-internal.h.
|
inline |
Definition at line 334 of file gtest-internal.h.
|
inline |
Definition at line 310 of file gtest-internal.h.
|
inline |
Definition at line 313 of file gtest-internal.h.
|
inline |
Definition at line 316 of file gtest-internal.h.
|
inlinestatic |
Definition at line 300 of file gtest-internal.h.
|
inline |
Definition at line 322 of file gtest-internal.h.
|
static |
|
inline |
Definition at line 390 of file gtest-internal.h.
|
inline |
Definition at line 392 of file gtest-internal.h.
|
inlinestatic |
Definition at line 293 of file gtest-internal.h.
|
inline |
Definition at line 319 of file gtest-internal.h.
|
static |
Definition at line 247 of file gtest-internal.h.
|
static |
Definition at line 254 of file gtest-internal.h.
|
static |
Definition at line 264 of file gtest-internal.h.
|
static |
Definition at line 250 of file gtest-internal.h.
|
static |
Definition at line 260 of file gtest-internal.h.
|
static |
Definition at line 278 of file gtest-internal.h.
|
static |
Definition at line 257 of file gtest-internal.h.