public void Swap(ref Int65 a) { var avalue = a.value; var asign = a.sign; a.value = value; a.sign = sign; value = avalue; sign = asign; }
public void SetDifference(ref Int65 a, ref Int65 b) { if (a.sign == b.sign) { if (a.value >= b.value) { value = a.value - b.value; sign = a.sign; } else { value = b.value - a.value; sign = -a.sign; } } else { value = a.value + b.value; sign = a.sign; } }
public void Set(ref Int65 a) { value = a.value; sign = a.sign; }