Karim BELABAS on Wed, 26 Feb 2003 19:30:24 +0100 (MET) |
[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]
Re: zetakinit() puzzle |
On Wed, 26 Feb 2003, Bill Allombert wrote: > On Wed, Feb 26, 2003 at 06:01:41PM +0100, Karim BELABAS wrote: >> Of course, we have the same kind of problems with exact t_COMPLEX and >> t_QUADs... > > I suppose gsincos take care of t_COMPLEX ? t_QUAD are more tricky to handle. We still have all hyperbolic functions: cosh(I*x) = cos(x), and so on. > Here a new patch (that still need to change the bench). > > Now, I wonder if mpsc_exact is an overkill. Should not > mpsc_exact(GEN x,long prec){return gadd(x,realzero(prec));} > be as good, and work for exact t_QUAD as well ? As a matter of fact, it should! Thanks, Karim. -- Karim Belabas Tel: (+33) (0)1 69 15 57 48 Dép. de Mathématiques, Bât. 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/