Perry S. Glenn on Sun, 1 Jul 2001 01:06:27 -0700 (PDT) |
[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]
modulus a+b*I |
Hello, I would expect to get the result z=a+b*I abs(z)= a^2+b^2 but instead ... Script started on Sun Jul 1 00:57:16 2001 [root@big root]#gp GP/PARI CALCULATOR Version 2.1.1 (released) i686 running freebsd (ix86 kernel) 32-bit version (readline v4.1 enabled, extended help available) Copyright (C) 2000 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 ? z=a+I*b %1 = a + I*b ? abs(z) %2 = a + I*b ? \q Good bye! [root@big root]#exit Script done on Sun Jul 1 00:57:47 2001 I've also gotten the same answer using Version 2.2.0 (Alpha). Thank you, PSGlenn. __________________________________________________ Do You Yahoo!? Get personalized email addresses from Yahoo! Mail http://personal.mail.yahoo.com/