Difference between revisions of "ESM Math Library"
Jump to navigation
Jump to search
→Stage 17: Sin Cos Tan 3
imported>DragoonWraith |
imported>Galsiah |
||
|
set f.sin to (f.sin*f.n)
set f.cos to (1 - (f.t2*(0.4967 - (0.
set f.cos to (f.cos*f.n)
if (f.cos == 0)
set f.cos to 0.00001 ;avoid divide by zero, and maintain tan = sin/cos
endif
set f.fout to f.sin
set myResultCos to f.fout2
set myResultTan to f.fout3</pre>
=== Stage 20: Arcsine ===
| |||