euc_lib
Easy to use implementation of extended and normanl Euclidean algorithm
Example usage:
Extended
Program
use euc_lib;
Output
EucRes { d: 5, s: -1, t: 4 }
Simple
Program
use euc_lib;
Output
5
Easy to use implementation of extended and normanl Euclidean algorithm
Program
use euc_lib;
Output
EucRes { d: 5, s: -1, t: 4 }
Program
use euc_lib;
Output
5