src/NeinMath/Integer.cs
/// <summary>
/// Returns the hash code for an Integer.
/// </summary>
/// <returns>A signed 32-bit integer hash code.</returns>
Returns the hash code for an Integer.
Returns the hash code for an Integer .
public override int GetHashCode()
        {
            var hash = 0U;
            for (var i = 0U; i < length; i++)
            {
                hash += i;
                hash *= 2143;
                hash ^= bits[i];
            }
            if (sign)
                hash = ~hash + 1;
            return (int)hash;
        }
public override int GetHashCode ( ) { var hash = 0U ; for ( var i = 0U ; i < length ; i ++ ) { hash += i ; hash *= 2143 ; hash ^= bits [ i ] ; } if ( sign ) hash = ~ hash + 1 ; return ( int ) hash ; }
Returns the hash code for an Integer.
Returns the hash code for an Integer .
A signed 32-bit integer hash code.
A signed 32 - bit integer hash code .