fn lfsr_encode_packed(p: f64, length: usize, seed: u16, out: &mut [u64])
Encode one probability into a length-bit LFSR comparator stream, packed LSB-first into the out words (matching bitstream::pack).
length
out
bitstream::pack