Trigonometric functions: Difference between revisions
Content added Content deleted
No edit summary |
|||
Line 1,938: | Line 1,938: | ||
=={{header|Oforth}}== |
=={{header|Oforth}}== |
||
<lang Oforth> |
<lang Oforth>import: math |
||
{ |
|||
: testTrigo |
|||
| rad deg hyp z | |
| rad deg hyp z | |
||
Pi 4 / ->rad |
Pi 4 / ->rad |
||
Line 1,964: | Line 1,965: | ||
System.Out hyp sinh << " - " << hyp sinh asinh << cr |
System.Out hyp sinh << " - " << hyp sinh asinh << cr |
||
System.Out hyp cosh << " - " << hyp cosh acosh << cr |
System.Out hyp cosh << " - " << hyp cosh acosh << cr |
||
System.Out hyp tanh << " - " << hyp tanh atanh << cr |
System.Out hyp tanh << " - " << hyp tanh atanh << cr ;</lang> |
||
}</lang> |
|||
{{out}} |
{{out}} |