projects
/
external
/
glibc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c9bfaa1
)
(__ieee754_sinhl): sinhl(x) = x when x < 2^-32.
author
Andreas Jaeger
<aj@suse.de>
Tue, 29 May 2001 15:41:11 +0000
(15:41 +0000)
committer
Andreas Jaeger
<aj@suse.de>
Tue, 29 May 2001 15:41:11 +0000
(15:41 +0000)
sysdeps/ieee754/ldbl-96/e_sinhl.c
patch
|
blob
|
history
diff --git
a/sysdeps/ieee754/ldbl-96/e_sinhl.c
b/sysdeps/ieee754/ldbl-96/e_sinhl.c
index
4f9cfe2
..
646d4fd
100644
(file)
--- a/
sysdeps/ieee754/ldbl-96/e_sinhl.c
+++ b/
sysdeps/ieee754/ldbl-96/e_sinhl.c
@@
-66,7
+66,7
@@
static long double one = 1.0, shuge = 1.0e4931L;
if (jx & 0x8000) h = -h;
/* |x| in [0,25], return sign(x)*0.5*(E+E/(E+1))) */
if (ix < 0x4003 || (ix == 0x4003 && i0 <= 0xc8000000)) { /* |x|<25 */
- if (ix<0x3f
e3) /* |x|<2**-28
*/
+ if (ix<0x3f
df) /* |x|<2**-32
*/
if(shuge+x>one) return x;/* sinh(tiny) = tiny with inexact */
t = __expm1l(fabsl(x));
if(ix<0x3fff) return h*(2.0*t-t*t/(t+one));