mqpoly_int_to_small

Function mqpoly_int_to_small 

Source
pub unsafe fn mqpoly_int_to_small(logn: u32, d: &[u16], f: &mut [i8]) -> bool
Expand description

Given a polynomial in internal representation, convert it to small coefficients.

Converted polynomial is written into f. If all coefficients, when converted to minimal signed representation, are in [-127,+127], then the function succeeds and returns true. Otherwise, the function fails and returns false; values obtained for out-of-range coefficients are unspecified.