Robert Gerbicz on Wed, 23 Nov 2005 23:50:10 +0100


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

priority


Hi!

Is -5%3=1 correct? In all languages ( c++, basic... ) -5%3 is the
additive inverse of 5%3 so this is -2

Reading GPRC: .gprc ...Done.

                                                GP/PARI CALCULATOR
Version 2.2.11 (released)
                                              i686 running cygwin
(ix86 kernel) 32-bit version
                                             compiled: Oct 20 2005,
gcc-3.4.1 (cygming special)
                                              (readline v5.0 enabled,
extended help available)

                                                   Copyright (C)
2000-2005 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
(23:26) gp > -5%3
%1 = 1