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

Be a part of the DaniWeb community

We're a friendly, industry-focused community of 1.18 million developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.