提交 804fbf0b 编写于 作者: R Rich Felker

use alternate formula for acos asm to avoid loss of precision

上级 97721a55
......@@ -14,11 +14,19 @@ acosl:
.type acos,@function
acos:
fldl 4(%esp)
1: fld %st(0)
fmul %st(0)
1: fld1
fld %st(1)
fld1
fsubp %st(1)
fsubp
fxch %st(2)
faddp
fdivp
fsqrt
fld1
fxch %st(1)
fpatan
fld1
fld1
faddp
fmulp
ret
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册