Module constants

Module constants 

Source

Macrosยง

populate_binomial_table ๐Ÿ”’

Constantsยง

BINOMIAL4_TABLE ๐Ÿ”’
BINOMIAL4_TABLE_SIZE ๐Ÿ”’
BITS_PER_LIMB
The number of bits each Limb occupies.
BYTES_PER_LIMB
The number of bytes each Limb occupies.
MAX_MULTINOMIAL_LEN
MAX_PRIME
The NUM_PRIMESth prime number.
NOT_A_PRIME
A sentinel value. PRIME_TO_INDEX_MAP[i] == NOT_A_PRIME if and only if i is not a prime number.
NUM_PRIMES
The number of primes that will be prepared at compile-time. This includes precomputing inverses, binomial coefficients, etc.
PRIMES
An array containing the first NUM_PRIMES prime numbers.
PRIME_TO_INDEX_MAP
For any integer i less than or equal to MAX_PRIME, PRIME_TO_INDEX_MAP[i] is the index of i in PRIMES if i is prime; otherwise, it is NOT_A_PRIME.

Staticsยง

BINOMIAL_TABLE ๐Ÿ”’
INVERSE_TABLE ๐Ÿ”’

Type Aliasesยง

Limb ๐Ÿ”’