summaryrefslogtreecommitdiff
path: root/src/math/sinhf.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/math/sinhf.c')
-rw-r--r--src/math/sinhf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/math/sinhf.c b/src/math/sinhf.c
index 6ad19ea2..b9caa793 100644
--- a/src/math/sinhf.c
+++ b/src/math/sinhf.c
@@ -26,6 +26,6 @@ float sinhf(float x)
}
/* |x| > logf(FLT_MAX) or nan */
- t = 2*h*__expo2f(absx);
+ t = __expo2f(absx, 2*h);
return t;
}