Vincent Lefevre on Mon, 26 May 2014 09:16:30 +0200 |
[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]
Re: bug in PARI/GP (Segmentation Fault), please report. |
On 2014-05-25 03:41:31 -0700, John W. Nicholson wrote: > Is this a bug on my machine, or can it be reproduced by others? Has > this been reported before? On Debian/unstable, I get: xvii:~> gp Reading GPRC: /home/vinc17/.gprc ...Done. GP/PARI CALCULATOR Version 2.7.1 (released) amd64 running linux (x86-64/GMP-6.0.0 kernel) 64-bit version compiled: May 16 2014, gcc version 4.8.2 (Debian 4.8.2-21) threading engine: pthread (readline v6.3 enabled, extended help enabled) Copyright (C) 2000-2014 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 = 8000000, primelimit = 500000 ? n=2;while(ln(prime(n))>ln(prime(n+1))/exp(1/(n))&&n<pl,n++);print(n) *** at top-level: n=2;while(ln(prime(n))>ln(prim *** ^-------------------- *** not a function in function call A function with that name existed in GP-1.39.15; to run in backward compatibility mode, type "default(compatible,3)", or set "compatible = 3" in your GPRC file. New syntax: ln(x) ===> log(x) log(x): natural logarithm of x. *** Break loop: type 'break' to go back to GP prompt break> -- Vincent Lefèvre <vincent@vinc17.net> - Web: <https://www.vinc17.net/> 100% accessible validated (X)HTML - Blog: <https://www.vinc17.net/blog/> Work: CR INRIA - computer arithmetic / AriC project (LIP, ENS-Lyon)