diff options
Diffstat (limited to 'sysdeps/ieee754/dbl-64/e_sinh.c')
-rw-r--r-- | sysdeps/ieee754/dbl-64/e_sinh.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/sysdeps/ieee754/dbl-64/e_sinh.c b/sysdeps/ieee754/dbl-64/e_sinh.c index 8479bdd9b8..c4e34211ac 100644 --- a/sysdeps/ieee754/dbl-64/e_sinh.c +++ b/sysdeps/ieee754/dbl-64/e_sinh.c @@ -34,7 +34,9 @@ static char rcsid[] = "$NetBSD: e_sinh.c,v 1.7 1995/05/10 20:46:13 jtc Exp $"; #include <float.h> #include <math.h> +#include <math-narrow-eval.h> #include <math_private.h> +#include <math-underflow.h> static const double one = 1.0, shuge = 1.0e307; @@ -43,7 +45,7 @@ __ieee754_sinh (double x) { double t, w, h; int32_t ix, jx; - u_int32_t lx; + uint32_t lx; /* High word of |x|. */ GET_HIGH_WORD (jx, x); @@ -77,7 +79,7 @@ __ieee754_sinh (double x) /* |x| in [log(maxdouble), overflowthresold] */ GET_LOW_WORD (lx, x); - if (ix < 0x408633ce || ((ix == 0x408633ce) && (lx <= (u_int32_t) 0x8fb9f87d))) + if (ix < 0x408633ce || ((ix == 0x408633ce) && (lx <= (uint32_t) 0x8fb9f87d))) { w = __ieee754_exp (0.5 * fabs (x)); t = h * w; |