V8 API Reference, 7.2.502.16 (for Deno 0.2.4)
v8::internal::Double Class Reference

Public Member Functions

 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 constexpr uint64_t kSignMask = V8_2PART_UINT64_C(0x80000000, 00000000)
 
static constexpr uint64_t kExponentMask
 
static constexpr uint64_t kSignificandMask
 
static constexpr uint64_t kHiddenBit
 
static constexpr int kPhysicalSignificandSize
 
static constexpr int kSignificandSize = 53
 

Detailed Description

Definition at line 19 of file double.h.

Member Data Documentation

◆ kExponentMask

constexpr uint64_t v8::internal::Double::kExponentMask
static
Initial value:
=
V8_2PART_UINT64_C(0x7FF00000, 00000000)

Definition at line 22 of file double.h.

◆ kHiddenBit

constexpr uint64_t v8::internal::Double::kHiddenBit
static
Initial value:
=
V8_2PART_UINT64_C(0x00100000, 00000000)

Definition at line 26 of file double.h.

◆ kPhysicalSignificandSize

constexpr int v8::internal::Double::kPhysicalSignificandSize
static
Initial value:
=
52

Definition at line 28 of file double.h.

◆ kSignificandMask

constexpr uint64_t v8::internal::Double::kSignificandMask
static
Initial value:
=
V8_2PART_UINT64_C(0x000FFFFF, FFFFFFFF)

Definition at line 24 of file double.h.


The documentation for this class was generated from the following file: