#include <gtest.h>
Classes | |
union | FloatingPointUnion |
Public Types | |
typedef TypeWithSize< sizeof(RawType)>::UInt | Bits |
typedef TypeWithSize< sizeof(RawType)>::UInt | Bits |
typedef TypeWithSize< sizeof(RawType)>::UInt | Bits |
typedef TypeWithSize< sizeof(RawType)>::UInt | Bits |
Public Member Functions | |
bool | AlmostEquals (const FloatingPoint &rhs) const |
bool | AlmostEquals (const FloatingPoint &rhs) const |
bool | AlmostEquals (const FloatingPoint &rhs) const |
bool | AlmostEquals (const FloatingPoint &rhs) const |
const Bits & | bits () const |
const Bits & | bits () const |
const Bits & | bits () const |
const Bits & | bits () const |
Bits | exponent_bits () const |
Bits | exponent_bits () const |
Bits | exponent_bits () const |
Bits | exponent_bits () const |
FloatingPoint (const RawType &x) | |
FloatingPoint (const RawType &x) | |
FloatingPoint (const RawType &x) | |
FloatingPoint (const RawType &x) | |
Bits | fraction_bits () const |
Bits | fraction_bits () const |
Bits | fraction_bits () const |
Bits | fraction_bits () const |
bool | is_nan () const |
bool | is_nan () const |
bool | is_nan () const |
bool | is_nan () const |
template<> | |
float | Max () |
template<> | |
float | Max () |
template<> | |
double | Max () |
template<> | |
double | Max () |
template<> | |
float | Max () |
template<> | |
float | Max () |
template<> | |
double | Max () |
template<> | |
double | Max () |
Bits | sign_bit () const |
Bits | sign_bit () const |
Bits | sign_bit () const |
Bits | sign_bit () const |
Static Public Member Functions | |
static RawType | Infinity () |
static RawType | Infinity () |
static RawType | Infinity () |
static RawType | Infinity () |
static RawType | Max () |
static RawType | Max () |
static RawType | Max () |
static RawType | Max () |
static RawType | ReinterpretBits (const Bits bits) |
static RawType | ReinterpretBits (const Bits bits) |
static RawType | ReinterpretBits (const Bits bits) |
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 | DistanceBetweenSignAndMagnitudeNumbers (const Bits &sam1, const Bits &sam2) |
static Bits | DistanceBetweenSignAndMagnitudeNumbers (const Bits &sam1, const Bits &sam2) |
static Bits | DistanceBetweenSignAndMagnitudeNumbers (const Bits &sam1, const Bits &sam2) |
static Bits | SignAndMagnitudeToBiased (const Bits &sam) |
static Bits | SignAndMagnitudeToBiased (const Bits &sam) |
static Bits | SignAndMagnitudeToBiased (const Bits &sam) |
static Bits | SignAndMagnitudeToBiased (const Bits &sam) |
Private Attributes | |
FloatingPointUnion | u_ |
Definition at line 7612 of file gmock/fused-src/gtest/gtest.h.
typedef TypeWithSize<sizeof(RawType)>::UInt testing::internal::FloatingPoint< RawType >::Bits |
Definition at line 241 of file gmock/gtest/include/gtest/internal/gtest-internal.h.
typedef TypeWithSize<sizeof(RawType)>::UInt testing::internal::FloatingPoint< RawType >::Bits |
Definition at line 241 of file gtest/include/gtest/internal/gtest-internal.h.
typedef TypeWithSize<sizeof(RawType)>::UInt testing::internal::FloatingPoint< RawType >::Bits |
Definition at line 7617 of file gmock/fused-src/gtest/gtest.h.
typedef TypeWithSize<sizeof(RawType)>::UInt testing::internal::FloatingPoint< RawType >::Bits |
Definition at line 7617 of file gmock/gtest/fused-src/gtest/gtest.h.
|
inlineexplicit |
Definition at line 7661 of file gmock/fused-src/gtest/gtest.h.
|
inlineexplicit |
Definition at line 7661 of file gmock/gtest/fused-src/gtest/gtest.h.
|
inlineexplicit |
Definition at line 285 of file gmock/gtest/include/gtest/internal/gtest-internal.h.
|
inlineexplicit |
Definition at line 285 of file gtest/include/gtest/internal/gtest-internal.h.
|
inline |
Definition at line 336 of file gmock/gtest/include/gtest/internal/gtest-internal.h.
|
inline |
Definition at line 336 of file gtest/include/gtest/internal/gtest-internal.h.
|
inline |
Definition at line 7712 of file gmock/gtest/fused-src/gtest/gtest.h.
|
inline |
Definition at line 7712 of file gmock/fused-src/gtest/gtest.h.
|
inline |
Definition at line 311 of file gtest/include/gtest/internal/gtest-internal.h.
|
inline |
Definition at line 311 of file gmock/gtest/include/gtest/internal/gtest-internal.h.
|
inline |
Definition at line 7687 of file gmock/fused-src/gtest/gtest.h.
|
inline |
Definition at line 7687 of file gmock/gtest/fused-src/gtest/gtest.h.
|
inlinestaticprivate |
Definition at line 386 of file gmock/gtest/include/gtest/internal/gtest-internal.h.
|
inlinestaticprivate |
Definition at line 386 of file gtest/include/gtest/internal/gtest-internal.h.
|
inlinestaticprivate |
Definition at line 7762 of file gmock/fused-src/gtest/gtest.h.
|
inlinestaticprivate |
Definition at line 7762 of file gmock/gtest/fused-src/gtest/gtest.h.
|
inline |
Definition at line 314 of file gtest/include/gtest/internal/gtest-internal.h.
|
inline |
Definition at line 314 of file gmock/gtest/include/gtest/internal/gtest-internal.h.
|
inline |
Definition at line 7690 of file gmock/fused-src/gtest/gtest.h.
|
inline |
Definition at line 7690 of file gmock/gtest/fused-src/gtest/gtest.h.
|
inline |
Definition at line 317 of file gtest/include/gtest/internal/gtest-internal.h.
|
inline |
Definition at line 317 of file gmock/gtest/include/gtest/internal/gtest-internal.h.
|
inline |
Definition at line 7693 of file gmock/gtest/fused-src/gtest/gtest.h.
|
inline |
Definition at line 7693 of file gmock/fused-src/gtest/gtest.h.
|
inlinestatic |
Definition at line 300 of file gtest/include/gtest/internal/gtest-internal.h.
|
inlinestatic |
Definition at line 300 of file gmock/gtest/include/gtest/internal/gtest-internal.h.
|
inlinestatic |
Definition at line 7676 of file gmock/fused-src/gtest/gtest.h.
|
inlinestatic |
Definition at line 7676 of file gmock/gtest/fused-src/gtest/gtest.h.
|
inline |
Definition at line 323 of file gtest/include/gtest/internal/gtest-internal.h.
|
inline |
Definition at line 323 of file gmock/gtest/include/gtest/internal/gtest-internal.h.
|
inline |
Definition at line 7699 of file gmock/fused-src/gtest/gtest.h.
|
inline |
Definition at line 7699 of file gmock/gtest/fused-src/gtest/gtest.h.
|
static |
|
static |
|
inline |
Definition at line 400 of file gtest/include/gtest/internal/gtest-internal.h.
|
inline |
Definition at line 400 of file gmock/gtest/include/gtest/internal/gtest-internal.h.
|
inline |
Definition at line 402 of file gtest/include/gtest/internal/gtest-internal.h.
|
inline |
Definition at line 402 of file gmock/gtest/include/gtest/internal/gtest-internal.h.
|
static |
|
static |
|
inline |
Definition at line 7776 of file gmock/fused-src/gtest/gtest.h.
|
inline |
Definition at line 7776 of file gmock/gtest/fused-src/gtest/gtest.h.
|
inline |
Definition at line 7778 of file gmock/fused-src/gtest/gtest.h.
|
inline |
Definition at line 7778 of file gmock/gtest/fused-src/gtest/gtest.h.
|
inlinestatic |
Definition at line 292 of file gmock/gtest/include/gtest/internal/gtest-internal.h.
|
inlinestatic |
Definition at line 292 of file gtest/include/gtest/internal/gtest-internal.h.
|
inlinestatic |
Definition at line 7668 of file gmock/fused-src/gtest/gtest.h.
|
inlinestatic |
Definition at line 7668 of file gmock/gtest/fused-src/gtest/gtest.h.
|
inline |
Definition at line 320 of file gtest/include/gtest/internal/gtest-internal.h.
|
inline |
Definition at line 320 of file gmock/gtest/include/gtest/internal/gtest-internal.h.
|
inline |
Definition at line 7696 of file gmock/fused-src/gtest/gtest.h.
|
inline |
Definition at line 7696 of file gmock/gtest/fused-src/gtest/gtest.h.
|
inlinestaticprivate |
Definition at line 369 of file gmock/gtest/include/gtest/internal/gtest-internal.h.
|
inlinestaticprivate |
Definition at line 369 of file gtest/include/gtest/internal/gtest-internal.h.
|
inlinestaticprivate |
Definition at line 7745 of file gmock/gtest/fused-src/gtest/gtest.h.
|
inlinestaticprivate |
Definition at line 7745 of file gmock/fused-src/gtest/gtest.h.
|
static |
Definition at line 7622 of file gmock/fused-src/gtest/gtest.h.
|
static |
Definition at line 7629 of file gmock/fused-src/gtest/gtest.h.
|
static |
Definition at line 7639 of file gmock/fused-src/gtest/gtest.h.
|
static |
Definition at line 7625 of file gmock/fused-src/gtest/gtest.h.
|
static |
Definition at line 7635 of file gmock/fused-src/gtest/gtest.h.
|
static |
Definition at line 7653 of file gmock/fused-src/gtest/gtest.h.
|
static |
Definition at line 7632 of file gmock/fused-src/gtest/gtest.h.
|
private |
Definition at line 7770 of file gmock/fused-src/gtest/gtest.h.