/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 DOUBLE_CONVERSION_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 | 60 DiyFp(const uint64_t significand, const int32_t exponent) : f_(significand), e_(exponent) {} in DiyFp() argument 112 uint64_t significand = f_; in Normalize() local 118 while ((significand & k10MSBits) == 0) { in Normalize() 119 significand <<= 10; in Normalize() 122 while ((significand & kUint64MSB) == 0) { in Normalize() 123 significand <<= 1; in Normalize() 126 f_ = significand; in Normalize()
|
D | double-conversion-ieee.h | 139 uint64_t significand = d64 & kSignificandMask; in Significand() local 141 return significand + kHiddenBit; in Significand() 143 return significand; in Significand() 258 uint64_t significand = diy_fp.f(); in DiyFpToUint64() local 260 while (significand > kHiddenBit + kSignificandMask) { in DiyFpToUint64() 261 significand >>= 1; in DiyFpToUint64() 270 while (exponent > kDenormalExponent && (significand & kHiddenBit) == 0) { in DiyFpToUint64() 271 significand <<= 1; in DiyFpToUint64() 275 if (exponent == kDenormalExponent && (significand & kHiddenBit) == 0) { in DiyFpToUint64() 280 return (significand & kSignificandMask) | in DiyFpToUint64() [all …]
|
/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/angle/third_party/vulkan-deps/glslang/src/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/angle/third_party/vulkan-deps/spirv-tools/src/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/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/icu/libicu/cts_headers/ |
D | double-conversion-diy-fp.h | 60 DiyFp(const uint64_t significand, const int32_t exponent) : f_(significand), e_(exponent) {} in DiyFp() argument 112 uint64_t significand = f_; in Normalize() local 118 while ((significand & k10MSBits) == 0) { in Normalize() 119 significand <<= 10; in Normalize() 122 while ((significand & kUint64MSB) == 0) { in Normalize() 123 significand <<= 1; in Normalize() 126 f_ = significand; in Normalize()
|
D | double-conversion-ieee.h | 139 uint64_t significand = d64 & kSignificandMask; in Significand() local 141 return significand + kHiddenBit; in Significand() 143 return significand; in Significand() 258 uint64_t significand = diy_fp.f(); in DiyFpToUint64() local 260 while (significand > kHiddenBit + kSignificandMask) { in DiyFpToUint64() 261 significand >>= 1; in DiyFpToUint64() 270 while (exponent > kDenormalExponent && (significand & kHiddenBit) == 0) { in DiyFpToUint64() 271 significand <<= 1; in DiyFpToUint64() 275 if (exponent == kDenormalExponent && (significand & kHiddenBit) == 0) { in DiyFpToUint64() 280 return (significand & kSignificandMask) | in DiyFpToUint64() [all …]
|
/external/openscreen/third_party/abseil/src/absl/strings/internal/ |
D | pow10_helper_test.cc | 30 uint64_t significand; // Raw bits of the expected value member 112 std::ldexp(test_case.significand, test_case.radix)) in TEST() 115 std::ldexp(test_case.significand, test_case.radix)); in TEST()
|
/external/webrtc/third_party/abseil-cpp/absl/strings/internal/ |
D | pow10_helper_test.cc | 30 uint64_t significand; // Raw bits of the expected value member 112 std::ldexp(test_case.significand, test_case.radix)) in TEST() 115 std::ldexp(test_case.significand, test_case.radix)); in TEST()
|
/external/angle/third_party/abseil-cpp/absl/strings/internal/ |
D | pow10_helper_test.cc | 30 uint64_t significand; // Raw bits of the expected value member 112 std::ldexp(test_case.significand, test_case.radix)) in TEST() 115 std::ldexp(test_case.significand, test_case.radix)); in TEST()
|
/external/abseil-cpp/absl/strings/internal/ |
D | pow10_helper_test.cc | 30 uint64_t significand; // Raw bits of the expected value member 112 std::ldexp(test_case.significand, test_case.radix)) in TEST() 115 std::ldexp(test_case.significand, test_case.radix)); in TEST()
|
/external/libtextclassifier/abseil-cpp/absl/strings/internal/ |
D | pow10_helper_test.cc | 30 uint64_t significand; // Raw bits of the expected value member 112 std::ldexp(test_case.significand, test_case.radix)) in TEST() 115 std::ldexp(test_case.significand, test_case.radix)); in TEST()
|
/external/rust/crates/grpcio-sys/grpc/third_party/abseil-cpp/absl/strings/internal/ |
D | pow10_helper_test.cc | 30 uint64_t significand; // Raw bits of the expected value member 112 std::ldexp(test_case.significand, test_case.radix)) in TEST() 115 std::ldexp(test_case.significand, test_case.radix)); in TEST()
|
/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));
|
/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/llvm-project/compiler-rt/lib/builtins/ |
D | fp_fixint_impl.inc | 19 // Break a into sign, exponent, significand parts. 24 const rep_t significand = (aAbs & significandMask) | implicitBit; 37 return sign * (significand >> (significandBits - exponent)); 39 return sign * ((fixint_t)significand << (exponent - significandBits));
|
D | fp_fixuint_impl.inc | 17 // Break a into sign, exponent, significand parts. 22 const rep_t significand = (aAbs & significandMask) | implicitBit; 35 return significand >> (significandBits - exponent); 37 return (fixuint_t)significand << (exponent - significandBits);
|
/external/rust/crates/serde_json/src/ |
D | de.rs | 396 let mut significand = (c - b'0') as u64; in parse_integer() localVariable 407 if overflow!(significand * 10 + digit, u64::max_value()) { in parse_integer() 409 self.parse_long_integer(positive, significand), in parse_integer() 414 significand = significand * 10 + digit; in parse_integer() 417 return self.parse_number(positive, significand); in parse_integer() 426 fn parse_number(&mut self, positive: bool, significand: u64) -> Result<ParserNumber> { in parse_number() 428 b'.' => ParserNumber::F64(tri!(self.parse_decimal(positive, significand, 0))), in parse_number() 429 b'e' | b'E' => ParserNumber::F64(tri!(self.parse_exponent(positive, significand, 0))), in parse_number() 432 ParserNumber::U64(significand) in parse_number() 434 let neg = (significand as i64).wrapping_neg(); in parse_number() [all …]
|
/external/arm-optimized-routines/math/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/llvm-project/libc/AOR_v20.02/math/test/rtest/ |
D | dotest.c | 139 mpfr_t significand; in get_mpfr_d() local 165 mpfr_init2(significand, MPFR_PREC); in get_mpfr_d() 166 mpfr_set(significand, x, GMP_RNDN); in get_mpfr_d() 167 exp = mpfr_get_exp(significand); in get_mpfr_d() 168 mpfr_set_exp(significand, 0); in get_mpfr_d() 177 mpfr_clear(significand); in get_mpfr_d() 185 mpfr_div_2si(significand, x, exp - 21, GMP_RNDN); in get_mpfr_d() 186 mpfr_abs(significand, significand, GMP_RNDN); in get_mpfr_d() 187 mantfield = mpfr_get_ui(significand, GMP_RNDZ); in get_mpfr_d() 189 mpfr_sub_ui(significand, significand, mantfield, GMP_RNDN); in get_mpfr_d() [all …]
|