Skip to main content

times19_digit

Function times19_digit 

Source
pub fn times19_digit(x: b17) -> b22
Expand description

x * 19 for a 17-bit digit, as 16x + 2x + x (shifts and adds, no DSP). The result is below 2^22.