Karim Belabas on Sun, 30 Apr 2017 16:33:19 +0200
|
[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]
- To: pari-users@pari.math.u-bordeaux.fr
- Subject: Re: Mod(1,1)
- From: Karim Belabas <Karim.Belabas@math.u-bordeaux.fr>
- Date: Sun, 30 Apr 2017 16:33:10 +0200
- Delivery-date: Sun, 30 Apr 2017 16:33:19 +0200
- Dkim-signature: v=1; a=rsa-sha256; c=simple/simple; d=math.u-bordeaux.fr; s=mail; t=1493562791; bh=0VwhkLJvwxd6WXt1kXTN34OQ/Vfaht6XBcJiizUYsss=; h=Date:From:To:Subject:References:In-Reply-To:From; b=fNvxbddSBjfVnrftasinIt0dIKisgPzS/oEfJwe0TNFMe81S0Q2cjsQq3+hMyyg40 /8DRmUbBh0XxFSqFlBx/IuZX6vVBMITFrqyxK16gKQy+4Lo06sz97Wx+Pz7+xNj9Ct HEAOn664UiDP6aSNPJBXJxLx5pxYo0hEEuEh64Iw=
- In-reply-to: <CAJkPp5NDJ9293aAfgKZ9VnzWZOz_pSxBiO=2cCDXsEqDYf_EGQ@mail.gmail.com>
- Mail-followup-to: pari-users@pari.math.u-bordeaux.fr
- References: <CAJkPp5NDJ9293aAfgKZ9VnzWZOz_pSxBiO=2cCDXsEqDYf_EGQ@mail.gmail.com>
- User-agent: Mutt/1.6.0 (2016-04-01)
* Max Alekseyev [2017-04-30 16:01]:
> This is weird - perhaps, a bug:
>
> ? Mod(2,1)^0
> %1 = Mod(1, 1)
> ? % == Mod(1,1)
> %2 = 0
Yes, a bug: "Mod(1,1)" is not a valid t_INTMOD, it should have been
normalized to Mod(0,1).
Now fixed in 'master'.
Thanks !
K.B.
--
Karim Belabas, IMB (UMR 5251) Tel: (+33) (0)5 40 00 26 17
Universite de Bordeaux Fax: (+33) (0)5 40 00 21 23
351, cours de la Liberation http://www.math.u-bordeaux.fr/~kbelabas/
F-33405 Talence (France) http://pari.math.u-bordeaux.fr/ [PARI/GP]
`
- References:
- Mod(1,1)
- From: Max Alekseyev <maxale@gmail.com>