fix integer overflow in WIFSTOPPED macro
[musl] / src / math / sinh.c
index 00022c4..a01951a 100644 (file)
@@ -34,6 +34,6 @@ double sinh(double x)
 
        /* |x| > log(DBL_MAX) or nan */
        /* note: the result is stored to handle overflow */
-       t = 2*h*__expo2(absx);
+       t = __expo2(absx, 2*h);
        return t;
 }