about summary refs log tree commit diff
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 056b5f86..fd11b849 100644
--- a/src/math/sinhf.c
+++ b/src/math/sinhf.c
@@ -40,7 +40,7 @@ float sinhf(float x)
 				return x;
 		t = expm1f(fabsf(x));
 		if (ix < 0x3f800000)
-			return h*((float)2.0*t - t*t/(t+one));
+			return h*(2.0f*t - t*t/(t+one));
 		return h*(t + t/(t+one));
 	}