/external/icu/icu4c/source/i18n/ |
double-conversion-diy-fp.h | 50 // with a uint64 significand and an int exponent. Normalized DiyFp numbers will 53 // DiyFp are not designed to contain special doubles (NaN and Infinity). 54 class DiyFp { 58 DiyFp() : f_(0), e_(0) {} 59 DiyFp(uint64_t significand, int exponent) : f_(significand), e_(exponent) {} 65 void Subtract(const DiyFp& other) { 74 static DiyFp Minus(const DiyFp& a, const DiyFp& b) { 75 DiyFp result = a [all...] |
double-conversion-cached-powers.h | 63 DiyFp* power, 72 DiyFp* power,
|
double-conversion-ieee.h | 68 explicit Double(DiyFp diy_fp) 73 DiyFp AsDiyFp() const { 76 return DiyFp(Significand(), Exponent()); 80 DiyFp AsNormalizedDiyFp() const { 91 f <<= DiyFp::kSignificandSize - kSignificandSize; 92 e -= DiyFp::kSignificandSize - kSignificandSize; 93 return DiyFp(f, e); 176 DiyFp UpperBoundary() const { 178 return DiyFp(Significand() * 2 + 1, Exponent() - 1); 185 void NormalizedBoundaries(DiyFp* out_m_minus, DiyFp* out_m_plus) const [all...] |
double-conversion-fast-dtoa.cpp | 273 // w is a floating-point number (DiyFp), consisting of a significand and an 314 static bool DigitGen(DiyFp low, 315 DiyFp w, 316 DiyFp high, 335 DiyFp too_low = DiyFp(low.f() - unit, low.e()); 336 DiyFp too_high = DiyFp(high.f() + unit, high.e()); 339 DiyFp unsafe_interval = DiyFp::Minus(too_high, too_low) [all...] |
double-conversion-strtod.cpp | 187 // Reads a DiyFp from the buffer. 188 // The returned DiyFp is not necessarily normalized. 189 // If remaining_decimals is zero then the returned DiyFp is accurate. 192 DiyFp* result, 197 *result = DiyFp(significand, 0); 206 *result = DiyFp(significand, exponent); 264 // Returns 10^exponent as an exact DiyFp. 266 static DiyFp AdjustmentPowerOfTen(int exponent) { 273 case 1: return DiyFp(UINT64_2PART_C(0xa0000000, 00000000), -60); 274 case 2: return DiyFp(UINT64_2PART_C(0xc8000000, 00000000), -57) [all...] |
double-conversion-diy-fp.cpp | 47 void DiyFp::Multiply(const DiyFp& other) {
|
double-conversion-cached-powers.cpp | 158 DiyFp* power, 160 int kQ = DiyFp::kSignificandSize; 171 *power = DiyFp(cached_power.significand, cached_power.binary_exponent); 176 DiyFp* power, 183 *power = DiyFp(cached_power.significand, cached_power.binary_exponent);
|
double-conversion.cpp | 648 return Double(DiyFp(number, exponent)).value(); [all...] |
/external/v8/src/ |
diy-fp.h | 16 // with a uint64 significand and an int exponent. Normalized DiyFp numbers will 19 // DiyFp are not designed to contain special doubles (NaN and Infinity). 20 class DiyFp { 24 DiyFp() : f_(0), e_(0) {} 25 DiyFp(uint64_t f, int e) : f_(f), e_(e) {} 31 void Subtract(const DiyFp& other) { 40 static DiyFp Minus(const DiyFp& a, const DiyFp& b) { 41 DiyFp result = a [all...] |
cached-powers.h | 27 DiyFp* power, 36 DiyFp* power,
|
double.h | 35 explicit Double(DiyFp diy_fp) 40 DiyFp AsDiyFp() const { 43 return DiyFp(Significand(), Exponent()); 47 DiyFp AsNormalizedDiyFp() const { 58 f <<= DiyFp::kSignificandSize - kSignificandSize; 59 e -= DiyFp::kSignificandSize - kSignificandSize; 60 return DiyFp(f, e); 127 DiyFp UpperBoundary() const { 129 return DiyFp(Significand() * 2 + 1, Exponent() - 1); 136 void NormalizedBoundaries(DiyFp* out_m_minus, DiyFp* out_m_plus) const [all...] |
fast-dtoa.cc | 330 // w is a floating-point number (DiyFp), consisting of a significand and an 371 static bool DigitGen(DiyFp low, 372 DiyFp w, 373 DiyFp high, 392 DiyFp too_low = DiyFp(low.f() - unit, low.e()); 393 DiyFp too_high = DiyFp(high.f() + unit, high.e()); 396 DiyFp unsafe_interval = DiyFp::Minus(too_high, too_low) [all...] |
strtod.cc | 130 // Reads a DiyFp from the buffer. 131 // The returned DiyFp is not necessarily normalized. 132 // If remaining_decimals is zero then the returned DiyFp is accurate. 135 DiyFp* result, 140 *result = DiyFp(significand, 0); 149 *result = DiyFp(significand, exponent); 212 // Returns 10^exponent as an exact DiyFp. 214 static DiyFp AdjustmentPowerOfTen(int exponent) { 222 return DiyFp(V8_2PART_UINT64_C(0xA0000000, 00000000), -60); 224 return DiyFp(V8_2PART_UINT64_C(0xC8000000, 00000000), -57) [all...] |
diy-fp.cc | 12 void DiyFp::Multiply(const DiyFp& other) {
|
cached-powers.cc | 128 DiyFp* power, 130 int kQ = DiyFp::kSignificandSize; 142 *power = DiyFp(cached_power.significand, cached_power.binary_exponent); 147 DiyFp* power, 154 *power = DiyFp(cached_power.significand, cached_power.binary_exponent);
|