Module arithmetic

Module arithmetic 

Source
Expand description

Helpful arithmetic functions.

Functionsยง

i64_to_field
Helper function for conversion to field elements, handling negative values.
log2_ceil
Take the ceil(log2(value)) for a u64 value.