/third_party/musl/libc-test/src/functionalext/supplement/math/math_gtest/ |
D | math_remquo_test.cpp | 39 int quotient; variable 40 double result = remquo(15.0, 6.0, "ient); 41 EXPECT_EQ(2, quotient); 52 int quotient; variable 53 EXPECT_TRUE(isnan(remquo(nan(""), 15.0, "ient))); 54 EXPECT_TRUE(isnan(remquo(11.0, nan(""), "ient))); 64 int quotient; variable 65 EXPECT_TRUE(isnan(remquo(HUGE_VAL, 15.0, "ient))); 66 EXPECT_TRUE(isnan(remquo(-HUGE_VAL, 11.0, "ient))); 76 int quotient; variable [all …]
|
/third_party/skia/third_party/externals/icu/source/i18n/ |
D | gregoimp.cpp | 37 double quotient; in floorDivide() local 38 quotient = uprv_floor(numerator / denominator); in floorDivide() 39 remainder = (int32_t) (numerator - (quotient * denominator)); in floorDivide() 40 return (int32_t) quotient; in floorDivide() 47 double quotient = floorDivide(dividend, divisor); in floorDivide() local 48 remainder = dividend - (quotient * divisor); in floorDivide() 56 double q = quotient; in floorDivide() 57 quotient += (remainder < 0) ? -1 : +1; in floorDivide() 58 if (q == quotient) { in floorDivide() 70 remainder = dividend - (quotient * divisor); in floorDivide() [all …]
|
/third_party/node/deps/icu-small/source/i18n/ |
D | gregoimp.cpp | 39 double quotient = uprv_floor(numerator / denominator); in floorDivide() local 45 *remainder = (int32_t) (uprv_floor(numerator) - (quotient * denominator)); in floorDivide() 47 return (int32_t) quotient; in floorDivide() 54 double quotient = floorDivide(dividend, divisor); in floorDivide() local 55 double r = dividend - (quotient * divisor); in floorDivide() 63 double q = quotient; in floorDivide() 64 quotient += (r < 0) ? -1 : +1; in floorDivide() 65 if (q == quotient) { in floorDivide() 77 r = dividend - (quotient * divisor); in floorDivide() 84 return quotient; in floorDivide()
|
/third_party/icu/icu4c/source/i18n/ |
D | gregoimp.cpp | 39 double quotient = uprv_floor(numerator / denominator); in floorDivide() local 44 *remainder = (int32_t) (uprv_floor(numerator) - (quotient * denominator)); in floorDivide() 45 return (int32_t) quotient; in floorDivide() 52 double quotient = floorDivide(dividend, divisor); in floorDivide() local 53 *remainder = dividend - (quotient * divisor); in floorDivide() 61 double q = quotient; in floorDivide() 62 quotient += (*remainder < 0) ? -1 : +1; in floorDivide() 63 if (q == quotient) { in floorDivide() 75 *remainder = dividend - (quotient * divisor); in floorDivide() 79 return quotient; in floorDivide()
|
/third_party/protobuf/src/google/protobuf/stubs/ |
D | int128.cc | 96 uint128 quotient = 0; in DivModImpl() local 98 quotient <<= 1; in DivModImpl() 102 quotient += 1; in DivModImpl() 107 *quotient_ret = quotient; in DivModImpl() 114 uint128 quotient = 0; in operator /=() local 116 DivModImpl(*this, divisor, "ient, &remainder); in operator /=() 117 *this = quotient; in operator /=() 121 uint128 quotient = 0; in operator %=() local 123 DivModImpl(*this, divisor, "ient, &remainder); in operator %=()
|
/third_party/skia/third_party/externals/abseil-cpp/absl/numeric/ |
D | int128.cc | 73 uint128 quotient = 0; in DivModImpl() local 82 quotient <<= 1; in DivModImpl() 85 quotient |= 1; in DivModImpl() 90 *quotient_ret = quotient; in DivModImpl() 143 uint128 quotient = 0; in operator /() local 145 DivModImpl(lhs, rhs, "ient, &remainder); in operator /() 146 return quotient; in operator /() 150 uint128 quotient = 0; in operator %() local 152 DivModImpl(lhs, rhs, "ient, &remainder); in operator %() 265 uint128 quotient = 0; in operator /() local [all …]
|
/third_party/mesa3d/src/util/ |
D | fast_idiv_by_const.c | 87 uint64_t quotient = initial_power_of_2 / D; in util_compute_fast_udiv_info() local 115 quotient = quotient * 2 + 1; in util_compute_fast_udiv_info() 119 quotient = quotient * 2; in util_compute_fast_udiv_info() 137 down_multiplier = quotient; in util_compute_fast_udiv_info() 144 result.multiplier = quotient + 1; in util_compute_fast_udiv_info()
|
/third_party/cmsis/CMSIS/DSP/Source/FastMathFunctions/ |
D | arm_divide_q15.c | 62 q15_t *quotient, in arm_divide_q15() argument 77 *quotient = 0x8000; in arm_divide_q15() 81 *quotient = 0x7FFF; in arm_divide_q15() 103 *quotient=temp; in arm_divide_q15()
|
D | arm_divide_q31.c | 57 q31_t *quotient, in arm_divide_q31() argument 72 *quotient = 0x80000000; in arm_divide_q31() 76 *quotient = 0x7FFFFFFF; in arm_divide_q31() 98 *quotient=(q31_t)temp; in arm_divide_q31()
|
/third_party/node/deps/v8/src/bigint/ |
D | digit-arithmetic.h | 126 digit_t quotient; in digit_div() local 130 : "=a"(quotient), "=d"(rem) in digit_div() 135 return quotient; in digit_div() 137 digit_t quotient; in digit_div() local 141 : "=a"(quotient), "=d"(rem) in digit_div() 146 return quotient; in digit_div()
|
/third_party/protobuf/js/binary/ |
D | arith.js | 235 var quotient = new jspb.arith.UInt64(0, 0); 251 quotient = quotient.add(unit); 259 return [quotient, remainder]; 273 var quotient = divResult[0], remainder = divResult[1]; 275 num = quotient;
|
D | arith_test.js | 274 var quotient = result[0]; 276 expect(quotient.lo).toEqual(testData[i][3]); 277 expect(quotient.hi).toEqual(testData[i][4]);
|
/third_party/mesa3d/src/compiler/nir/ |
D | nir_lower_idiv.c | 135 nir_ssa_def *quotient = nir_umul_high(bld, numer, rcp); in emit_udiv() local 136 nir_ssa_def *num_s_remainder = nir_imul(bld, quotient, denom); in emit_udiv() 142 quotient = nir_bcsel(bld, remainder_ge_den, in emit_udiv() 143 nir_iadd_imm(bld, quotient, 1), quotient); in emit_udiv() 154 return nir_bcsel(bld, remainder_ge_den, nir_iadd_imm(bld, quotient, 1), in emit_udiv() 155 quotient); in emit_udiv()
|
/third_party/cmsis/CMSIS/DSP/Source/TransformFunctions/ |
D | arm_mfcc_q31.c | 101 q31_t quotient; in arm_mfcc_q31() local 104 status = arm_divide_q31(0x7FFFFFFF,m,"ient,&shift); in arm_mfcc_q31() 110 arm_scale_q31(pSrc,quotient,shift,pSrc,S->fftLen); in arm_mfcc_q31()
|
D | arm_mfcc_q15.c | 100 q15_t quotient; in arm_mfcc_q15() local 103 status = arm_divide_q15(0x7FFF,m,"ient,&shift); in arm_mfcc_q15() 109 arm_scale_q15(pSrc,quotient,shift,pSrc,S->fftLen); in arm_mfcc_q15()
|
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/impl/ |
D | Grego.java | 198 long quotient = ((numerator + 1) / denominator) - 1; in floorDivide() local 199 remainder[0] = numerator - (quotient * denominator); in floorDivide() 200 return quotient; in floorDivide()
|
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/ |
D | Grego.java | 196 long quotient = ((numerator + 1) / denominator) - 1; in floorDivide() local 197 remainder[0] = numerator - (quotient * denominator); in floorDivide() 198 return quotient; in floorDivide()
|
/third_party/openssl/test/ |
D | bntests.pl | 68 my $quotient = bn($s{'Quotient'}); 74 $b->bmul($quotient); 88 return if $rempassed && $quotient == $a;
|
/third_party/bounds_checking_function/src/ |
D | output.inl | 256 SecUnsignedInt32 quotient; local 260 quotient = (val32 >> 1U) + (val32 >> 2U); /* Fast div magic 2 */ 261 quotient = quotient + (quotient >> 4U); /* Fast div magic 4 */ 262 quotient = quotient + (quotient >> 8U); /* Fast div magic 8 */ 263 quotient = quotient + (quotient >> 16U); /* Fast div magic 16 */ 264 quotient = quotient >> 3U; /* Fast div magic 3 */ 265 remain = val32 - SECUREC_MUL_TEN(quotient); 266 val32 = (remain > 9U) ? (quotient + 1U) : quotient; /* Fast div magic 9 */ 305 * Calculation divisor multiply 0xcccccccccccccccdULL, resultHi64 >> 3 as quotient 307 SECUREC_INLINE void SecU64Div10(SecUnsignedInt64 divisor, SecUnsignedInt64 *quotient, SecUnsignedIn… argument [all …]
|
/third_party/icu/vendor/double-conversion/upstream/double-conversion/ |
D | fixed-dtoa.cc | 342 uint32_t quotient; in FastFixedDtoa() local 356 quotient = static_cast<uint32_t>(dividend / divisor); in FastFixedDtoa() 360 quotient = static_cast<uint32_t>(dividend / divisor); in FastFixedDtoa() 363 FillDigits32(quotient, buffer, length); in FastFixedDtoa()
|
/third_party/node/deps/v8/src/base/numbers/ |
D | fixed-dtoa.cc | 307 uint32_t quotient; in FastFixedDtoa() local 321 quotient = static_cast<uint32_t>(dividend / divisor); in FastFixedDtoa() 325 quotient = static_cast<uint32_t>(dividend / divisor); in FastFixedDtoa() 328 FillDigits32(quotient, buffer, length); in FastFixedDtoa()
|
/third_party/node/deps/v8/src/compiler/ |
D | machine-operator-reducer.cc | 253 Node* quotient = graph()->NewNode(machine()->Int32MulHigh(), dividend, in Int32Div() local 256 quotient = Int32Add(quotient, dividend); in Int32Div() 258 quotient = Int32Sub(quotient, dividend); in Int32Div() 260 return Int32Add(Word32Sar(quotient, mag.shift), Word32Shr(dividend, 31)); in Int32Div() 273 Node* quotient = graph()->NewNode(machine()->Uint32MulHigh(), dividend, in Uint32Div() local 277 quotient = Word32Shr( in Uint32Div() 278 Int32Add(Word32Shr(Int32Sub(dividend, quotient), 1), quotient), in Uint32Div() 281 quotient = Word32Shr(quotient, mag.shift); in Uint32Div() 283 return quotient; in Uint32Div() 1141 Node* quotient = dividend; in ReduceInt32Div() local [all …]
|
/third_party/protobuf/js/compatibility_tests/v3.0.0/binary/ |
D | arith_test.js | 275 var quotient = result[0]; 277 assertEquals(quotient.lo, testData[i][3]); 278 assertEquals(quotient.hi, testData[i][4]);
|
/third_party/protobuf/js/compatibility_tests/v3.1.0/binary/ |
D | arith_test.js | 275 var quotient = result[0]; 277 assertEquals(quotient.lo, testData[i][3]); 278 assertEquals(quotient.hi, testData[i][4]);
|
/third_party/cmsis/CMSIS/DSP/Include/dsp/ |
D | fast_math_functions.h | 329 q15_t *quotient, 346 q31_t *quotient,
|