Difference between revisions of "ESM Math Library"
Jump to navigation
Jump to search
→Stage 22: Arccosine
imported>Galsiah |
imported>Galsiah |
||
Line 374: | Line 374: | ||
Takes a float.<br> | Takes a float.<br> | ||
Returns the Arccosine in | Returns the Arccosine in DEGREES as a float.<br> | ||
Implementation relies on Stage | Implementation relies on Stage 20.<br> | ||
Code for the Stage Result Script: | Code for the Stage Result Script: | ||
<pre>;FUNCTION float Arccosine(float cos) | <pre>;FUNCTION float Arccosine(float cos) | ||
setStage f | setStage f 20 ;Call Arcsine with same input (DEGREES version) | ||
set f.fout to ( | set f.fout to (90 - f.fout)</pre> | ||
Usage in another script: | Usage in another script: |