IntMath MembersNFX Class Library

[This is preliminary documentation and is subject to change.]

The IntMath type exposes the following members.
Methods

  NameDescription
Public methodStatic memberAlign16(Int32)
Returns argument increased to the nearest number divisible by 16
Public methodStatic memberAlign16(Int64)
Returns argument increased to the nearest number divisible by 16
Public methodStatic memberAlign8(Int32)
Returns argument increased to the nearest number divisible by 8
Public methodStatic memberAlign8(Int64)
Returns argument increased to the nearest number divisible by 8
Public methodStatic memberGetAdjacentPrimeNumberLessThanOrEqualTo
Gets adjacent prime number which is less than or equal to the specified number. Arguments less than 3 yield 2;
Public methodStatic memberGetCapacityFactoredToPrime
Increases a capacity to a prime number by the factor. Both numbers must be positive
Public methodStatic memberGetPrimeCapacityOfAtLeast
Gets the capacity of at least or larger larger than the specified number. For numbers <= 16300007 the function uses lookup table for speed
Public methodStatic memberIsPrime
Tests if the number is prime
Public methodStatic memberLog
Public methodStatic memberMinMax
Public methodStatic memberPow
Public methodStatic memberUpperLog
Public methodStatic memberUpperPow
Back to Top
Fields

  NameDescription
Public fieldStatic memberPRIME_CAPACITIES
Back to Top
See Also