Karim BELABAS on Thu, 8 Aug 2002 12:29:36 +0200 (MEST)


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

Re: sqrtn() feature


On Mon, 5 Aug 2002, Michael Somos wrote:
>                  GP/PARI CALCULATOR Version 2.2.3 (development)
>                  UltraSparc (MicroSparc kernel) 32-bit version
>               (readline v2.2 enabled, extended help not available)
> ? sqrt(0)
> %1 = 0.E-14
> ? sqrtn(0,3)
>   ***   non positive argument in mplog.
>
> Perhaps this could return zero also? Shalom, Michael

It should. I've made the necessary change to gsqrtn() in CVS version.

    Karim.
-- 
Karim Belabas                    Tel: (+33) (0)1 69 15 57 48
Dép. de Mathematiques, Bat. 425  Fax: (+33) (0)1 69 15 60 19
Université Paris-Sud             Email: Karim.Belabas@math.u-psud.fr
F-91405 Orsay (France)           http://www.math.u-psud.fr/~belabas/
--
PARI/GP Home Page: http://www.parigp-home.de/