Ilya Zakharevich on Sat, 20 Oct 2001 13:41:19 -0400

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

Re: roots function

On Sat, Oct 20, 2001 at 09:01:43AM +0200, Jean-Marc Sac-Epée wrote:
> But in library mod, it's quite different. With a program such that

> roots(pol,prec);
>   ***   non positive argument in mplog.

Confirmed with Math::Pari.  I cut and pasted the poly into the file
pol, and ran

  perl -MMath::PariInit=:DEFAULT,polroots,stack=32000000 -wle \
       'undef $/; $_=<>; s/\s//g; print polroots($_)' < pol