v8
3.14.5(node0.10.28)
V8 is Google's open source JavaScript engine
|
#include <double.h>
Public Member Functions | |
Double () | |
Double (double d) | |
Double (uint64_t d64) | |
Double (DiyFp diy_fp) | |
DiyFp | AsDiyFp () const |
DiyFp | AsNormalizedDiyFp () const |
uint64_t | AsUint64 () const |
double | NextDouble () const |
int | Exponent () const |
uint64_t | Significand () const |
bool | IsDenormal () const |
bool | IsSpecial () const |
bool | IsInfinite () const |
int | Sign () const |
DiyFp | UpperBoundary () const |
void | NormalizedBoundaries (DiyFp *out_m_minus, DiyFp *out_m_plus) const |
double | value () const |
Static Public Member Functions | |
static int | SignificandSizeForOrderOfMagnitude (int order) |
Static Public Attributes | |
static const uint64_t | kSignMask = V8_2PART_UINT64_C(0x80000000, 00000000) |
static const uint64_t | kExponentMask = V8_2PART_UINT64_C(0x7FF00000, 00000000) |
static const uint64_t | kSignificandMask |
static const uint64_t | kHiddenBit = V8_2PART_UINT64_C(0x00100000, 00000000) |
static const int | kPhysicalSignificandSize = 52 |
static const int | kSignificandSize = 53 |
|
inline |
Definition at line 51 of file double.h.
Referenced by Double::NextDouble().
|
inline |
Definition at line 59 of file double.h.
References ASSERT, Double::Exponent(), Double::IsSpecial(), Double::Sign(), and Double::Significand().
Referenced by Double::NormalizedBoundaries(), and TEST().
|
inline |
Definition at line 66 of file double.h.
References ASSERT, Double::Exponent(), Double::kHiddenBit, DiyFp::kSignificandSize, Double::kSignificandSize, Double::Significand(), and Double::value().
Referenced by TEST().
|
inline |
Definition at line 83 of file double.h.
Referenced by Double::Exponent(), Double::IsDenormal(), Double::IsInfinite(), Double::IsSpecial(), Double::Sign(), and Double::Significand().
|
inline |
Definition at line 101 of file double.h.
References Double::AsUint64(), Double::IsDenormal(), Double::kExponentMask, and Double::kPhysicalSignificandSize.
Referenced by Double::AsDiyFp(), Double::AsNormalizedDiyFp(), v8::internal::BignumDtoa(), v8::internal::DoubleToInt32(), v8::internal::FastFixedDtoa(), and Double::UpperBoundary().
|
inline |
Definition at line 121 of file double.h.
References Double::AsUint64(), and Double::kExponentMask.
Referenced by Double::Exponent(), and Double::Significand().
|
inline |
Definition at line 133 of file double.h.
References Double::AsUint64(), Double::kExponentMask, and Double::kSignificandMask.
|
inline |
Definition at line 128 of file double.h.
References Double::AsUint64(), and Double::kExponentMask.
Referenced by Double::AsDiyFp().
|
inline |
Definition at line 88 of file double.h.
References Double::Double(), Double::Sign(), and Double::Significand().
Referenced by TEST().
Definition at line 155 of file double.h.
References Double::AsDiyFp(), ASSERT, DiyFp::e(), DiyFp::f(), Double::kHiddenBit, DiyFp::Normalize(), DiyFp::set_e(), DiyFp::set_f(), and Double::value().
Referenced by TEST().
|
inline |
Definition at line 139 of file double.h.
References Double::AsUint64(), and Double::kSignMask.
Referenced by Double::AsDiyFp(), v8::internal::DoubleToInt32(), Double::NextDouble(), and Double::UpperBoundary().
|
inline |
Definition at line 110 of file double.h.
References Double::AsUint64(), Double::IsDenormal(), Double::kHiddenBit, and Double::kSignificandMask.
Referenced by Double::AsDiyFp(), Double::AsNormalizedDiyFp(), v8::internal::BignumDtoa(), v8::internal::DoubleToInt32(), v8::internal::FastFixedDtoa(), Double::NextDouble(), and Double::UpperBoundary().
|
inlinestatic |
Definition at line 186 of file double.h.
References Double::kSignificandSize.
|
inline |
Definition at line 146 of file double.h.
References ASSERT, Double::Exponent(), Double::Sign(), and Double::Significand().
|
inline |
Definition at line 178 of file double.h.
References v8::internal::uint64_to_double().
Referenced by Double::AsNormalizedDiyFp(), Double::NormalizedBoundaries(), and TEST().
|
static |
Definition at line 44 of file double.h.
Referenced by Double::Exponent(), Double::IsDenormal(), Double::IsInfinite(), and Double::IsSpecial().
|
static |
Definition at line 47 of file double.h.
Referenced by Double::AsNormalizedDiyFp(), Double::NormalizedBoundaries(), and Double::Significand().
|
static |
Definition at line 48 of file double.h.
Referenced by Double::Exponent().
|
static |
Definition at line 45 of file double.h.
Referenced by Double::IsInfinite(), and Double::Significand().
|
static |
Definition at line 49 of file double.h.
Referenced by Double::AsNormalizedDiyFp(), v8::internal::DoubleToInt32(), and Double::SignificandSizeForOrderOfMagnitude().
|
static |
Definition at line 43 of file double.h.
Referenced by Double::Sign(), and v8::internal::SignedZero().