| Karim Belabas on Sun, 30 Apr 2017 16:33:19 +0200 |
[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]
| Re: Mod(1,1) |
* 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]
`