Lines Matching defs:dividend
1376 JSHandle<BigInt> BigInt::DivideAndRemainderWithBigintDivisor(JSThread *thread, JSHandle<BigInt> dividend,
1381 // the length of the quota is the length of the dividend minus the divisor
1382 uint32_t quotientLen = dividend->GetLength() - divisorLen;
1388 // format the divisor and dividend so that the highest order of the divisor is
1393 JSHandle<BigInt> u = FormatLeftShift(thread, leadingZeros, dividend, true);
1433 JSHandle<BigInt> BigInt::DivideAndRemainderWithUint32Divisor(JSThread *thread, JSHandle<BigInt> dividend,
1439 for (int i = static_cast<int>(dividend->GetLength()) - 1; i >= 0; --i) {
1440 DivideAndRemainder(r, dividend->GetDigit(i), divisor, r);
1444 quotient.Update(CreateBigint(thread, dividend->GetLength()));
1446 for (int i = static_cast<int>(dividend->GetLength()) - 1; i >= 0; --i) {
1447 uint32_t q = DivideAndRemainder(r, dividend->GetDigit(i), divisor, r);