Talk:Trigonometric functions: Difference between revisions

m
→‎Notes on precise sin implemented in Rexx: removed more pronouns, changed verb tense. -- ~~~~
m (→‎Notes on precise sin implemented in Rexx: removed some pronouns from comments. -- ~~~~)
m (→‎Notes on precise sin implemented in Rexx: removed more pronouns, changed verb tense. -- ~~~~)
Line 100:
<lang rexx>showdigs=30 /*show only 30 digits of number. */
numeric digits showdigs+10</lang>
In my other "trig/hyperbolic/math" subroutine (not included here), Iit havehas 175 different functions, and
<br>adding the REXX statements to bump the precision and re-nonormalize the result for each of the those
<br>functions would be to burdensome and bulky. In most likehood, the re-normaliztion would be a waste of time if
<br>if the invocation program is performing a series of SIN calls, as indeed, the Rosetta Code example doesis.
<br>The small REXX program (here on Rosetta Code) only has 18 internal functions, and even that small number
<br>would add a lotsignificant amount of code.
<br>This type of REXX code (bumping the precision, re-normalizing) can't be consoliated because of the
<br>manner in which REXX honors '''numeric digits''' between subroutine calls, so it's impossible to use a REXX