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/remainderf.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/math/remainderf.c') diff --git a/src/math/remainderf.c b/src/math/remainderf.c index c17bb4f4..61c3c660 100644 --- a/src/math/remainderf.c +++ b/src/math/remainderf.c @@ -49,7 +49,7 @@ float remainderf(float x, float p) x -= p; } } else { - p_half = (float)0.5*p; + p_half = 0.5f*p; if (x > p_half) { x -= p; if (x >= p_half) -- cgit v1.2.1