John Kerl on Sun, 03 Oct 2004 23:51:36 +0200


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

Re: bug in poldegree?


It's not quite a strange number -- it's -2^31 + 1.  The pari-dev people
can probably tell you *why*, though.  (Smells like a bug to me.)

Markus Endres <me@mendres.org> wrote:

> hi at all,
>
> on my system (debian) I use pari/gp 2.2.6 and the newest cvs-version
> 2.2.8. 
>
> now, lets have a look at the following polynomial:
>
> P=
> (2.5134558550000000000000000000000000000000000000000000000000000000000000000000000 E-88 + 0.E-87*I)*y^2 + (1.0000000000000000000000000000000000000000000000000000000000000000000000000000000 + 0.E-86*I)*y + (1.6086117470000000000000000000000000000000000000000000000000000000000000000000000 E-86 - 1.6086117470000000000000000000000000000000000000000000000000000000000000000000000 E-86*I)
>
> I got this polynomial from some computings under 2.2.8. if I want to
> know
>
> ? poldegree(P)
> = -2147483647
>
> I get this strange degree, it should be 2.
>
> under pari/gp 2.2.6 and the stable version everything is ok. 
>
> is this a bug? 
>
> cheers
>
> markus