I am trying to calculate the value of pi (just for fun, I know it's already done for millions of decimal places), the program I made works fine, but the problem is that, it is constrained by the accuracy of double values. Is there anyway to create 'extendable' floating point values (ie. it grows bigger as greater precision is reached). If such a library does not already exist, can you please tell me how to go about making it?


Thanks a lot for your help.
My problem is solved