Module liba

algorithm library

Functions

hash_bkdr (str[, initial]) a hash function whose prime number is 131
hash_sdbm (str[, initial]) a hash function whose prime number is 65599
isqrt (...) square root of an unsigned integer
rsqrt (...) reciprocal of square-root

Tables

liba algorithm library


Functions

hash_bkdr (str[, initial])
a hash function whose prime number is 131

Parameters:

  • str string string to be processed
  • initial integer value (optional)

Returns:

    string hash value
hash_sdbm (str[, initial])
a hash function whose prime number is 65599

Parameters:

  • str string string to be processed
  • initial integer value (optional)

Returns:

    string hash value
isqrt (...)
square root of an unsigned integer

Parameters:

  • ... integer independent variables

Returns:

    integer calculated result
rsqrt (...)
reciprocal of square-root

Parameters:

  • ... number independent variables

Returns:

    number calculated result

Tables

liba
algorithm library

Fields:

  • VERSION algorithm library version string
generated by LDoc 1.5.0 Last updated 2024-09-30 14:51:04