Gaussian Integers and Gaussian Rationals, implemented using Python integers, since there is no limit on their size, unlike the mantissa of Python floats.
complex-numbers gcd prime-numbers number-theory greatest-common-divisor euclidean-algorithm gaussian-integers gaussian-rationals gaussian-primes bezout-coefficients modified-divmod divmod
-
Updated
May 27, 2025 - Jupyter Notebook