15 #ifndef RAPIDJSON_IEEE754_ 16 #define RAPIDJSON_IEEE754_ 18 #include "../rapidjson.h" 54 else if (
order <= -1074)
57 return static_cast<unsigned>(
order) + 1074;
78 #endif // RAPIDJSON_IEEE754_ uint64_t ToBias() const
Definition: ieee754.h:49
uint64_t Significand() const
Definition: ieee754.h:38
Double(uint64_t u)
Definition: ieee754.h:27
static const int kExponentBias
Definition: ieee754.h:62
static unsigned EffectiveSignificandSize(int order)
Definition: ieee754.h:51
uint64_t IntegerSignificand() const
Definition: ieee754.h:47
bool IsInf() const
Definition: ieee754.h:42
static const uint64_t kHiddenBit
Definition: ieee754.h:67
double Value() const
Definition: ieee754.h:29
#define RAPIDJSON_NAMESPACE_END
provide custom rapidjson namespace (closing expression)
Definition: rapidjson.h:119
int IntegerExponent() const
Definition: ieee754.h:48
bool Sign() const
Definition: ieee754.h:37
uint64_t u_
Definition: ieee754.h:71
#define RAPIDJSON_ASSERT(x)
Assertion.
Definition: rapidjson.h:402
static const int kDenormalExponent
Definition: ieee754.h:63
static const uint64_t kExponentMask
Definition: ieee754.h:65
GLuint GLdouble GLdouble GLint GLint order
Definition: glext.h:12101
Definition: document.h:391
bool IsNanOrInf() const
Definition: ieee754.h:43
bool IsZero() const
Definition: ieee754.h:45
double d_
Definition: ieee754.h:70
#define RAPIDJSON_NAMESPACE_BEGIN
provide custom rapidjson namespace (opening expression)
Definition: rapidjson.h:116
static const uint64_t kSignificandMask
Definition: ieee754.h:66
bool IsNormal() const
Definition: ieee754.h:44
int Exponent() const
Definition: ieee754.h:39
Double()
Definition: ieee754.h:25
#define RAPIDJSON_UINT64_C2(high32, low32)
Construct a 64-bit literal by a pair of 32-bit integer.
Definition: rapidjson.h:289
static const uint64_t kSignMask
Definition: ieee754.h:64
static const int kSignificandSize
Definition: ieee754.h:61
uint64_t Uint64Value() const
Definition: ieee754.h:30
unsigned __int64 uint64_t
Definition: stdint.h:136
bool IsNan() const
Definition: ieee754.h:41
double NextPositiveDouble() const
Definition: ieee754.h:32
Double(double d)
Definition: ieee754.h:26