Macro libbgs::impl_factors

source ·
macro_rules! impl_factors {
    ($mrk:ident, $($n:literal),+ $(,)?) => { ... };
    ($mrk:ident, $start:literal..$end:literal) => { ... };
}
Expand description

When called with phantom type marker Ph and a list of integers, each integer P is turned into an implementation of Factor<Ph> for FpNum<P> and Factor<Ph> for QuadNum<P>.