summaryrefslogblamecommitdiff
path: root/src/math/i386/log1p.s
blob: 9971e53c5446f8ace46fd9d1b591f9f927d8f023 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15














                            
.global log1p
.type log1p,@function
log1p:
	mov 8(%esp),%eax
	fldln2
	and $0x7fffffff,%eax
	fldl 4(%esp)
	cmp $0x3fd28f00,%eax
	ja 1f
	fyl2xp1
	ret
1:	fld1
	faddp
	fyl2x
	ret