Пример #1
0
 public INumber DispatchMod(NumberInteger leftOperand)
 {
     try {
         return(Number.Create(leftOperand.value % value));
     } catch (OverflowException) {
         return(Number.Create((BigInteger)leftOperand.value % value));
     }
 }
Пример #2
0
 public int CompareDispatch(NumberInteger leftOperand)
 {
     return(-value.CompareTo(leftOperand.value));
 }
Пример #3
0
 public INumber DispatchMod(NumberInteger leftOperand)
 {
     return(Number.Create(leftOperand.value % value));
 }