Hi,The question of how you know how many digits are truly significant takes on added emphasis given your example.
The sine(π/4) = √2 / 2
Your result and the result from Wolfram Alpha:
As we can see, the match for 65 sig figs, but part company after that. So there's no point using whatever approach you used beyond that.Code:0.7071067811865475244008443621048490392848359376884740365883398689 409498 0.7071067811865475244008443621048490392848359376884740365883398689 953662392310535194251937671638207864
I think that, for high-precision computation of trig functions, that the preferred approach is to use algebraic/geometric means and elliptic integrals.
This question is quick to answer so I'll do this one first.
The application for that result only need 50 digits but I calculate more digits to make sure at least 50 are correct, then often just truncate the result to 50 digits. I use that for a lot of things that are not too demanding. It's just like a hand calculator that does various little tasks and has 16 immediate memories unless we consider the disk saves which gives almost unlimited memory space. It's linked to other programs similar to a 'plugin' so it can do other things like units conversions. it's not really meant to be used for very complicated math tasks.