about summary refs log tree commit diff
path: root/src/math/i386/acosl.s
blob: 599c8230cd74099d14045f19a590a4efb1eff39f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
.global acosl
.type acosl,@function
acosl:
	fldt 4(%esp)
	fld %st(0)
	fld1
	fsub %st(0),%st(1)
	fadd %st(2)
	fmulp
	fsqrt
	fabs         # fix sign of zero (matters in downward rounding mode)
	fxch %st(1)
	fpatan
	ret