Skip to main content

Module xgcd

Module xgcd 

Source
Expand description

The Binary Extended GCD algorithm.

Structsยง

RawXgcdOutput ๐Ÿ”’
Container for the raw output of the Binary XGCD algorithm.

Constantsยง

DOUBLE_SUMMARY_LIMBS ๐Ÿ”’
Twice the number of limbs used to represent SUMMARY_BITS, i.e., two times SUMMARY_LIMBS.
SUMMARY_BITS ๐Ÿ”’
Number of bits used by OddUint::optimized_binxgcd to represent a โ€œcompactโ€ Uint.
SUMMARY_LIMBS ๐Ÿ”’
Number of limbs used to represent SUMMARY_BITS.

Functionsยง

binxgcd_step ๐Ÿ”’
Binary XGCD update step.

Type Aliasesยง

DividedPatternXgcdOutput ๐Ÿ”’
PatternXgcdOutput ๐Ÿ”’