Anonymous user
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),
<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
<br>if the invocation program is performing a series of SIN calls, as indeed, the Rosetta Code example
<br>The small REXX program (here on Rosetta Code) only has 18 internal functions, and even that small number
<br>would add a
<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
|