creachadair_imath_sys

Function mp_int_copy

source
pub unsafe extern "C" fn mp_int_copy(
    a: mp_int,
    c: mp_int,
) -> mp_result
Expand description

Replaces the value of c with a copy of the value of a. No new memory is allocated unless a has more significant digits than c has allocated.