Karim Belabas on Wed, 20 Jul 2011 21:23:02 +0200


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

Re: znlog() behavior


* Max Alekseyev [2011-07-20 20:57]:
> Yet another problematic input:
> 
> ? znlog(3,Mod(3,8),znorder(Mod(3,8)))
>   ***   at top-level: znlog(3,Mod(3,8),zno
>   ***                 ^--------------------
>   *** znlog: not a primitive root in znlog.
>   ***   Break loop: type 'break' to go back to GP
> 
> I would expect it to simply return 1.

This one is a bug. Ackowledged :-)

Thanks !

    K.B.
--
Karim Belabas, IMB (UMR 5251)  Tel: (+33) (0)5 40 00 26 17
Universite Bordeaux 1          Fax: (+33) (0)5 40 00 69 50
351, cours de la Liberation    http://www.math.u-bordeaux1.fr/~belabas/
F-33405 Talence (France)       http://pari.math.u-bordeaux1.fr/  [PARI/GP]
`