summaryrefslogtreecommitdiff
path: root/src/math/cosh.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/math/cosh.c')
-rw-r--r--src/math/cosh.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/math/cosh.c b/src/math/cosh.c
index 100f8231..490c15fb 100644
--- a/src/math/cosh.c
+++ b/src/math/cosh.c
@@ -35,6 +35,6 @@ double cosh(double x)
/* |x| > log(DBL_MAX) or nan */
/* note: the result is stored to handle overflow */
- t = __expo2(x);
+ t = __expo2(x, 1.0);
return t;
}