Skip to main content

NonZeroIntXgcdOutput

Type Alias NonZeroIntXgcdOutput 

Source
pub type NonZeroIntXgcdOutput<const LIMBS: usize> = XgcdOutput<LIMBS, NonZeroUint<LIMBS>>;
Expand description

Output of the Binary XGCD algorithm applied to two NonZero<Int<LIMBS>>s.

Aliased Type§

pub struct NonZeroIntXgcdOutput<const LIMBS: usize> {
    pub gcd: NonZero<Uint<LIMBS>>,
    pub x: Int<LIMBS>,
    pub y: Int<LIMBS>,
    pub lhs_on_gcd: Int<LIMBS>,
    pub rhs_on_gcd: Int<LIMBS>,
}

Fields§

§gcd: NonZero<Uint<LIMBS>>§x: Int<LIMBS>§y: Int<LIMBS>§lhs_on_gcd: Int<LIMBS>§rhs_on_gcd: Int<LIMBS>