6 references to SubWithBorrow
System.Runtime.Numerics (6)
System\Numerics\BigIntegerCalculator.AddSub.cs (2)
103
bits[i] =
SubWithBorrow
(left[i], right[i], borrow, out borrow);
123
left[i] =
SubWithBorrow
(left[i], right[i], borrow, out borrow);
System\Numerics\BigIntegerCalculator.FastReducer.cs (1)
130
left[i] =
SubWithBorrow
(left[i], right[i], borrow, out borrow);
System\Numerics\BigIntegerCalculator.PowMod.cs (1)
727
upper[j] =
SubWithBorrow
(upper[j], modulus[j], borrow, out borrow);
System\Numerics\BigIntegerCalculator.SquMul.cs (2)
992
left[j] =
SubWithBorrow
(right[j], left[j], borrow, out borrow);
1036
left[j] =
SubWithBorrow
(right[j], left[j], borrow, out borrow);