xref: /third_party/musl/src/math/i386/atan.s
  • Home
  • History
  • Annotate Annotate
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
  • only in /third_party/musl/src/math/i386/
1570af302Sopenharmony_ci.global atan
2570af302Sopenharmony_ci.type atan,@function
3570af302Sopenharmony_ciatan:
4570af302Sopenharmony_ci	fldl 4(%esp)
5570af302Sopenharmony_ci	mov 8(%esp),%eax
6570af302Sopenharmony_ci	add %eax,%eax
7570af302Sopenharmony_ci	cmp $0x00200000,%eax
8570af302Sopenharmony_ci	jb 1f
9570af302Sopenharmony_ci	fld1
10570af302Sopenharmony_ci	fpatan
11570af302Sopenharmony_ci	fstpl 4(%esp)
12570af302Sopenharmony_ci	fldl 4(%esp)
13570af302Sopenharmony_ci	ret
14570af302Sopenharmony_ci		# subnormal x, return x with underflow
15570af302Sopenharmony_ci1:	fsts 4(%esp)
16570af302Sopenharmony_ci	ret
17

Indexes created Thu Nov 07 10:32:03 CST 2024