creachadair / imath

Arbitrary precision integer and rational arithmetic library
Other
131 stars 20 forks source link

Is gcd and lcm implemented? #10

Closed Sumith1896 closed 8 years ago

Sumith1896 commented 8 years ago

Will IMath have functions like mpz_gcd and mpz_lcm implemented in future? (or is it already present?)

creachadair commented 8 years ago

There are mp_int_gcd, mp_int_egcd, and mp_int_lcm defined in "imath.h".