#include <gtest-internal.h>
Classes | |
| union | FloatingPointUnion |
Public Types | |
| typedef TypeWithSize< sizeof(RawType)>::UInt | Bits |
Public Member Functions | |
| bool | AlmostEquals (const FloatingPoint &rhs) const |
| const Bits & | bits () const |
| Bits | exponent_bits () const |
| FloatingPoint (const RawType &x) | |
| Bits | fraction_bits () const |
| bool | is_nan () const |
| float | Max () |
| double | Max () |
| Bits | sign_bit () const |
Static Public Member Functions | |
| static RawType | Infinity () |
| static RawType | Max () |
| static RawType | ReinterpretBits (const Bits bits) |
Static Public Attributes | |
| static const size_t | kBitCount = 8*sizeof(RawType) |
| static const size_t | kExponentBitCount = kBitCount - 1 - kFractionBitCount |
| static const Bits | kExponentBitMask = ~(kSignBitMask | kFractionBitMask) |
| static const size_t | kFractionBitCount |
| static const Bits | kFractionBitMask |
| static const size_t | kMaxUlps = 4 |
| static const Bits | kSignBitMask = static_cast<Bits>(1) << (kBitCount - 1) |
Static Private Member Functions | |
| static Bits | DistanceBetweenSignAndMagnitudeNumbers (const Bits &sam1, const Bits &sam2) |
| static Bits | SignAndMagnitudeToBiased (const Bits &sam) |
Private Attributes | |
| FloatingPointUnion | u_ |
Definition at line 270 of file gtest-internal.h.
| typedef TypeWithSize<sizeof(RawType)>::UInt testing::internal::FloatingPoint< RawType >::Bits |
Definition at line 274 of file gtest-internal.h.
|
inlineexplicit |
Definition at line 318 of file gtest-internal.h.
|
inline |
Definition at line 366 of file gtest-internal.h.
|
inline |
Definition at line 342 of file gtest-internal.h.
|
inlinestaticprivate |
Definition at line 409 of file gtest-internal.h.
|
inline |
Definition at line 345 of file gtest-internal.h.
|
inline |
Definition at line 348 of file gtest-internal.h.
|
inlinestatic |
Definition at line 332 of file gtest-internal.h.
|
inline |
Definition at line 354 of file gtest-internal.h.
|
static |
|
inline |
Definition at line 422 of file gtest-internal.h.
|
inline |
Definition at line 424 of file gtest-internal.h.
|
inlinestatic |
Definition at line 325 of file gtest-internal.h.
|
inline |
Definition at line 351 of file gtest-internal.h.
|
inlinestaticprivate |
Definition at line 397 of file gtest-internal.h.
|
static |
Definition at line 279 of file gtest-internal.h.
|
static |
Definition at line 286 of file gtest-internal.h.
|
static |
Definition at line 296 of file gtest-internal.h.
|
static |
Definition at line 282 of file gtest-internal.h.
|
static |
Definition at line 292 of file gtest-internal.h.
|
static |
Definition at line 310 of file gtest-internal.h.
|
static |
Definition at line 289 of file gtest-internal.h.
|
private |
Definition at line 416 of file gtest-internal.h.