提交 46702f68 编写于 作者: R Rich Felker

avoid changing NaNs in sqrt (x86 asm) to satisfy c99 f.9 recommendation

上级 809556e6
......@@ -10,6 +10,10 @@ sqrt: fldl 4(%esp)
and $0x7ff,%ecx
cmp $0x400,%ecx
jnz 1f
mov 8(%esp),%ecx
or $0xffff8000,%ecx
inc %ecx
jz 1f
and $0x200,%eax
sub $0x100,%eax
sub %eax,(%esp)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册