From 8d0a6f7a1c47b280647f292e6864b85b72c71f2e Mon Sep 17 00:00:00 2001 From: nsz Date: Tue, 13 Mar 2012 20:24:23 +0100 Subject: math cleanup: use 1.0f instead of (float)1.0 --- src/math/sinhf.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/math/sinhf.c') 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)); } -- cgit v1.2.1