Paul Clapham wrote:But I'm guessing your question was really why you don't get 40 decimal places in the sine? That's because you initialize "sum" to zero without any scale (so, with scale zero) and then return it immediately, without doing any calculations, in this particular case.
Thanks for the response!
Paul Clapham wrote:(P.S. The name of the Greek letter ε is "epsilon", not "ebsilon". Sorry for being picky, I know it doesn't affect the results at all.)
Now that's just embarrassing. I've been using
ebsilon all these years, not realizing it wasn't even a
word!