projects
/
musl
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
math: fix x86 asin accuracy
[musl]
/
src
/
math
/
i386
/
acos.s
diff --git
a/src/math/i386/acos.s
b/src/math/i386/acos.s
index
6f9ef7f
..
bfff0c5
100644
(file)
--- a/
src/math/i386/acos.s
+++ b/
src/math/i386/acos.s
@@
-14,11
+14,17
@@
acosl:
.type acos,@function
acos:
fldl 4(%esp)
-1: fld
%st(0)
- f
mul %st(0
)
+1: fld
1
+ f
ld %st(1
)
fld1
- fsubp %st(1)
+ fsubp
+ fsqrt
+ fxch %st(2)
+ faddp
fsqrt
- fxch %st(1)
fpatan
+ fld1
+ fld1
+ faddp
+ fmulp
ret