I\'m writing a function that calculates the value of PI, and returns it as a double. So far so good. But once the function gets to 14 digits after the decimal place, it can\
There are several libraries that let you work with arbitrary precision. One is W3b.sine, but several others are described on wikipedia.