home
wiki
classes/clusters list
class information
+
Point of view
HASHED_CAPACITY
ANY
HASHED_CAPACITY
INTERNALS_HANDLER
All features
expanded class HASH_TABLE_SIZE
Summary
top
Some useful features to deal with prime INTEGER values in order to select an appropriate size for some hash table (used for example by the
DICTIONARY
class as well as by the
SET
class).
Direct parents
insert list:
ANY
Overview
top
exported features
prime_number_ceiling
(integer:
INTEGER_32
):
INTEGER_32
A good prime number, large enough, and no smaller than
integer
.
prime_number_ceiling
(integer:
INTEGER_32
):
INTEGER_32
effective function
top
A good prime number, large enough, and no smaller than
integer
.
require
is_positive:
integer.in_range(0, 2147483647)
ensure
Result > 0
Result >= integer