expanded class HASH_TABLE_SIZE

All features

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

non-conformant parents

ANY

Summary

exported features

Details

prime_number_ceiling (integer: INTEGER): INTEGER

A good prime number, large enough, and no smaller than integer.

ensure

  • Result >= integer