Template Class FloatingPoint
Defined in File gtest-internal.h
Nested Relationships
Nested Types
Class Documentation
-
template<typename RawType>
class FloatingPoint Public Types
-
typedef TypeWithSize<sizeof(RawType)>::UInt Bits
Public Functions
-
inline bool is_nan() const
-
inline bool AlmostEquals(const FloatingPoint &rhs) const
-
inline float Max()
-
inline double Max()
Public Static Functions
-
static RawType Max()
Public Static Attributes
-
static const size_t kExponentBitCount = kBitCount - 1 - kFractionBitCount
-
static const Bits kFractionBitMask = ~static_cast<Bits>(0) >> (kExponentBitCount + 1)
-
static const Bits kExponentBitMask = ~(kSignBitMask | kFractionBitMask)
-
static const size_t kMaxUlps = 4
-
typedef TypeWithSize<sizeof(RawType)>::UInt Bits