Igor Schein on Sun, 4 Aug 2002 19:46:55 -0400


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

Re: rnfkummer-induced bug


On Mon, Aug 05, 2002 at 12:23:37AM +0200, Karim BELABAS wrote:
> On Sat, 3 Aug 2002, Igor Schein wrote:
> > > I ran preliminary regression tests without spotting further problems. Any
> > > feedback will be much appreciated.
> >
> > Here's more regression:
> >
> > ? setrand(9);rnfkummer(bnrinit(bnfinit(quadpoly(-3,y)),25,1),[5,1;0,1])
> > 0
> 
> Nice. A typo with roughly 1/6 chance of manifesting itself (depending on the
> random seed). Once spotted, it's easy to fix of course...
> 
> It's gone now, keep up the good work!

Any time:

? setrand(1);rnfkummer(bnrinit(bnfinit(quadpoly(-8,y)),11,1),[5,2;0,1]);
  ***   impossible inverse modulo: Mod(0, 11).

Thanks

Igor