/external/ImageMagick/MagickCore/ |
D | quantum-private.h | 130 significand, in HalfToSinglePrecision() local 148 significand=(unsigned int) (half & 0x000003ff); in HalfToSinglePrecision() 151 if (significand == 0) in HalfToSinglePrecision() 155 while ((significand & SignificandMask) == 0) in HalfToSinglePrecision() 157 significand<<=1; in HalfToSinglePrecision() 161 significand&=(~SignificandMask); in HalfToSinglePrecision() 164 (significand << SignificandShift); in HalfToSinglePrecision() 171 if (significand != 0) in HalfToSinglePrecision() 172 value|=(significand << SignificandShift); in HalfToSinglePrecision() 177 significand<<=SignificandShift; in HalfToSinglePrecision() [all …]
|
/external/icu/icu4c/source/i18n/ |
D | double-conversion-bignum-dtoa.cpp | 51 static int NormalizedExponent(uint64_t significand, int exponent) { in NormalizedExponent() argument 52 ASSERT(significand != 0); in NormalizedExponent() 53 while ((significand & Double::kHiddenBit) == 0) { in NormalizedExponent() 54 significand = significand << 1; in NormalizedExponent() 66 static void InitialScaledStartValues(uint64_t significand, 107 uint64_t significand; in BignumDtoa() local 113 significand = Single(f).Significand(); in BignumDtoa() 117 significand = Double(v).Significand(); in BignumDtoa() 124 bool is_even = (significand & 1) == 0; in BignumDtoa() 125 int normalized_exponent = NormalizedExponent(significand, exponent); in BignumDtoa() [all …]
|
D | double-conversion-diy-fp.h | 59 DiyFp(uint64_t significand, int exponent) : f_(significand), e_(exponent) {} in DiyFp() argument 93 uint64_t significand = f_; in Normalize() local 99 while ((significand & k10MSBits) == 0) { in Normalize() 100 significand <<= 10; in Normalize() 103 while ((significand & kUint64MSB) == 0) { in Normalize() 104 significand <<= 1; in Normalize() 107 f_ = significand; in Normalize()
|
D | double-conversion-ieee.h | 136 uint64_t significand = d64 & kSignificandMask; in Significand() local 138 return significand + kHiddenBit; in Significand() 140 return significand; in Significand() 248 uint64_t significand = diy_fp.f(); in DiyFpToUint64() local 250 while (significand > kHiddenBit + kSignificandMask) { in DiyFpToUint64() 251 significand >>= 1; in DiyFpToUint64() 260 while (exponent > kDenormalExponent && (significand & kHiddenBit) == 0) { in DiyFpToUint64() 261 significand <<= 1; in DiyFpToUint64() 265 if (exponent == kDenormalExponent && (significand & kHiddenBit) == 0) { in DiyFpToUint64() 270 return (significand & kSignificandMask) | in DiyFpToUint64() [all …]
|
D | double-conversion-cached-powers.cpp | 53 uint64_t significand; member 171 *power = DiyFp(cached_power.significand, cached_power.binary_exponent); in GetCachedPowerForBinaryExponentRange() 183 *power = DiyFp(cached_power.significand, cached_power.binary_exponent); in GetCachedPowerForDecimalExponent()
|
/external/deqp-deps/glslang/SPIRV/ |
D | hex_float.h | 372 uint_type significand = getSignificandBits(); 374 significand = static_cast<uint_type>(significand << 1); 376 significand &= fraction_encode_mask; 377 return significand; 396 bool negative, int_type exponent, uint_type significand, 398 bool significand_is_zero = significand == 0; 404 significand |= first_exponent_bit; 405 significand = static_cast<uint_type>(significand >> 1); 409 significand = static_cast<uint_type>(significand >> 1); 414 if (significand == 0 && !significand_is_zero && round_denorm_up) { [all …]
|
/external/deqp-deps/SPIRV-Tools/source/util/ |
D | hex_float.h | 404 uint_type significand = getSignificandBits(); 406 significand = static_cast<uint_type>(significand << 1); 408 significand &= fraction_encode_mask; 409 return significand; 428 bool negative, int_type exponent, uint_type significand, 430 bool significand_is_zero = significand == 0; 436 significand |= first_exponent_bit; 437 significand = static_cast<uint_type>(significand >> 1); 441 significand = static_cast<uint_type>(significand >> 1); 446 if (significand == 0 && !significand_is_zero && round_denorm_up) { [all …]
|
/external/swiftshader/third_party/SPIRV-Tools/source/util/ |
D | hex_float.h | 404 uint_type significand = getSignificandBits(); 406 significand = static_cast<uint_type>(significand << 1); 408 significand &= fraction_encode_mask; 409 return significand; 428 bool negative, int_type exponent, uint_type significand, 430 bool significand_is_zero = significand == 0; 436 significand |= first_exponent_bit; 437 significand = static_cast<uint_type>(significand >> 1); 441 significand = static_cast<uint_type>(significand >> 1); 446 if (significand == 0 && !significand_is_zero && round_denorm_up) { [all …]
|
/external/v8/src/ |
D | double.h | 93 uint64_t significand = d64 & kSignificandMask; in Significand() local 95 return significand + kHiddenBit; in Significand() 97 return significand; in Significand() 186 uint64_t significand = diy_fp.f(); in DiyFpToUint64() local 188 while (significand > kHiddenBit + kSignificandMask) { in DiyFpToUint64() 189 significand >>= 1; in DiyFpToUint64() 198 while (exponent > kDenormalExponent && (significand & kHiddenBit) == 0) { in DiyFpToUint64() 199 significand <<= 1; in DiyFpToUint64() 203 if (exponent == kDenormalExponent && (significand & kHiddenBit) == 0) { in DiyFpToUint64() 208 return (significand & kSignificandMask) | in DiyFpToUint64()
|
D | bignum-dtoa.cc | 17 static int NormalizedExponent(uint64_t significand, int exponent) { in NormalizedExponent() argument 18 DCHECK_NE(significand, 0); in NormalizedExponent() 19 while ((significand & Double::kHiddenBit) == 0) { in NormalizedExponent() 20 significand = significand << 1; in NormalizedExponent() 71 uint64_t significand = Double(v).Significand(); in BignumDtoa() local 72 bool is_even = (significand & 1) == 0; in BignumDtoa() 74 int normalized_exponent = NormalizedExponent(significand, exponent); in BignumDtoa() 429 uint64_t significand = Double(v).Significand(); in InitialScaledStartValuesNegativeExponentPositivePower() local 438 numerator->AssignUInt64(significand); in InitialScaledStartValuesNegativeExponentPositivePower() 481 uint64_t significand = Double(v).Significand(); in InitialScaledStartValuesNegativeExponentNegativePower() local [all …]
|
D | fixed-dtoa.cc | 295 uint64_t significand = Double(v).Significand(); in FastFixedDtoa() local 320 uint64_t dividend = significand; in FastFixedDtoa() 347 significand <<= exponent; in FastFixedDtoa() 348 FillDigits64(significand, buffer, length); in FastFixedDtoa() 352 uint64_t integrals = significand >> -exponent; in FastFixedDtoa() 353 uint64_t fractionals = significand - (integrals << -exponent); in FastFixedDtoa() 371 FillFractionals(significand, exponent, fractional_count, in FastFixedDtoa()
|
D | cached-powers.cc | 19 uint64_t significand; member 142 *power = DiyFp(cached_power.significand, cached_power.binary_exponent); in GetCachedPowerForBinaryExponentRange() 154 *power = DiyFp(cached_power.significand, cached_power.binary_exponent); in GetCachedPowerForDecimalExponent()
|
D | strtod.cc | 138 uint64_t significand = ReadUint64(buffer, &read_digits); in ReadDiyFp() local 140 *result = DiyFp(significand, 0); in ReadDiyFp() 145 significand++; in ReadDiyFp() 149 *result = DiyFp(significand, exponent); in ReadDiyFp()
|
/external/swiftshader/third_party/LLVM/lib/Support/ |
D | APFloat.cpp | 594 significand.parts = new integerPart[count]; in initialize() 601 delete [] significand.parts; in freeSignificand() 636 integerPart *significand = significandParts(); in makeNaN() local 641 APInt::tcSet(significand, 0, numParts); in makeNaN() 643 APInt::tcAssign(significand, fill->getRawData(), in makeNaN() 650 significand[part] &= ((1ULL << bitsToPreserve) - 1); in makeNaN() 652 significand[part] = 0; in makeNaN() 659 APInt::tcClearBit(significand, QNaNBit); in makeNaN() 664 if (APInt::tcIsZero(significand, numParts)) in makeNaN() 665 APInt::tcSetBit(significand, QNaNBit - 1); in makeNaN() [all …]
|
/external/llvm/lib/Support/ |
D | APFloat.cpp | 588 significand.parts = new integerPart[count]; in initialize() 595 delete [] significand.parts; in freeSignificand() 628 integerPart *significand = significandParts(); in makeNaN() local 633 APInt::tcSet(significand, 0, numParts); in makeNaN() 635 APInt::tcAssign(significand, fill->getRawData(), in makeNaN() 642 significand[part] &= ((1ULL << bitsToPreserve) - 1); in makeNaN() 644 significand[part] = 0; in makeNaN() 651 APInt::tcClearBit(significand, QNaNBit); in makeNaN() 656 if (APInt::tcIsZero(significand, numParts)) in makeNaN() 657 APInt::tcSetBit(significand, QNaNBit - 1); in makeNaN() [all …]
|
/external/arm-optimized-routines/test/rtest/ |
D | dotest.c | 138 mpfr_t significand; in get_mpfr_d() local 164 mpfr_init2(significand, MPFR_PREC); in get_mpfr_d() 165 mpfr_set(significand, x, GMP_RNDN); in get_mpfr_d() 166 exp = mpfr_get_exp(significand); in get_mpfr_d() 167 mpfr_set_exp(significand, 0); in get_mpfr_d() 176 mpfr_clear(significand); in get_mpfr_d() 184 mpfr_div_2si(significand, x, exp - 21, GMP_RNDN); in get_mpfr_d() 185 mpfr_abs(significand, significand, GMP_RNDN); in get_mpfr_d() 186 mantfield = mpfr_get_ui(significand, GMP_RNDZ); in get_mpfr_d() 188 mpfr_sub_ui(significand, significand, mantfield, GMP_RNDN); in get_mpfr_d() [all …]
|
/external/compiler-rt/lib/builtins/ |
D | fp_fixuint_impl.inc | 18 // Break a into sign, exponent, significand 23 const rep_t significand = (aAbs & significandMask) | implicitBit; 36 return significand >> (significandBits - exponent); 38 return (fixuint_t)significand << (exponent - significandBits);
|
D | fp_fixint_impl.inc | 20 // Break a into sign, exponent, significand 25 const rep_t significand = (aAbs & significandMask) | implicitBit; 38 return sign * (significand >> (significandBits - exponent)); 40 return sign * ((fixint_t)significand << (exponent - significandBits));
|
D | fp_add_impl.inc | 59 // Extract the exponent and significand from the (possibly swapped) a and b. 75 // implicit significand bit. (If we fell through from the denormal path it 81 // Shift the significand of b by the difference in exponents, with a sticky 122 // need to shift the significand. 132 // Shift the significand into place, and mask off the implicit bit.
|
D | fp_mul_impl.inc | 63 // Or in the implicit significand bit. (If we fell through from the 69 // Get the significand of a*b. Before multiplying the significands, shift 80 // Normalize the significand, adjust exponent if needed. 97 // Otherwise, shift the significand of the result so that the round
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Support/ |
D | APFloat.cpp | 660 significand.parts = new integerPart[count]; in initialize() 665 delete [] significand.parts; in freeSignificand() 693 integerPart *significand = significandParts(); in makeNaN() local 698 APInt::tcSet(significand, 0, numParts); in makeNaN() 700 APInt::tcAssign(significand, fill->getRawData(), in makeNaN() 707 significand[part] &= ((1ULL << bitsToPreserve) - 1); in makeNaN() 709 significand[part] = 0; in makeNaN() 716 APInt::tcClearBit(significand, QNaNBit); in makeNaN() 721 if (APInt::tcIsZero(significand, numParts)) in makeNaN() 722 APInt::tcSetBit(significand, QNaNBit - 1); in makeNaN() [all …]
|
/external/tensorflow/tensorflow/lite/kernels/ |
D | kernel_util.cc | 27 int32_t* significand, int* shift) { in GuardedQuantizeMultiplier() argument 28 QuantizeMultiplier(effective_output_scale, significand, shift); in GuardedQuantizeMultiplier() 34 *significand = 0; in GuardedQuantizeMultiplier() 80 int32_t significand; in PopulateConvolutionQuantizationParams() local 82 GuardedQuantizeMultiplier(effective_output_scale, &significand, &shift); in PopulateConvolutionQuantizationParams() 83 per_channel_multiplier[i] = significand; in PopulateConvolutionQuantizationParams()
|
/external/swiftshader/third_party/llvm-7.0/llvm/test/MC/AsmParser/ |
D | floating-literals.s | 69 # CHECK-ERROR: invalid hexadecimal floating-point constant: expected at least one significand digit 72 # CHECK-ERROR: invalid hexadecimal floating-point constant: expected at least one significand digit
|
/external/llvm/test/MC/AsmParser/ |
D | floating-literals.s | 69 # CHECK-ERROR: invalid hexadecimal floating-point constant: expected at least one significand digit 72 # CHECK-ERROR: invalid hexadecimal floating-point constant: expected at least one significand digit
|
/external/guava/guava/src/com/google/common/math/ |
D | DoubleUtils.java | 87 long significand = doubleToRawLongBits(x) & SIGNIFICAND_MASK; in scaleNormalize() local 88 return longBitsToDouble(significand | ONE_BITS); in scaleNormalize()
|