Bill Allombert on Sun, 04 Aug 2013 11:47:43 +0200


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

Re: Bug in Pari 2.5.0


On Sun, Aug 04, 2013 at 10:23:45AM +0200, Dirk Laurie wrote:
> Yes, I know. 2.5.0 is not the most recent stable version.
> But it is the version distributed with Ubuntu 12.04 LTS,
> a system that will be supported until April 2017, so
> I thought it worth reporting.
> 
> Apologies if an update was published after May 29, 2013,
> which is when I last safe-upgraded my Ubuntu Precise.
>
> parisize = 4000000, primelimit = 500509
> ? x=B; y=C;
> ? print(subst(A/Q*B,Q,B),"   ",subst(A*Q*B,Q,B))
> 0   A*B^2
> 
> That '0' should be 'A'.

Hello Dirk,

This problem is fixed in PARI 2.5.1 which was released in February 2012:
F18- subst(Y/X,X,x) -> 0                                                 [F27]

Cheers,
Bill