IntExtensions
Extension methods for Int.
Value members
Concrete methods
More useful definition of modulus where a negative number divided by a positive divisor produces a non negative modulus.
More useful definition of modulus where a negative number divided by a positive divisor produces a non negative modulus.
Takes this Int as a value in arc degrees and converts it to a value of radians.
Takes this Int as a value in arc degrees and converts it to a value of radians.
Takes this Int as a value in arc degrees and converts it to a value of arc seconds.
Takes this Int as a value in arc degrees and converts it to a value of arc seconds.
folds across the Integer range starting with this Int to the given end of range.
folds across the Integer range starting with this Int to the given end of range.
folds across the Integer range starting with this Int until the given end of range.
folds across the Integer range starting with this Int until the given end of range.
Returns the first lazily evaluated parameter if this Int is 0 else returns the second lazily evaluated parameter.
Returns the first lazily evaluated parameter if this Int is 0 else returns the second lazily evaluated parameter.
Returns the first lazily evaluated parameter if this Int is even else returns the second lazily evaluated parameter.
Returns the first lazily evaluated parameter if this Int is even else returns the second lazily evaluated parameter.
if the predicate is true apply the function to this Int, else return thisInt unmodified.
if the predicate is true apply the function to this Int, else return thisInt unmodified.
Returns the first lazily evaluated parameter if this Int is odd else returns the second lazily evaluated parameter.
Returns the first lazily evaluated parameter if this Int is odd else returns the second lazily evaluated parameter.
Returns true if this Int is even, false if this Int is odd.
Returns true if this Int is even, false if this Int is odd.
Returns true if this Int is even, false if this Int is odd.
Returns true if this Int is even, false if this Int is odd.
Takes this Int as a value in radians and converts it to a value of arc degrees.
Takes this Int as a value in radians and converts it to a value of arc degrees.
Takes this Int as a value in radians and converts it to a value of arc seconds.
Takes this Int as a value in radians and converts it to a value of arc seconds.
Decrements the value of an integer while that integer does not match condition. Not guaranteed to terminate.
Decrements the value of an integer while that integer does not match condition. Not guaranteed to terminate.
Increments the value of an integer while that integer does not match condition. Not guaranteed to terminate.
Increments the value of an integer while that integer does not match condition. Not guaranteed to terminate.
Takes this Int as a value in arc deconds and converts it to a value of arc degrees.
Takes this Int as a value in arc deconds and converts it to a value of arc degrees.