| Karim Belabas on Mon, 25 Feb 2008 23:08:03 +0100 |
[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]
| Re: get series precision |
* John Jones [2008-02-25 22:35]:
> If I have a power series, is there a function which tells me its
> precision? For example,
>
> f1 = exp(x)
> f2 = (f1-1)/x
>
> With the default, f1 is +O(x^17) and f2 is +O(x^16). How can a script
> tell which is which?
#f1, #f2 ( or length(f1) if your old version of PARI doesn't know about #)
Cheers,
K.B.
--
Karim Belabas 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-bordeaux.fr/~belabas/
F-33405 Talence (France) http://pari.math.u-bordeaux.fr/ [PARI/GP]
`