![]() |
VR-Vantage 3.1 API Documentation
|
Public Member Functions | |
| Double () | |
| Double (double d) | |
| Double (uint64_t u) | |
| double | Value () const |
| uint64_t | Uint64Value () const |
| double | NextPositiveDouble () const |
| bool | Sign () const |
| uint64_t | Significand () const |
| int | Exponent () const |
| bool | IsNan () const |
| bool | IsInf () const |
| bool | IsNanOrInf () const |
| bool | IsNormal () const |
| bool | IsZero () const |
| uint64_t | IntegerSignificand () const |
| int | IntegerExponent () const |
| uint64_t | ToBias () const |
Static Public Member Functions | |
| static unsigned | EffectiveSignificandSize (int order) |
Private Attributes | |
| union { | |
| double d_ | |
| uint64_t u_ | |
| }; | |
Static Private Attributes | |
| static const int | kSignificandSize = 52 |
| static const int | kExponentBias = 0x3FF |
| static const int | kDenormalExponent = 1 - kExponentBias |
| static const uint64_t | kSignMask = RAPIDJSON_UINT64_C2(0x80000000, 0x00000000) |
| static const uint64_t | kExponentMask = RAPIDJSON_UINT64_C2(0x7FF00000, 0x00000000) |
| static const uint64_t | kSignificandMask = RAPIDJSON_UINT64_C2(0x000FFFFF, 0xFFFFFFFF) |
| static const uint64_t | kHiddenBit = RAPIDJSON_UINT64_C2(0x00100000, 0x00000000) |
|
inline |
Referenced by NextPositiveDouble().
|
inline |
|
inline |
|
inline |
References d_.
Referenced by internal::StrtodBigInteger().
|
inline |
References Double(), RAPIDJSON_ASSERT, Sign(), and u_.
Referenced by internal::StrtodBigInteger().
|
inline |
Referenced by internal::dtoa(), and NextPositiveDouble().
|
inline |
References kSignificandMask, and u_.
Referenced by IntegerSignificand(), IsInf(), IsNan(), IsNormal(), and internal::StrtodBigInteger().
|
inline |
References kExponentBias, kExponentMask, kSignificandSize, and u_.
Referenced by IntegerExponent().
|
inline |
References kExponentMask, Significand(), and u_.
|
inline |
References kExponentMask, Significand(), and u_.
|
inline |
References kExponentMask, and u_.
|
inline |
References kExponentMask, Significand(), and u_.
Referenced by IntegerExponent(), and IntegerSignificand().
|
inline |
References kExponentMask, kSignificandMask, and u_.
Referenced by internal::dtoa().
|
inline |
References IsNormal(), kHiddenBit, and Significand().
Referenced by internal::CheckWithinHalfULP().
|
inline |
References Exponent(), IsNormal(), kDenormalExponent, and kSignificandSize.
Referenced by internal::CheckWithinHalfULP().
|
inlinestatic |
Referenced by internal::StrtodDiyFp().
|
staticprivate |
Referenced by Exponent(), and IntegerExponent().
|
staticprivate |
Referenced by Exponent().
|
staticprivate |
Referenced by IntegerExponent().
|
staticprivate |
|
staticprivate |
Referenced by Exponent(), IsInf(), IsNan(), IsNanOrInf(), IsNormal(), and IsZero().
|
staticprivate |
Referenced by IsZero(), and Significand().
|
staticprivate |
Referenced by IntegerSignificand().
| double internal::Double::d_ |
Referenced by Value().
| uint64_t internal::Double::u_ |
Referenced by Exponent(), IsInf(), IsNan(), IsNanOrInf(), IsNormal(), IsZero(), NextPositiveDouble(), Sign(), Significand(), ToBias(), and Uint64Value().
| union { ... } |