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














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