summaryrefslogtreecommitdiff
path: root/src/math/sinh.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/math/sinh.c')
-rw-r--r--src/math/sinh.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/math/sinh.c b/src/math/sinh.c
index 00022c4e..a01951ae 100644
--- 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;
}