math: fix x86 asin accuracy
[musl] / src / math / i386 / asin.s
1 .global asinf
2 .type asinf,@function
3 asinf:
4         flds 4(%esp)
5         jmp 1f
6
7 .global asinl
8 .type asinl,@function
9 asinl:
10         fldt 4(%esp)
11         jmp 1f
12
13 .global asin
14 .type asin,@function
15 asin:
16         fldl 4(%esp)
17 1:      fld %st(0)
18         fld1
19         fsub %st(0),%st(1)
20         fadd %st(2)
21         fmulp
22         fsqrt
23         fpatan
24         ret