#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 ---------------------------------+------------------------------------------ On my Mac OS X 10.4.11 (PowerPC), pari gives incorrect results with GMP 4.2.4 (i.e. with the gmp variant): {{{ prunille:~> gp Reading GPRC: /Users/vinc17/.gprc ...Done. GP/PARI CALCULATOR Version 2.3.4 (released) PowerPC running darwin (PPC/GMP-4.2.4 kernel) 32-bit version compiled: Mar 9 2009, gcc-4.0.1 (Apple Computer, Inc. build 5367) (readline v6.0 enabled, extended help available) Copyright (C) 2000-2006 The PARI Group PARI/GP is free software, covered by the GNU General Public License, and comes WITHOUT ANY WARRANTY WHATSOEVER. Type ? for help, \q to quit. Type ?12 for how to get moral (and possibly technical) support. parisize = 4000000, primelimit = 500000 ? 17. %1 = 1.000000000000000002257486487 E72 }}} Can anyone reproduce this problem? If you have the same problem, do not use the gmp variant of pari. Note: I've reported the bug to both GMP and PARI developers. I hope that PARI developers will be able to give a simple testcase. -- Ticket URL: <http://trac.macports.org/ticket/18780> MacPorts <http://www.macports.org/> Ports system for Mac OS