Function rustc_apfloat::ieee::sig::extract

source ·
pub(super) fn extract(
    dst: &mut [u128],
    src: &[u128],
    src_bits: usize,
    src_lsb: usize
)
Expand description

Copies the bit vector of width src_bits from src, starting at bit SRC_LSB, to dst, such that the bit SRC_LSB becomes the least significant bit of dst. All high bits above src_bits in dst are zero-filled.