I\'m reviving this question, and making it more specific: Is there a .NET framework library that supports numbers with arbitrary digits of precision?
Here is a good article on how to represent infinite digits.
http://dobbscodetalk.com/index.php?option=com_myblog&show=Basic-Arithmetic-with-Infinite-Integers.html&Itemid=29
good luck