Lines Matching refs:negate_carry

240 fn negate_carry(a: BigDigit, acc: &mut DoubleBigDigit) -> BigDigit {  in negate_carry()  function
286 let twos_b = negate_carry(bi, &mut carry_b); in bitand_pos_neg()
298 let twos_a = negate_carry(*ai, &mut carry_a); in bitand_neg_pos()
319 let twos_a = negate_carry(*ai, &mut carry_a); in bitand_neg_neg()
320 let twos_b = negate_carry(bi, &mut carry_b); in bitand_neg_neg()
321 *ai = negate_carry(twos_a & twos_b, &mut carry_and); in bitand_neg_neg()
327 let twos_a = negate_carry(*ai, &mut carry_a); in bitand_neg_neg()
328 *ai = negate_carry(twos_a, &mut carry_and); in bitand_neg_neg()
334 let twos_b = negate_carry(bi, &mut carry_b); in bitand_neg_neg()
335 negate_carry(twos_b, &mut carry_and) in bitand_neg_neg()
418 let twos_b = negate_carry(bi, &mut carry_b); in bitor_pos_neg()
419 *ai = negate_carry(*ai | twos_b, &mut carry_or); in bitor_pos_neg()
427 let twos_b = negate_carry(bi, &mut carry_b); in bitor_pos_neg()
428 negate_carry(twos_b, &mut carry_or) in bitor_pos_neg()
443 let twos_a = negate_carry(*ai, &mut carry_a); in bitor_neg_pos()
444 *ai = negate_carry(twos_a | bi, &mut carry_or); in bitor_neg_pos()
449 let twos_a = negate_carry(*ai, &mut carry_a); in bitor_neg_pos()
450 *ai = negate_carry(twos_a, &mut carry_or); in bitor_neg_pos()
466 let twos_a = negate_carry(*ai, &mut carry_a); in bitor_neg_neg()
467 let twos_b = negate_carry(bi, &mut carry_b); in bitor_neg_neg()
468 *ai = negate_carry(twos_a | twos_b, &mut carry_or); in bitor_neg_neg()
549 let twos_b = negate_carry(bi, &mut carry_b); in bitxor_pos_neg()
550 *ai = negate_carry(*ai ^ twos_b, &mut carry_xor); in bitxor_pos_neg()
556 *ai = negate_carry(*ai ^ twos_b, &mut carry_xor); in bitxor_pos_neg()
561 let twos_b = negate_carry(bi, &mut carry_b); in bitxor_pos_neg()
562 negate_carry(twos_b, &mut carry_xor) in bitxor_pos_neg()
578 let twos_a = negate_carry(*ai, &mut carry_a); in bitxor_neg_pos()
579 *ai = negate_carry(twos_a ^ bi, &mut carry_xor); in bitxor_neg_pos()
584 let twos_a = negate_carry(*ai, &mut carry_a); in bitxor_neg_pos()
585 *ai = negate_carry(twos_a, &mut carry_xor); in bitxor_neg_pos()
592 negate_carry(twos_a ^ bi, &mut carry_xor) in bitxor_neg_pos()
607 let twos_a = negate_carry(*ai, &mut carry_a); in bitxor_neg_neg()
608 let twos_b = negate_carry(bi, &mut carry_b); in bitxor_neg_neg()
615 let twos_a = negate_carry(*ai, &mut carry_a); in bitxor_neg_neg()
624 let twos_b = negate_carry(bi, &mut carry_b); in bitxor_neg_neg()