Anonymous user
Horizontal sundial calculations: Difference between revisions
m
→{{header|REXX}}: corrected spelling error.
m (→{{header|REXX}}: expanded comment about pi.) |
m (→{{header|REXX}}: corrected spelling error.) |
||
Line 727:
/*John Machin's formula. */
d2r: return r2r(arg(1)*pi()/180) /*convert degrees ──► radians. */
r2d: return d2d((arg(1)*180/pi())) /*convert radians ──► degrees. */
|