Module utils

Module utils 

Source
Expand description

Utility functions and test utils

Functions§

add_one_or_zero
next_power_of_two_or_zero
Return either 0 if n is zero or the next power of two of n. Used to resize the number of rows in a trace matrix.
slice_as_bytes
Safety
transmute_field_to_u32
transmute_u32_to_field