src/NeinMath/Integer.cs
/// <summary>
/// Returns the remainder that results from dividing an Integer by a
/// signed 32-bit integer.
/// </summary>
/// <param name="right">The value to divide by.</param>
/// <returns>The remainder that results from the division.</returns>
Returns the remainder that results from dividing an Integer by a
signed 32-bit integer.
Returns the remainder that results from dividing an Integer by a signed 32 - bit integer .
public int Remainder(int right)
        {
            if (right == 0)
                throw new DivideByZeroException();
            var result = Calc.Remainder(bits, length, Bits.Abs(right));
            if (sign)
                result = ~result + 1;
            return (int)result;
        }
public int Remainder ( int right ) { if ( right == 0 ) throw new DivideByZeroException ( ) ; var result = Calc . Remainder ( bits , length , Bits . Abs ( right ) ) ; if ( sign ) result = ~ result + 1 ; return ( int ) result ; }
Returns the remainder that results from dividing an Integer by a
signed 32-bit integer.
Returns the remainder that results from dividing an Integer by a signed 32 - bit integer .
The remainder that results from the division.
The remainder that results from the division .
right
int
The value to divide by.
The value to divide by .