Arithmetic Routines for Integers Category

Various routines for Manipulating Integer types.

Routines
DecLimDecrements Value but won't go below specified Limit.
ESBIntPowerRaises Values to an Integer Power.
ESBSignReturns the Sign of the Value.
GCDReturns the Greatest Common (Positive) Divisor (GCD)of two Integers.
ILog2Calculate the integer part of the logarithm base 2 of an integer.
IncLimIncrements Value but won't go above specified Limit.
ISqrtISqrt (I) computes INT (SQRT (I)), that is, the integral part of the square root of integer I.
LCMReturns the Least Common Multiple of two Integers.
MaxWXYZReturns the Maximum of 4 Values.
MaxXYReturns the Maximum of 2 Values.
MinWXYZReturns the Minimum of 4 Values.
MinXYZReturns the Minimum of 3 Values.
RelativePrimeIf two Integers are Relative Prime to each other then GCD (X, Y) = 1.
SignXYReturns the FORTRAN type SIGN of the Values - basically it returns a value with the Magnitude of X and the Sign of Y.
SumOfSeriesAlgebraically calculates the sum of a series.
iffPerforms an if that can be used in Expressions.
MakeInt64Combine High and Low DWord into Int64.
SplitInt64Split a Int64 into High DWord and Low DWord.
SwapXYSwap 2 Values using a Temp Value.


HTML generated by Time2HELP
http://www.time2help.com