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 ForeignFunctions.m2:1020:0.