repo.or.cz
/
glibc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
i386: ulp update for SSE2 --disable-multi-arch configurations
[glibc.git]
/
sysdeps
/
i386
/
fpu
/
e_acosf.S
blob
435dcd9f671a3e2aef96d4f0612eb7058a24ecc4
1
/*
2
* Public domain.
3
*/
4
5
#include <machine/asm.h>
6
#include <libm-alias-finite.h>
7
8
RCSID("$NetBSD: $")
9
10
/* acos = atan (sqrt(1 - x^2) / x) */
11
ENTRY(__ieee754_acosf)
12
flds 4(%esp) /* x */
13
fld %st
14
fmul %st(0) /* x^2 */
15
fld1
16
fsubp /* 1 - x^2 */
17
fsqrt /* sqrt (1 - x^2) */
18
fabs
19
fxch %st(1)
20
fpatan
21
ret
22
END (__ieee754_acosf)
23
libm_alias_finite (__ieee754_acosf, __acosf)