![]() |
VR-Vantage 2.7 API Documentation
|
Public Member Functions | |
| DiyFp () | |
| DiyFp (uint64_t fp, int exp) | |
| DiyFp (double d) | |
| DiyFp | operator- (const DiyFp &rhs) const |
| DiyFp | operator* (const DiyFp &rhs) const |
| DiyFp | Normalize () const |
| DiyFp | NormalizeBoundary () const |
| void | NormalizedBoundaries (DiyFp *minus, DiyFp *plus) const |
| double | ToDouble () const |
Public Attributes | |
| uint64_t | f |
| int | e |
Static Public Attributes | |
| static const int | kDiySignificandSize = 64 |
| static const int | kDpSignificandSize = 52 |
| static const int | kDpExponentBias = 0x3FF + kDpSignificandSize |
| static const int | kDpMaxExponent = 0x7FF - kDpExponentBias |
| static const int | kDpMinExponent = -kDpExponentBias |
| static const int | kDpDenormalExponent = -kDpExponentBias + 1 |
| static const uint64_t | kDpExponentMask = RAPIDJSON_UINT64_C2(0x7FF00000, 0x00000000) |
| static const uint64_t | kDpSignificandMask = RAPIDJSON_UINT64_C2(0x000FFFFF, 0xFFFFFFFF) |
| static const uint64_t | kDpHiddenBit = RAPIDJSON_UINT64_C2(0x00100000, 0x00000000) |
|
inline |
Referenced by Normalize(), NormalizedBoundaries(), operator*(), and operator-().
|
inlineexplicit |
References e, kDpExponentBias, kDpExponentMask, kDpHiddenBit, kDpMinExponent, kDpSignificandMask, and kDpSignificandSize.
|
inline |
Referenced by internal::Grisu2(), and internal::StrtodDiyFp().
|
inline |
References e, f, kDiySignificandSize, kDpHiddenBit, and kDpSignificandSize.
References DiyFp(), e, f, and kDpHiddenBit.
Referenced by internal::Grisu2().
|
inline |
References e, kDpDenormalExponent, kDpExponentBias, kDpHiddenBit, kDpSignificandMask, and kDpSignificandSize.
Referenced by internal::StrtodDiyFp().
|
static |
Referenced by NormalizeBoundary().
|
static |
Referenced by DiyFp(), NormalizeBoundary(), and ToDouble().
|
static |
Referenced by DiyFp(), and ToDouble().
|
static |
|
static |
Referenced by DiyFp().
|
static |
Referenced by ToDouble().
|
static |
Referenced by DiyFp().
|
static |
Referenced by DiyFp(), and ToDouble().
|
static |
Referenced by DiyFp(), NormalizeBoundary(), NormalizedBoundaries(), internal::StrtodDiyFp(), and ToDouble().
| uint64_t internal::DiyFp::f |
| int internal::DiyFp::e |