pub fn bits7(poly: u8) -> Result<Self, PolynomialError> {
        if poly <= 0x7F {
            Ok(Self(Poly::B7(ensure_is_odd!(poly)?)))
        } else {
            Err(PolynomialError::TooLarge)
        }
    }
/// Create a 7-bit polynomial. Returns an error if the polynomial passed
/// has the MSB set or is even.
Create a 7-bit polynomial. Returns an error if the polynomial passed
has the MSB set or is even.
Create a 7 - bit polynomial . Returns an error if the polynomial passed has the MSB set or is even .
pub fn bits7(poly: u8) -> Result<Self, PolynomialError> {
        if poly <= 0x7F {
            Ok(Self(Poly::B7(ensure_is_odd!(poly)?)))
        } else {
            Err(PolynomialError::TooLarge)
        }
    }
pub fn bits7 ( poly : u8 ) -> Result < Self , PolynomialError > { if poly <= 0x7F { Ok ( Self ( Poly :: B7 ( ensure_is_odd ! ( poly ) ? ) ) ) } else { Err ( PolynomialError :: TooLarge ) } }
Create a 7-bit polynomial.
Create a 7 - bit polynomial .
poly
u8
poly
u8