mpz, in its current form, is somewhat useless. The sign is extra baggage that isn't really needed and ought to not be lugged around. A lot of the arithmetic with mpz ought to just be arithmetic with digit storage. These will ultimately be the foundation for the floating point representation. We don't need both mpz and an mpf with duplicate code between them.
mpz
, in its current form, is somewhat useless. Thesign
is extra baggage that isn't really needed and ought to not be lugged around. A lot of the arithmetic withmpz
ought to just be arithmetic with digit storage. These will ultimately be the foundation for the floating point representation. We don't need bothmpz
and anmpf
with duplicate code between them.