Signature

pub trait QM31Trait

Trait functions

new

Returns a new qm31 composed of the given parts.

Signature

fn new(
    w0: BoundedInt,
    w1: BoundedInt,
    w2: BoundedInt,
    w3: BoundedInt,
) -> qm31

unpack

Returns the parts of the given qm31 as m31s.

Signature

fn unpack(self: qm31) -> [BoundedInt; 4]