Possible Duplicate:
Is there a C++ equivalent to Java's BigDecimal?
I recently posted about a C++ Pi approximating program I was making. You can find the code for that here: C++ Pi approximation program but the code itself isn't really relevant. Just know that I need to do arithmetic including powers with the numbers involved.
Now the program works fine, but I was wandering if it were possible to somehow (perhaps using a custom data type) increase the precision above the measly 15 decimal places offered by a double as the program can calculate Pi precise to 15 decimal places in less than one second.
Any help is appreciated.