/external/v8/src/ |
double.h | 62 return DiyFp(Significand(), Exponent()); 68 uint64_t f = Significand(); 90 if (Sign() < 0 && Significand() == 0) { 110 uint64_t Significand() const { 112 uint64_t significand = d64 & kSignificandMask; local 114 return significand + kHiddenBit; 116 return significand; 154 return DiyFp(Significand() * 2 + 1, Exponent() - 1); 186 // Returns the significand size for a given order of magnitude. 191 // zeroes and their effective significand-size is hence smaller 209 uint64_t significand = diy_fp.f(); local [all...] |
bignum-dtoa.cc | 39 static int NormalizedExponent(uint64_t significand, int exponent) { 40 ASSERT(significand != 0); 41 while ((significand & Double::kHiddenBit) == 0) { 42 significand = significand << 1; 93 uint64_t significand = Double(v).Significand(); local 94 bool is_even = (significand & 1) == 0; 96 int normalized_exponent = NormalizedExponent(significand, exponent); 372 // significand size). Then 2^(p-1) <= f < 2^p 450 uint64_t significand = Double(v).Significand(); local 502 uint64_t significand = Double(v).Significand(); local [all...] |
fixed-dtoa.cc | 316 uint64_t significand = Double(v).Significand(); local 318 // v = significand * 2^exponent (with significand a 53bit integer). 326 // At most kDoubleSignificandSize bits of the significand are non-zero. 332 // We know that v = significand * 2^exponent. 341 uint64_t dividend = significand; 344 // Let v = f * 2^e with f == significand and e == exponent. 368 significand <<= exponent; 369 FillDigits64(significand, buffer, length) [all...] |
strtod.cc | 43 // (which has a 53bit significand) without loss of precision. 158 uint64_t significand = ReadUint64(buffer, &read_digits); local 160 *result = DiyFp(significand, 0); 163 // Round the significand. 165 significand++; 169 *result = DiyFp(significand, exponent); 314 // See if the double's significand changes if we add/subtract the error. 406 } else if ((Double(guess).Significand() & 1) == 0) {
|
/external/llvm/include/llvm/ADT/ |
APFloat.h | 69 a 16-bit signed exponent, and the significand as an array of 72 not denormal the P-th bit of the significand is set as an explicit 76 of the significand set. The sign of zeroes and infinities is 77 significant; the exponent and significand of such numbers is not 80 exponent. For NaNs the sign and significand are deterministic, 369 /* Significand operations. */ 430 /* Significand - the fraction with an explicit integer bit. Must be 432 union Significand 436 } significand; member in class:llvm::APFloat 450 significand is appended to the first one, although it would be wrong t [all...] |
/external/v8/test/cctest/ |
test-strtod.cc | 393 if ((d.Significand() & 1) == 0) {
|
/external/llvm/lib/Support/ |
APFloat.cpp | 28 /* Assumed in hexadecimal significand parsing, and conversion to 45 /* Number of bits in the significand. This includes the integer 232 assert(end - begin != 1 && "Significand has no digits"); 246 structure D. Exponent is appropriate if the significand is 247 treated as an integer, and normalizedExponent if the significand 284 assert((*p == 'e' || *p == 'E') && "Invalid character in significand"); 285 assert(p != begin && "Significand has no digits"); 286 assert((dot == end || p - begin != 1) && "Significand has no digits"); 594 significand.parts = new integerPart[count]; 601 delete [] significand.parts [all...] |