v8toolkit
0.0.1
Utility library for embedding V8 Javascript engine in a c++ program
|
#include <gtest-internal.h>
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 |
Definition at line 262 of file gtest-internal.h.
typedef TypeWithSize<sizeof(RawType)>::UInt testing::internal::FloatingPoint< RawType >::Bits |
Definition at line 266 of file gtest-internal.h.
|
inlineexplicit |
Definition at line 310 of file gtest-internal.h.
|
inlinestatic |
Definition at line 317 of file gtest-internal.h.
|
inlinestatic |
Definition at line 324 of file gtest-internal.h.
|
static |
|
inline |
Definition at line 334 of file gtest-internal.h.
|
inline |
Definition at line 337 of file gtest-internal.h.
|
inline |
Definition at line 340 of file gtest-internal.h.
|
inline |
Definition at line 343 of file gtest-internal.h.
|
inline |
Definition at line 346 of file gtest-internal.h.
Referenced by testing::internal::FloatingPoint< RawType >::AlmostEquals(), and testing::internal::FloatingEqMatcher< FloatType >::Impl< T >::MatchAndExplain().
|
inline |
Definition at line 358 of file gtest-internal.h.
References testing::internal::FloatingPoint< RawType >::is_nan().
|
inline |
Definition at line 414 of file gtest-internal.h.
|
inline |
Definition at line 416 of file gtest-internal.h.
|
static |
Definition at line 271 of file gtest-internal.h.
|
static |
Definition at line 274 of file gtest-internal.h.
|
static |
Definition at line 278 of file gtest-internal.h.
|
static |
Definition at line 281 of file gtest-internal.h.
|
static |
Definition at line 284 of file gtest-internal.h.
|
static |
Definition at line 288 of file gtest-internal.h.
|
static |
Definition at line 302 of file gtest-internal.h.