public INumber DispatchMod(NumberInteger leftOperand) { try { return(Number.Create(leftOperand.value % value)); } catch (OverflowException) { return(Number.Create((BigInteger)leftOperand.value % value)); } }
public int CompareDispatch(NumberInteger leftOperand) { return(-value.CompareTo(leftOperand.value)); }
public INumber DispatchMod(NumberInteger leftOperand) { return(Number.Create(leftOperand.value % value)); }