⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 acos.s

📁 操作系统SunOS 4.1.3版本的源码
💻 S
字号:
/ /	.data/	.asciz	"@(#)acos.s 1.1 92/07/30 SMI"/	.even/	.text//	Copyright (c) 1987 by Sun Microsystems, Inc.	.text	.globl	acosacos:	pushl   %ebp	movl    %esp,%ebp		 	fldl	8(%esp)			/ push x	fld1				/ push 1	fld	%st(1)			/ x , 1 , x	fabs				/ |x| , 1 , x	fucomp	fstsw   %ax	sahf	ja	ERR	fadd	%st(1),%st		/ 1+x,x	fldz	fucomp		fstsw	%ax	sahf	jp	L1	jne	L1	/ x is -1 	fxch	%st(1)	fchs	fxch	%st(1)			/ 0,+1	fpatan	fadd	%st(0),%st	leave	retL1:	fxch	%st(1)			/ x,1+x	fld1				/ 1,x,1+x	fsubp	%st,%st(1)		/ 1-x,1+x	fdivp	%st,%st(1)		/ (1-x)/(1+x)	fsqrt	fld1				/ 1,sqrt((1-x)/(1+x))	fpatan	fadd	%st(0),%st	leave	retERR:	/ |x| > 1	fstp	%st(0)			/ x	fstp	%st(0)			/ empty NPX stack	pushl   $1	pushl   12(%ebp)                / high x	pushl   8(%ebp)                 / low x	pushl   12(%ebp)                / high x	pushl   8(%ebp)                 / low x	call    SVID_libm_err		/ report SVID result/error	addl    $20,%esp	leave	ret

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -