Category : C Source Code
Archive   : EMXLIB8C.ZIP
Filename : ASIN.S

 
Output of file : ASIN.S contained in archive : EMXLIB8C.ZIP
/ asin.s (emx/gcc) -- Copyright (c) 1991-1992 by Eberhard Mattes

.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
fld1
fsubp
fsqrt
fdivrp
fld1
fpatan
ret


  3 Responses to “Category : C Source Code
Archive   : EMXLIB8C.ZIP
Filename : ASIN.S

  1. Very nice! Thank you for this wonderful archive. I wonder why I found it only now. Long live the BBS file archives!

  2. This is so awesome! 😀 I’d be cool if you could download an entire archive of this at once, though.

  3. 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/