xref: /aosp_15_r20/external/musl/src/math/i386/atan2f.s (revision c9945492fdd68bbe62686c5b452b4dc1be3f8453)
1.global atan2f
2.type atan2f,@function
3atan2f:
4	flds 4(%esp)
5	flds 8(%esp)
6	fpatan
7	fstps 4(%esp)
8	flds 4(%esp)
9	mov 4(%esp),%eax
10	add %eax,%eax
11	cmp $0x01000000,%eax
12	jae 1f
13		# subnormal x, return x with underflow
14	fld %st(0)
15	fmul %st(1)
16	fstps 4(%esp)
171:	ret
18