Program to Calculate Pi
I want to start making a program that calculates pi to an amount of digits specified by the user. I need to know how to make a number data type big enough to store the amount of digits i need. I want to go up to at least 1000 digits.
"floats only have 7 digits of precision, and double, only 14."
any help at all would be appreciated.
I don't think there is a actual typt thay goes up to a thousand digits of precision. So the only advice I can give you is to make one. By either using a struct or a class.