Skip to main content

barrett_reduce

Function barrett_reduce 

Source
pub fn barrett_reduce(a: i16) -> i16
Expand description

Barrett reduction to [0, q-1]. Constant-time.