creachadair_imath_sys

Function mp_int_init_size

source
pub unsafe extern "C" fn mp_int_init_size(
    z: mp_int,
    prec: mp_size,
) -> mp_result
Expand description

Initializes z with at least prec digits of storage, and sets it to zero. If prec is zero, the default precision is used. In either case the size is rounded up to the nearest multiple of the word size.