luis . gallardo on Thu, 12 Jan 2023 12:14:15 +0100
|
[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]
probable bug of "ispower" function in GP
|
- To: Bill Allombert <Bill.Allombert@math.u-bordeaux.fr>
- Subject: probable bug of "ispower" function in GP
- From: luis.gallardo@math.cnrs.fr
- Date: Thu, 12 Jan 2023 12:13:05 +0100
- Cc: pari-dev@pari.math.u-bordeaux.fr, luis.gallardo@math.cnrs.fr, Luis.Gallardo@univ-brest.fr
- Delivery-date: Thu, 12 Jan 2023 12:14:15 +0100
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=math.cnrs.fr; s=mail; t=1673521989; bh=U9v55gBqNIcflnR/2vJsQesI8GK6AfYVfxUfwP6UwMc=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=XqGWlhRCnGpVu/K6IlCRuDtuuH18HnityCuFd4wi5JvI0vbGB6+3Xi9YgJFgvRh9z AtcbTbAWn+V/bDBzOVhgsN+4/hrRWSyuz67j772PIv7YeQHnU+ZSIgpxghbKP+FpqX AkbTsmqLILyyouaWSTNCG7bfUsj0OhK2Xuf7FqKDMMSQNc7sar8UehDwSTxzgk0HVg s985YkJReN35diBgHZvSCHJ+U+dtbi824Ysy8o/1dTtENFwh5mzktytJJEc3C0ii1I bdeAvMQDW4VNbNgeyJS5jlx6s3lkB9yEcRhL+v1XCQO8y4/UmSRWrFVpOzw5+c+xV9 kMusJ0+FS61BQ==
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=math.cnrs.fr; s=mail; t=1673521986; bh=U9v55gBqNIcflnR/2vJsQesI8GK6AfYVfxUfwP6UwMc=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=f77n/3wlTpIZxH+JRfUQu+xIJUPsf1mARsJtp2u5jQrAtNkUb2foe01MtYYNHMex3 3brWUS1+qYmGBHC4U8ibhBgAY3pXVcBQLKn3qUKZaMd9CdqweKBOWJbfKFwi4C0CrK abGrmMyoP724f+A3nW3wtSHNzwxsMbLf4QlJB9t/yLpBvbqJCe+WjmXiBvHu3yaYqA qqDf5kbFd92fRqblRIpHe4J/5R41FfIyCILtVyjcnYa+pMHZMCdiYkwakadkF/omw+ Fg18OkUibUmaq207ux7iY7FqoOypS7KJ/t1+hOogaMeJRdKpFwm9zFgO+9e4mQ700z 7z8y2bJ0M3Baw==
- In-reply-to: <Y0sXHmbHi3ZArXpG@seventeen>
- References: <20221015110556.Horde.DzRB347NPa1ivF_tMR97m6u@webmail.math.cnrs.fr> <Y0sXHmbHi3ZArXpG@seventeen>
- User-agent: Horde Application Framework 5
Brest, January 12, 2023.
Hi Bill,
While working on a problem I landed at:
Reading GPRC: gprc.txt
GPRC Done.
GP/PARI CALCULATOR Version 2.15.0 (released)
amd64 running mingw (x86-64/GMP-6.1.2 kernel) 64-bit version
compiled: Sep 19 2022, gcc version 10-posix 20210110 (GCC)
threading engine: single
(readline v8.0 enabled, extended help enabled)
Copyright (C) 2000-2022 The PARI Group
PARI/GP is free software, covered by the GNU General Public License,
and comes WITHOUT ANY WARRANTY WHATSOEVER.
Type ? for help, \q to quit.
Type ?18 for how to get moral (and possibly technical) support.
parisize = 8000000, primelimit = 500000
(01:00) gp > ispower(8,2)
%1 = 0
(01:00) gp > ispower(16,2)
%2 = 1
(01:00) gp > ispower(9,3)
%3 = 0
(01:00) gp > ispower(27,3)
%4 = 1
(01:01) gp > ispower(4,2)
%5 = 1
(01:01) gp >
***
I checked other versions of GP, including a linux one:
same problem!
Cordially,
luis
***
Lis H. Gallardo
Bill Allombert <Bill.Allombert@math.u-bordeaux.fr> a écrit :
On Sat, Oct 15, 2022 at 11:05:56AM +0200, luis.gallardo@math.cnrs.fr wrote:
Hi,
Nice new version!
What about to add some basic versions of sum and prod?
sum by steps
prod by steps
Hi Luis,
Could you give an example ?
Thanks for using PARI/GP!
Bill.