#18780: pari gives incorrect results with GMP 4.2.4 ---------------------------------+------------------------------------------ Reporter: vinc17@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.7.0 Keywords: | Port: pari gmp ---------------------------------+------------------------------------------ Comment(by vinc17@…): The bug in MPFR is now fixed in MacPorts (note that MPFR wasn't assuming that a limb fitted in a long, it was just a confusion between a limb and a pointer to a limb). However there may be problems with other software than PARI. Unfortunately this is difficult to know, because such problems can arise under some conditions only (e.g. when some data become large enough to have some kind of overflow if a limb is stored in an unsigned long) and one may just get incorrect results, thus the error may not necessarily be detected. I don't know if many programs need to convert a limb into an explicit C native type or use a *_ui function (such as mpz_set_ui) on a limb. -- Ticket URL: <http://trac.macports.org/ticket/18780#comment:5> MacPorts <http://www.macports.org/> Ports system for Mac OS