There are various algorithms, some quite simple - some less so. A useful place to start looking is here: http://yacas.sourceforge.net/Algochapter5.html There are enough ideas in there to get you going (for very high precisions, say 100K digits plus, you should consider the AGM method). Cheers Jim White ANU Canberra