Skip to main content

MAX_POLY_THRESHOLD

Constant MAX_POLY_THRESHOLD 

Source
pub const MAX_POLY_THRESHOLD: u8 = u8::MAX; // 255u8
Expand description

Maximum SSA polynomial threshold supported by the SsaReconstructor.

A byte, because the threshold shares the lower half of the negotiated PixParams word with SsaGeneratorConfig::surplus_shares — see PixParams::to_u32. The bound is therefore structural rather than merely checked; the constant exists to name it.