Bill Allombert on Fri, 09 Jun 2023 13:15:18 +0200
|
[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]
Re: Issue with fullfactor
|
- To: pari-users@pari.math.u-bordeaux.fr
- Subject: Re: Issue with fullfactor
- From: Bill Allombert <Bill.Allombert@math.u-bordeaux.fr>
- Date: Fri, 9 Jun 2023 13:10:29 +0200
- Arc-authentication-results: i=1; smail; arc=none
- Arc-message-signature: i=1; a=rsa-sha256; d=math.u-bordeaux.fr; s=openarc; t=1686309021; c=relaxed/relaxed; bh=MDJPhGCzG3IDJ0ryaQYKk3TQYEx424Ad206YwF0qCkA=; h=DKIM-Signature:Date:From:To:Subject:Message-ID:Mail-Followup-To: References:MIME-Version:Content-Type:Content-Disposition: Content-Transfer-Encoding:In-Reply-To; b=UGcZAb2RaMWkEYokfe03iSnTqxExQmkwBTiEIIshhswXlNjfp2BLVti3EbVQhaRXX54Ci9G2+knORuuGmuDIczvEtyp7MQOY4+FSQ+ccwHs/Pg29YLayCNly0DpETJ1162xG3HODt6E3qGlDhR6qbdfujtoAYWwsd6nLrn7W7PuBTLCD1pDZE44Jy4A6nk4KdVYAsGCi6Gx7cIEKAnRn8l2GEWqDYNTKqA1Ql7w3erJ0MSVElLvvJ67IwlmtCOUMRPBCb5TCrYOMSutYYh+QfpQXeHG9SOFT/OzijX2iatLLUo2r4VT+eHnJz8YIcJ6NtXPeoCX31g1k3Kd3zrQ/LnioEzsSB2P6AgO9CsEtRj6GdPO9XmyB+ciyVtm3EKxVrmWsKFJCKnKWcXC3DelBX53NXd0bQkF87MKNWdaUpx/hjrQRco3k6XMi9Vm/ObOJ3VjgjrRbeUPP2mJfqCfmwi0MkNLQfbDaK4VFylBwCkagQZY4Jb6SlzQUbOBXQNXS49a5pIWbbs4gaY72iqeE0qMd95wrONSWLrCGJKIWpAEeYXDlkrEYJ+Z01Wr/Ues8Bj9d3jTy7UjXCVPGQnXxsobO3hNgfbCgPCKVwv0HzbsAeuuuw9+BW9W0CihDdGSNqMOZJqILF89umVseCPToUtxCyERvL9LjyThltTWIyE0=
- Arc-seal: i=1; a=rsa-sha256; d=math.u-bordeaux.fr; s=openarc; t=1686309021; cv=none; b=ehwdtkDp2p9QqxyAHMRcXRt1HddMN8N3ZiGXuZx19aptgT1SkPHu1uzABcAgifC7HSlZ37hULtE560AKaPGUNcRxYArNashHMZnerDg3I8w8gtoJIA6XTGVmGsdTI7xELsmM6JT+FN2Y3AGGARTDCEOAfZD2l6gSJtVbFx2eYsfEN8uiEZVN1UOfmGOybG+zdAMfKaDKT3rpyYa7nR8vljyQksi1UKlmcWxnWgKX7/hwiaEH5o2cnWbNgAVf7WswTG1IGY6oaTKQxkSqJsoRSwBcgYNIyvsdG1B028LbsdBeoYQCPmuABMkkr0dTVYr9GDCx9j8cnxRxs13eIA44KiuwttxJFWSvINQrei4+/JECJqd2Le83Kp47zxHStAYaA+8zg3h7gG6qgh4q7J4rlqWeZYvIb43H7D3idZgdaEKWsJp3e6yL5/5UvgAufcLg9USCbNXoNNGEXMQt0YInej5hy5TWgLpI5vxLXpyuEqZSa+rTwvo46jMFG1lsTYN1C7zLURSZB/GNCc1JFVpq4aIOq3IVCabj/pspMUM8/de15aSgEEh0IqWlu7kFQONtNROEqa3usqqL8p/lGy6XnYjL2SyAkT4xhaoBI2ifFJIDU6Cr05LN2/HeyP2vYzHoUMhIoEAWXIUWhuEEsSNW2lK5NIgNpMRjw0ssEd5WfOE=
- Authentication-results: smail; dmarc=none header.from=math.u-bordeaux.fr
- Authentication-results: smail; arc=none
- Delivery-date: Fri, 09 Jun 2023 13:15:18 +0200
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=math.u-bordeaux.fr; s=2022; t=1686309021; bh=MDJPhGCzG3IDJ0ryaQYKk3TQYEx424Ad206YwF0qCkA=; h=Date:From:To:Subject:References:In-Reply-To:From; b=GDiKQtbN89Ur0GRD12WD8t5Vb6wlkWK/bTearRQKAnQ6aBl7cgXqFyDCCoQeCt9Qo Ovd/xxuu0g82uxFMWnO70g1JsPzvToQSmCxXAGoPUqRc9dDtZfrSdZ54pK4gwsy28r BMzcRI74ijpcOm8FuXIy7doRel2nUkIc2iZ+sYqUmyFH0GNeFMGSD5/4n/JWSo6l18 D9zk0Gsg391FiF+2piReLUuhpq335odwley13/u45HuF1I8dfHjgrozEaI1yb1IlxN /P8Z5ikjBb+um0ENEBTOeS+qENdIYDlSgqzbrkOQwPWV87Ikv60I+8hmW4bPXIvGxi zmQPYWlnYesST3ARRNQSncjdItDaOrVIgQ2f/io/1U7S8rNKHosyalygyINMs9Eizn koQfhgpZ9jCAp1lNbeGLRhkqq4u8/1v91heqUBVzLpcF7Jo7eOLUF8DbbU6LVDoQst z3TL6025u7mRFoU5OlBET7HXJjmj11nN/awedZm9UgHUFGsfIAyCbsTkOlxaEb2kPr 83RNKX6vOo54IcbxeZY3BqcM/EWUmz07DBgNaTU7RR4QOjZSrzRthDs3PQCOgFKZo7 2Fm2DZAe9x1xfCOCWhQyzV7YE5cElkPb1LjbobTZr+pym0mdiLNYYm1VFf0qrWlCmd AIO/vnxeJYKggdCIkS5mOLLs=
- In-reply-to: <24620846-e27e-4535-3ba0-9c25a4925850@filmsons.com>
- Mail-followup-to: pari-users@pari.math.u-bordeaux.fr
- References: <a25135c7-206e-9c28-daab-02d897acff41@free.fr> <ZIHVmEwW+fYbwLct@seventeen> <24620846-e27e-4535-3ba0-9c25a4925850@filmsons.com>
On Fri, Jun 09, 2023 at 01:08:06AM +0200, Jean-Luc Arnaud wrote:
> Le 08/06/2023 à 15:20, Bill Allombert a écrit :
> > On Thu, Jun 08, 2023 at 03:08:18PM +0200, Jean-Luc ARNAUD wrote:
> > > Hello,
> > >
> > > I installed fullfactor as described in the doc, AFAIK.
> > >
> > > Now, launching it with "\r fullfactor.gp", I'm getting this warning:
> > >
> > > ? \r fullfactor.gp
> > > *** variable name expected:
> > > isprimepower(x)=my(p);if(!ispower(x,,&p),p=x);
> > > *** ^----------------------------------------------
> > > *** variable name expected:
> > > logint(x,b=2)=my(r=0);while(x>=b,x=x\b;r++);r;
> > > *** ^----------------------------------------------
> > > cpu time = 13 ms, real time = 19 ms.
> > > *** unexpected ';': ...1,if(reg>numpbases,if(c++;c>numcbases,break);b
> > > *** ^---------------------
> > > *** too few arguments: ...ctor(logint(eulerphi(2*b)));my(g=vectorsmall(e
> > > *** ^---------------------
> > Yes, this functions already exist in GP, so you can remove the definition.
> > the only issue is that you have to replace logint(x) by logint(x,2).
> >
> > I will send you a fixed version.
> >
> Many thanks, Bill and Max, for explanation and help.
> Bill, your new version of fullfactor works like a charm!
OK, so I added a link to my new version on
https://pari.math.u-bordeaux.fr/Scripts/
the new version is at:
<https://pari.math.u-bordeaux.fr/pub/demeyer/fullfactor_pari-2.15.tgz>
Cheers,
Bill.