Talk:Trigonometric functions: Difference between revisions

m
→‎Notes on precise sin implemented in Rexx: added the word ''decimal'' in front of digits (for precision) to help clarify what kind of digits. -- ~~~~
(→‎Notes on precise sin implemented in Rexx: added comments about the REXX code last digit accuracy. -- ~~~~)
m (→‎Notes on precise sin implemented in Rexx: added the word ''decimal'' in front of digits (for precision) to help clarify what kind of digits. -- ~~~~)
Line 58:
 
: That's what the REXX program shows. It adds 10 digits to the number of digits (precision) you want to see in the output.
: Also, I long ago discovered that most trig and hyperbolic functions of this type usually require at least four extra (decimal) digits to be used (but only for some values that are near asymptotic points and others near multiples or fractions of pi. So I added one more digits to be on the safe side. Since then, I made the addition to an even five for a few hyperbolic functions and then did the same to the trig functions, but used ten here (on Rosetta Code) for safety's sake. -- [[User:Gerard Schildberger|Gerard Schildberger]] 20:55, 22 June 2012 (UTC)
 
I discussed this topic 10 years ago on Vladimir Zabrovsky's Album of (Rexx) algorithms which contains a wealth of code.