Sacado Package Browser (Single Doxygen Collection)
Version of the Day
|
#include <gtest-internal.h>
Classes | |
union | FloatingPointUnion |
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 |
template<> | |
float | Max () |
template<> | |
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 |
Static Private Member Functions | |
static Bits | SignAndMagnitudeToBiased (const Bits &sam) |
static Bits | DistanceBetweenSignAndMagnitudeNumbers (const Bits &sam1, const Bits &sam2) |
Private Attributes | |
FloatingPointUnion | u_ |
Definition at line 250 of file gtest-internal.h.
typedef TypeWithSize<sizeof(RawType)>::UInt testing::internal::FloatingPoint< RawType >::Bits |
Definition at line 254 of file gtest-internal.h.
|
inlineexplicit |
Definition at line 298 of file gtest-internal.h.
|
inlinestatic |
Definition at line 305 of file gtest-internal.h.
|
inlinestatic |
Definition at line 312 of file gtest-internal.h.
|
static |
|
inline |
Definition at line 322 of file gtest-internal.h.
|
inline |
Definition at line 325 of file gtest-internal.h.
|
inline |
Definition at line 328 of file gtest-internal.h.
|
inline |
Definition at line 331 of file gtest-internal.h.
|
inline |
Definition at line 334 of file gtest-internal.h.
|
inline |
Definition at line 346 of file gtest-internal.h.
|
inlinestaticprivate |
Definition at line 377 of file gtest-internal.h.
|
inlinestaticprivate |
Definition at line 389 of file gtest-internal.h.
|
inline |
Definition at line 402 of file gtest-internal.h.
|
inline |
Definition at line 404 of file gtest-internal.h.
|
static |
Definition at line 259 of file gtest-internal.h.
|
static |
Definition at line 262 of file gtest-internal.h.
|
static |
Definition at line 266 of file gtest-internal.h.
|
static |
Definition at line 269 of file gtest-internal.h.
|
static |
Definition at line 272 of file gtest-internal.h.
|
static |
Definition at line 276 of file gtest-internal.h.
|
static |
Definition at line 290 of file gtest-internal.h.
|
private |
Definition at line 396 of file gtest-internal.h.