Searched refs:DiyFp (Results 1 – 3 of 3) sorted by relevance
| /OK3568_Linux_fs/buildroot/dl/qt5location/git/src/3rdparty/mapbox-gl-native/deps/rapidjson/1.1.0/include/rapidjson/internal/ |
| H A D | diyfp.h | 43 struct DiyFp { struct 44 DiyFp() : f(), e() {} in DiyFp() argument 46 DiyFp(uint64_t fp, int exp) : f(fp), e(exp) {} in DiyFp() argument 48 explicit DiyFp(double d) { in DiyFp() function 66 DiyFp operator-(const DiyFp& rhs) const { 67 return DiyFp(f - rhs.f, e); 70 DiyFp operator*(const DiyFp& rhs) const { 76 return DiyFp(h, e + rhs.e + 64); argument 84 return DiyFp(h, e + rhs.e + 64); 97 return DiyFp(ac + (ad >> 32) + (bc >> 32) + (tmp >> 32), e + rhs.e + 64); [all …]
|
| H A D | strtod.h | 147 DiyFp v(significand, 0); in StrtodDiyFp() 154 DiyFp cachedPower = GetCachedPower10(dExp, &actualExp); in StrtodDiyFp() 156 static const DiyFp kPow10[] = { in StrtodDiyFp() 157 DiyFp(RAPIDJSON_UINT64_C2(0xa0000000, 00000000), -60), // 10^1 in StrtodDiyFp() 158 DiyFp(RAPIDJSON_UINT64_C2(0xc8000000, 00000000), -57), // 10^2 in StrtodDiyFp() 159 DiyFp(RAPIDJSON_UINT64_C2(0xfa000000, 00000000), -54), // 10^3 in StrtodDiyFp() 160 DiyFp(RAPIDJSON_UINT64_C2(0x9c400000, 00000000), -50), // 10^4 in StrtodDiyFp() 161 DiyFp(RAPIDJSON_UINT64_C2(0xc3500000, 00000000), -47), // 10^5 in StrtodDiyFp() 162 DiyFp(RAPIDJSON_UINT64_C2(0xf4240000, 00000000), -44), // 10^6 in StrtodDiyFp() 163 DiyFp(RAPIDJSON_UINT64_C2(0x98968000, 00000000), -40) // 10^7 in StrtodDiyFp() [all …]
|
| H A D | dtoa.h | 60 inline void DigitGen(const DiyFp& W, const DiyFp& Mp, uint64_t delta, char* buffer, int* len, int* … in DigitGen() 62 const DiyFp one(uint64_t(1) << -Mp.e, Mp.e); in DigitGen() 63 const DiyFp wp_w = Mp - W; in DigitGen() 113 const DiyFp v(value); in Grisu2() 114 DiyFp w_m, w_p; in Grisu2() 117 const DiyFp c_mk = GetCachedPower(w_p.e, K); in Grisu2() 118 const DiyFp W = v.Normalize() * c_mk; in Grisu2() 119 DiyFp Wp = w_p * c_mk; in Grisu2() 120 DiyFp Wm = w_m * c_mk; in Grisu2()
|