Lines Matching refs:factor
509 void MultiplyByUInt32(uint32_t factor);
510 void MultiplyByUInt64(uint64_t factor);
579 void SubtractTimes(const Bignum& other, int factor);
736 void Bignum::MultiplyByUInt32(uint32_t factor) {
737 if (factor == 1) return;
738 if (factor == 0) {
747 DoubleChunk product = static_cast<DoubleChunk>(factor) * bigits_[i] + carry;
760 void Bignum::MultiplyByUInt64(uint64_t factor) {
761 if (factor == 1) return;
762 if (factor == 0) {
768 uint64_t low = factor & 0xFFFFFFFF;
769 uint64_t high = factor >> 32;
1176 void Bignum::SubtractTimes(const Bignum& other, int factor) {
1178 if (factor < 3) {
1179 for (int i = 0; i < factor; ++i) {
1187 DoubleChunk product = static_cast<DoubleChunk>(factor) * other.bigits_[i];