Bill Allombert on Thu, 08 Jun 2023 15:25: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: Thu, 8 Jun 2023 15:20:24 +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=1686230415; c=relaxed/relaxed; bh=sUTl0kyiqxGtJdAexFORbYmibW79ryfBvxk0UxmjdFg=; 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=XiusDHlsHHqnFz782TAYVpxOgDAql2BZIzqnWyJkyXe1k+nWNqb/CLtdEClr8M/5Lp1C7oT50Xkkh0C8pQ18uMRgV9uVt5teHAw1x+yMxdsoeG21TC2WEPnfKz8hW5mi15phzXXXzWxNhI1xlid1NJ6Ppmeqmj9sYa16NvwpEJZbCDz44WZxq+y3TdRdP9tUXzsLMm/Phbx9CGGNYE2k2gxsYKsIxLwl3eNM2z360Gb/dsqkoLj9RBHGQkzmlN/+5FeVY5metos8wEYyfsm7EM59BsQJnWSuPNbRsnPNANqGJopqPiWTXEEi9jSRu8nWD3VqOKhjFqIBdAw9Ey2zgrkv1XgZWnmIvWSRZQT8/gy8HaBkge9uCtbHquNey4GIQiqUZo5ZEls4uVJyGagIV9HVRmnv9p4k0orscWWbeDanD+G1860b0tZeJvVWbpCCurwU9cqHAIhMjFE1cN2eVu8bSrHGkBRH1NZPjRgZzJMOo8WTA3Xfw7iGufzF68634fpda3gHaSjHUE102Sy/3LpwAfRStRlDYUlEtj6YrKxIOyhfIskhHMO/GiBjQiOqCQUbq2SLc82KdRlvNk9rrvWIopQQIUxgWazd4eZFuK+Y9xehS1sZ4rHT7iTvOo7vjKj/DzTbxT4XbLm38/WAeNRXXL+RjquBCiU7URrGJgU=
- Arc-seal: i=1; a=rsa-sha256; d=math.u-bordeaux.fr; s=openarc; t=1686230415; cv=none; b=mYGULayASWyZb6kjTb2swqioLBC1xnoIyECO4fi9+x4v0GpBzhaYphVlvaq4BaLM90rCRJnUoagXbRqGx6n0AJO0EZ1mVz9eg6iBQQ2zoogRu2b0t2utk+Xf1NZtKHvxreE58eYIwXZv1B6VULrAf74WTiwGplodBufhqIfqKQ3M2JKhhuka+0Hds7YH6V3ZFLcjWkpKbFe+tS+ycLw/hpaVas9PqdmmWtmnJc5rsardZJIUqkj7gpi6wsUREXjrwtlvkzu5br/fUQGO8O73uvq6L6nQxatokUaOcTAS0fTmGOjuq8siKVN68FG6mzCYfBHYQGqGXPE1hBrF2XotUiZowTuc7Alt5cr4U37taLSEiBPfUpiW78qgLKrtL0IpRrYtqqW5ttAC9AvQnf5F0y8+58CK8nwFuEa5uNH1CfZC0YxgDLf3HbFS0N3NGohKSdbCbRphwg+WRXbjdhBCWQizLSBLPcgIC4jQyA5UcSnco+SIO3p7bCJ7ST8gcJa7ATGMQhy0IPlidPkUuZ5wzGBGX74FoJ6v6ptPdg+jbk/CKo8sJq+jgOdRttAjjM9g6ViOP+dfe8ashkzA2Qq59jif/ac/yqzsuXBLSMOXO35iT9WFdgllO3rQ/ez5DbTnCDfKbb2z2a5U+BW/2phwBrJwvQGUmUqu/vJDXT1KDHo=
- Authentication-results: smail; dmarc=none header.from=math.u-bordeaux.fr
- Authentication-results: smail; arc=none
- Delivery-date: Thu, 08 Jun 2023 15:25:18 +0200
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=math.u-bordeaux.fr; s=2022; t=1686230415; bh=sUTl0kyiqxGtJdAexFORbYmibW79ryfBvxk0UxmjdFg=; h=Date:From:To:Subject:References:In-Reply-To:From; b=RMVsBgXKXs20PfAXcAwx4G0om8mQx78Fm2oo8k0NHECZXTDstmx1LcC7oiBe8dw7j VD7zBad7Nqpy1AWW2UhdseLLNpZ7v5uBD3bYr5e/VYajxKkGkA66M89CJhYRgmwxsB k8gNfg/4Qk6PUqhc0xObuxP3a+zzI0qa8hpnFg4EZCZ7NvmtGhhoPfhJYbgHv3+lyq bwIkBOyiB5SHY17b/M19c9J0/0TmOXteXSMBGMCvSmVgYUpv4FKBUo9Es1wYDOWqe0 99Kg7LsrJnFJqZQcirtwd+esKiRFrXExxBROnR0Rt/zNOT3NIIPN9boTiB8N+aeGY5 Vcj7O11owGN7Gs1zlD9ZcFp7jSNDxxmeIML8UOlEQyMrO/ZA9UlgzLvoCjLIHRyuT4 Uz84Kk7jZ3bbzAiqxQg0tink9UoGKYliCo6f3+8SS5cBMN5Um1oWPRDlPgy/4ERgt2 wQFVXQVsy9UgX2zzOkmuJf8tEOk3IetiXq843wCdpP3G23VhFxfiLTeQHmJ80KUgTx ooO/PH7IqKd3lElc+DI2ZGp6cdJAOtjgrtNxBCbFFl95FbLOyOcQH6mUbI+QHZnYuk 7uiRKjzlnYW1AFkW/JQrtjBYoXXO8jpYoW/bFhsGQq1lEe1s5uMjsQmm5zF1jykHW9 NXy/tT89eQTp1WECwLvwTf70=
- In-reply-to: <a25135c7-206e-9c28-daab-02d897acff41@free.fr>
- Mail-followup-to: pari-users@pari.math.u-bordeaux.fr
- References: <a25135c7-206e-9c28-daab-02d897acff41@free.fr>
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) byt logint(x,2).
I will send you a fixed version.
Cheers,
Bill.