I\'m reviving this question, and making it more specific: Is there a .NET framework library that supports numbers with arbitrary digits of precision?
Perhaps surprisingly, the Bailey-Borwein-Plouffe formula gives an incremental procedure for computing the next binary or hexadecimal digit of pi without needing to store all the previous digits.