Bill Allombert on Sun, 11 May 2003 19:24:42 +0200


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

Re: CVS: seriesprecision too large


On Sat, May 10, 2003 at 03:29:23PM -0700, Ilya Zakharevich wrote:
> ? default(seriesprecision,9)
>    seriesprecision = 9 significant terms
...
> See the terms with y^10.  It is fine with 2.2.0.

I think it is 2.2.5 F22:
   22- for transcendental function f and polynomial p, f(p) only gave
       seriesprecision significant terms when val(p) = 0

So this change is expected:

Now
? sin(x)
%1 = x - 1/6*x^3 + 1/120*x^5 - 1/5040*x^7 + 1/362880*x^9 - 1/39916800*x^11 + 1/6227020800*x^13 - 1/1307674368000*x^15 + O(x^17)

instead of

%1 = x - 1/6*x^3 + 1/120*x^5 - 1/5040*x^7 + 1/362880*x^9 - 1/39916800*x^11 + 1/6227020800*x^13 - 1/1307674368000*x^15 + O(x^16)

the rationale geing that we do not count the leading zero as a 
significant term.

Cheers,
Bill.