Ticket #18780 (closed defect: fixed)
pari gives incorrect results with GMP 4.2.4
|Reported by:||vinc17@…||Owned by:||macports-tickets@…|
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.
- Status changed from new to closed
- Resolution set to fixed