Bill Allombert on Wed, 30 Apr 2003 10:23:23 +0200


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

Re: 64bit bug


On Tue, Apr 29, 2003 at 08:51:35PM +0200, Karim BELABAS wrote:
> On Mon, 28 Apr 2003, Igor Schein wrote:
> >           GP/PARI CALCULATOR Version 2.2.6 (development CHANGES-1.746)
> >                  UltraSparc (C portable kernel) 64-bit version
> >                         compiled: Apr 28 2003, gcc-3.2.3
> >               (readline not compiled in, extended help available)
> >
> > the following commands gets stuck in an infinite loop:
> >
> > factorpadic(x^3-1,3,10,1);
> 
> Can't reproduce this on alpha. Can you debug it and try to pinpoint the
> source of the problem ?

I can reproduce it on ia64. With \g9

Time inverse mod 27457 (stable=0): 0
Time inverse mod 27479 (stable=1): 0
Time ZM_inv done: 0
Time factmod: 0
Time 0 Kummer factors: 0
Time pradical: 0
Time splitting 2 factors: 0
bound for resultant: 2^1
Time resultant mod 27457 (bound 2^14, stable = 0): 0
Time resultant mod 27479 (bound 2^29, stable = 1): 0
bound for resultant: 2^5
Time resultant mod 27457 (bound 2^14, stable = 0): 0
Time resultant mod 27479 (bound 2^29, stable = 1): 0
<stuck here>

I was not able to find what code use resultant.

Cheers,
Bill.