GMP upgrade to 4.2.4 leads to errors in PARI/GP
Vincent Lefevre
vincent at vinc17.org
Mon Mar 9 03:12:02 CET 2009
On 2009-03-09 00:40:53 +0100, Torbjorn Granlund wrote:
> Vincent Lefevre <vincent at vinc17.org> writes:
>
> On my Mac OS X machine, I've upgraded GMP from 4.2.3 to 4.2.4, didn't
> recompile PARI/GP (this should not be needed), and I now get errors:
>
> prunille:~> gp
> Reading GPRC: /Users/vinc17/.gprc ...Done.
>
> GP/PARI CALCULATOR Version 2.3.4 (released)
> PowerPC running darwin (PPC/GMP-4.2.3 kernel) 32-bit version
> compiled: Oct 24 2008, gcc-4.0.1 (Apple Computer, Inc. build 5367)
> (readline v5.2 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.000000000000000000000000000 E99
>
> I have no idea what you're doing here. What is input, what is output?
The input is "17." (the number 17 seen as a floating-point number).
The output is 1.0E99, which is clearly wrong (it should have been 17).
--
Vincent Lefèvre <vincent at vinc17.org> - Web: <http://www.vinc17.org/>
100% accessible validated (X)HTML - Blog: <http://www.vinc17.org/blog/>
Work: CR INRIA - computer arithmetic / Arenaire project (LIP, ENS-Lyon)
More information about the gmp-bugs
mailing list