Category : OS/2 Files
Archive   : EMXLIB8F.ZIP
Filename : ASIN.S
#include
.globl _asin
.text
.align 2, 0x90
/ double asin (double x)
/ asin(x) = atan (x / sqrt (1-x*x))
#define x 4(%esp)
_asin:
fldl x / x
fld %st
fld %st
fmulp
fsubrl __const_ONE
fsqrt
fdivrp
fldl __const_ONE
fpatan
_xam
j_nan 1f
ret
.align 2, 0x90
1: SETERRNO($EDOM)
ret
Very nice! Thank you for this wonderful archive. I wonder why I found it only now. Long live the BBS file archives!
This is so awesome! 😀 I’d be cool if you could download an entire archive of this at once, though.
But one thing that puzzles me is the “mtswslnkmcjklsdlsbdmMICROSOFT” string. There is an article about it here. It is definitely worth a read: http://www.os2museum.com/wp/mtswslnk/