Dr. Robert J. Harley on Mon, 20 Oct 2003 11:05:14 +0200 (CEST)


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

Bug in isprime()


Here's what happens:

------------------------------------------------------------------------------
> gp
Reading GPRC: /home/harley/.gprc ...Done.

                 GP/PARI CALCULATOR Version 2.2.6 (development)
                i686 running linux (ix86 kernel) 32-bit version
       compiled: Oct  9 2003, gcc-3.2.2 20030222 (Red Hat Linux 3.2.2-5)
                (readline v4.3 enabled, extended help available)

                       Copyright (C) 2003 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.

   realprecision = 28 significant digits
   seriesprecision = 16 significant terms
   format = g0.28

parisize = 100000000, primelimit = 1000000
(11:04) gp > isprime(156499227435744375600531968861048687296374896432841731)
  ***   bug in GP (Segmentation Fault), please report
(11:04) gp >
------------------------------------------------------------------------------

Rob.
     .-.                                                               .-.
    /   \           .-.                                 .-.           /   \
   /     \         /   \       .-.     _     .-.       /   \         /     \
  /       \       /     \     /   \   / \   /   \     /     \       /       \
 /         \     /       \   /     `-'   `-'     \   /       \     /         \
            \   /         `-'                     `-'         \   /
             `-'                                               `-'