Quantum 3
3.0.9
Helper class with utility methods used by QCollections. More...
Static Public Member Functions | |
| static int | GetNextPrime (int value) |
| Finds the next prime number based on an integer value. Uses a lookup table. More... | |
| static uint | GetNextPrime (uint value) |
| Finds the next prime number based on an unsigned integer value. Uses a lookup table. More... | |
| static int | GetNextPrimeGreaterThanOrEqual (int value) |
| Finds a prime number which is either equal or greater than an integer value. Uses a lookup table. More... | |
| static uint | GetNextPrimeGreaterThanOrEqual (uint value) |
| Finds a prime number which is either equal or greater than an unsigned integer value. Uses a lookup table. More... | |
| static bool | IsPrimeFromList (int value) |
| Checks if an integer number is prime based on a lookup table. More... | |
| static bool | IsPrimeFromList (uint value) |
| Checks if an unsigned integer number is prime based on a lookup table. More... | |
| static unsafe void | PrintSimple< T > (void *ptr, FramePrinter printer) |
| Prints the value contained in a memory location referenced by a pointer More... | |
Helper class with utility methods used by QCollections.
|
inlinestatic |
Checks if an unsigned integer number is prime based on a lookup table.
| value | The value to be checked. |
true if the value is a prime number.
|
inlinestatic |
Checks if an integer number is prime based on a lookup table.
| value | The value to be checked. |
true if the value is a prime number.
|
inlinestatic |
Finds the next prime number based on an integer value. Uses a lookup table.
| value | The base value. |
|
inlinestatic |
Finds the next prime number based on an unsigned integer value. Uses a lookup table.
| value | The base value. |
|
inlinestatic |
Finds a prime number which is either equal or greater than an integer value. Uses a lookup table.
| value | The base value. |
|
inlinestatic |
Finds a prime number which is either equal or greater than an unsigned integer value. Uses a lookup table.
| value | The base value. |
|
inlinestatic |
Prints the value contained in a memory location referenced by a pointer
| T | : | unmanaged |