pub fn try_combine_lo_hi_u64(
amount_lo: u64,
amount_hi: u64,
bit_length: usize,
) -> Option<u64>
Expand description
Combine two numbers that are interpretted as the low and high bits of a
target number. The bit_length
parameter specifies the number of bits that
amount_hi
is to be shifted by.