Skip to main content

OddIntXgcdOutput

Type Alias OddIntXgcdOutput 

Source
pub type OddIntXgcdOutput<const LIMBS: usize> = XgcdOutput<LIMBS, OddUint<LIMBS>>;
Expand description

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

Aliased Type§

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

Fields§

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