Macaulay2's native RR real number type wraps around mpfr_t from MPFR. This type (which is an instance of ForeignRealType) allows for conversion between Macaulay2 reals and MPFR reals without loss of precision.
|
|
The object mpfrT is a foreign real 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:1060:0.