Skip to main content

decode

Function decode 

Source
pub fn decode(bases: &[i64], digits: &[i64]) -> Vec<i64>
Expand description

The value of each cell of bases.len() digits in digits, in the mixed radix of bases, as APL’s ⊥ gives it, with each step wrapped to 64 bits, as BPL’s integer ⊥ wraps at i64. The first base is never used. Wrapping a value to a narrower width then gives what wrapping each step at that width gives.