Skip to main content

RECIPROCALS

Static RECIPROCALS 

Source
pub(crate) static RECIPROCALS: [u32; 256]
Expand description

Fixed-point reciprocal of every nonzero alpha: n * RECIPROCALS[a] >> RECIPROCAL_SHIFT is n / a for any n that fits in a u16.