Jack Fearnley on Fri, 22 Nov 2002 15:00:41 -0500 |
[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]
Re: polynomial arithmetic feature? |
On November 22, 2002 01:17 pm, Michael Somos wrote: > pari-dev, > > ? ( (x+y+1)*z*(x+y)/y ) / ( z*(x+y)/y ) > %1 = z/z*x + (y + 1) > > Is it supposed to do that? The coefficient of x is z/z and not 1. > Simplify does not simplify it. The result does = x+y+1 and I can > do further arithmetic with it, but perhaps this is a bug instead. > Shalom, Michael I get good results with Version 2.1.4 on RedHat 7.3 GP/PARI CALCULATOR Version 2.1.4 (released) i686 running linux (ix86 kernel) 32-bit version (readline v4.2a enabled, extended help available) realprecision = 28 significant digits seriesprecision = 16 significant terms format = g0.28 parisize = 40000000, primelimit = 1000000 (14:56) gp > ( (x+y+1)*z*(x+y)/y ) / ( z*(x+y)/y ) %1 = x + (y + 1) (14:56) gp > Best Regards, Jack Fearnley