Orxonox
0.0.5 Codename: Arcturus
|
Classes | |
union | FloatingPointUnion |
Public Types | |
typedef TypeWithSize< sizeof(RawType)>::UInt | Bits |
Public Member Functions | |
FloatingPoint (const RawType &x) | |
bool | AlmostEquals (const FloatingPoint &rhs) const |
const Bits & | bits () const |
Bits | exponent_bits () const |
Bits | fraction_bits () const |
bool | is_nan () const |
Bits | sign_bit () const |
Static Public Member Functions | |
static RawType | Infinity () |
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_ |
typedef TypeWithSize<sizeof(RawType)>::UInt testing::internal::FloatingPoint< RawType >::Bits |
|
inlineexplicit |
|
inline |
|
inline |
|
inlinestaticprivate |
|
inline |
|
inline |
|
inlinestatic |
|
inline |
|
inlinestatic |
|
inline |
|
inlinestaticprivate |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
private |