Signature
Trait functions
new
Returns a newqm31 composed of the given parts.
Signature
unpack
Returns the parts of the givenqm31 as m31s.
pub trait QM31Trait
qm31 composed of the given parts.
fn new(
w0: BoundedInt,
w1: BoundedInt,
w2: BoundedInt,
w3: BoundedInt,
) -> qm31
qm31 as m31s.
fn unpack(self: qm31) -> [BoundedInt; 4]
Was this page helpful?