Robert Gerbicz on Sun, 18 Jan 2004 00:04:37 +0100


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

=?ISO-8859-2?Q?listsort_bug??=


Reading GPRC: /cygdrive/c/Program Files/PARI_2003.12.17/.gprc ...Done.

                    GP/PARI CALCULATOR Version 2.2.7 (alpha)
                i686 running cygwin (ix86 kernel) 32-bit version
               compiled: Dec 17 2003, gcc-3.3.1 (cygming special)
              (readline v4.3 enabled, extended help not 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 = 4000000, primelimit = 500000
(22:04) gp > a=listcreate(5):b=listcreate(5):b=listsort(a,1):print(b)
List([369098752])
(22:04) gp >

This is a bug since a was an empty list, so b=listsort(a,1) has to be an empty list.

http://www.vipmail.hu

____________________________________
Regisztrálj e-mail címet a Vipmail-nél!
15 MB tárterület, IMAP hozzáférés, SPAM szűrő...