Macaulay2's native ZZ integer type wraps around mpz_t from GMP. This type (which is an instance of ForeignIntegerType) allows for conversion between Macaulay2 integers and GMP integers without loss of precision.
|
|
|
|
|
|
The object mpzT is a foreign integer type, with ancestor classes ForeignObject < HashTable < Thing.
The source of this document is in /build/reproducible-path/macaulay2-1.25.06+ds/M2/Macaulay2/packages/ForeignFunctions.m2:1020:0.