diff options
author | Mystery Man <unknown@mandriva.org> | 2005-04-04 19:00:13 +0000 |
---|---|---|
committer | Mystery Man <unknown@mandriva.org> | 2005-04-04 19:00:13 +0000 |
commit | ff340ae492915a1723450c148641b594326c5fd8 (patch) | |
tree | 3ddaf354b14099899888a5a4c65a2bbbe5d5c3af /mdk-stage1/dietlibc/i386/cosh.S | |
parent | eb8a0c458d1d40e8aaaa00753fcef8cff968c277 (diff) | |
download | drakx-backup-do-not-use-ff340ae492915a1723450c148641b594326c5fd8.tar drakx-backup-do-not-use-ff340ae492915a1723450c148641b594326c5fd8.tar.gz drakx-backup-do-not-use-ff340ae492915a1723450c148641b594326c5fd8.tar.bz2 drakx-backup-do-not-use-ff340ae492915a1723450c148641b594326c5fd8.tar.xz drakx-backup-do-not-use-ff340ae492915a1723450c148641b594326c5fd8.zip |
This commit was manufactured by cvs2svn to create tag 'V10_2_19mdk'.V10_2_19mdk
Diffstat (limited to 'mdk-stage1/dietlibc/i386/cosh.S')
-rw-r--r-- | mdk-stage1/dietlibc/i386/cosh.S | 29 |
1 files changed, 0 insertions, 29 deletions
diff --git a/mdk-stage1/dietlibc/i386/cosh.S b/mdk-stage1/dietlibc/i386/cosh.S deleted file mode 100644 index f6a33704d..000000000 --- a/mdk-stage1/dietlibc/i386/cosh.S +++ /dev/null @@ -1,29 +0,0 @@ - -.text -.type cosh,@function -.global cosh - -cosh: # note: exp(x) = 2^(x*log2(e)) - fldl2e - fmull 4(%esp) # x*log2(e) - fld %st(0) # x*log2(e) x*log2(e) - frndint # int(x*log2(e)) x*log2(e) - fxch # x*log2(e) int(x*log2(e)) - fsub %st(1),%st(0) # frac(x*log2(e)) int(x*log2(e)) - f2xm1 # 2^(fract(x*log2(e)))-1 int(x*log2(e)) - fld1 # 1 2^(fract(x*log2(e)))-1 int(x*log2(e)) - faddp %st(0),%st(1) # 2^(fract(x*log2(e))) int(x*log2(e)) - fscale # 2^(x*log2(e)) int(x*log2(e)) - fstp %st(1) # 2^(x*log2(e)) - -# now we have y = exp(x), but cosh(x) = (y + 1/y) * 0.5 - - fld1 - fdiv %st(1),%st(0) - faddp - fmuls __half - ret - -.Lende: - -.size cosh,.ende-cosh |