| Mike McLendon on Wed, 26 May 2010 00:23:33 +0200 |
[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]
| setseriesprecision in library mode |
Hi, I'm using the PARI library and would like to increase the series precision. I see that there is a prototype of a function called "setseriesprecision" in the paridecl.h header file under the /*default.c*/ comment. However, the "default.c" source code file does not implement the "setseriesprecision" function. (Though it does implement the "getrealprecision" and "setrealprecision" functions, both of which I can use in my code.) I'm using pari-2.3.5 (stable). I would like to increase the series precision so that functions like tan(x) are more accurate when using the "gtopoly" function to convert the series to a poly and then the "gsubstr" function to evalute the poly at specific values. Perhaps the is also another way to do this? Any help would be appreciated. Thanks! Mike