mailing list of musl libc
 help / color / mirror / code / Atom feed
f3a975b53d6817b0728be47ddf9c9ad6be9434ab blob 324 bytes (raw)

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
 
.include "ibt.s"
# use acos(x) = atan2(fabs(sqrt((1-x)*(1+x))), x)

.global acos
.type acos,@function
acos:
	ENDBRANCH32
	fldl 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
	fstpl 4(%esp)
	fldl 4(%esp)
	ret
debug log:

solving f3a975b5 ...
found f3a975b5 in https://inbox.vuxu.org/musl/20201019224342.53303-5-joao.moreira@intel.com/
found af423a2f in https://git.vuxu.org/mirror/musl/
preparing index
index prepared:
100644 af423a2fcdbdac84409c4155e49be84ae354cd96	src/math/i386/acos.s

applying [1/1] https://inbox.vuxu.org/musl/20201019224342.53303-5-joao.moreira@intel.com/
diff --git a/src/math/i386/acos.s b/src/math/i386/acos.s
index af423a2f..f3a975b5 100644

Checking patch src/math/i386/acos.s...
Applied patch src/math/i386/acos.s cleanly.

index at:
100644 f3a975b53d6817b0728be47ddf9c9ad6be9434ab	src/math/i386/acos.s

Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/musl/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).