Re: Math::Pari 'factor' is wrong



On Sat, 18 Mar 2006, Ilya Zakharevich wrote:

[A complimentary Cc of this posting was sent to
gamo
<gamo@xxxxxxxxxxxx>], who wrote in article <Pine.LNX.4.64.0603171934330.23094@xxxxxx>:


Thank you.

This code gives incorrects results as -1 as factor of a positive
integer or 5 as factor of a number not terminated in 5 or 0.

How do you suppose we are going to treat this? Send you our
condolences? What else do you think we can do?

What version of what? What Math::Pari test suite was saying? Can you

Math-Pari-2.010703.tar.gz

shorten your program to 1 line?


No, I can't.

Puzzled,
Ilya


--
http://www.telecable.es/personales/gamo/
Sólo hay 10 tipos de personas, las que saben binario y las que no
perl -e 'print 111_111_111**2,"\n";'