summaryrefslogblamecommitdiff
path: root/src/math/i386/acos.s
blob: 6f9ef7f0e37ada36bc53e9b37a3c1d234f528be6 (plain) (tree)























                     
.global acosf
.type acosf,@function
acosf:
	flds 4(%esp)
	jmp 1f

.global acosl
.type acosl,@function
acosl:
	fldt 4(%esp)
	jmp 1f

.global acos
.type acos,@function
acos:
	fldl 4(%esp)
1:	fld %st(0)
	fmul %st(0)
	fld1
	fsubp %st(1)
	fsqrt
	fxch %st(1)
	fpatan
	ret