projects
/
musl
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
fix integer overflow in WIFSTOPPED macro
[musl]
/
src
/
math
/
sinh.c
diff --git
a/src/math/sinh.c
b/src/math/sinh.c
index
00022c4
..
a01951a
100644
(file)
--- a/
src/math/sinh.c
+++ b/
src/math/sinh.c
@@
-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;
}