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/asinf.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/math/asinf.c') diff --git a/src/math/asinf.c b/src/math/asinf.c index 729dd37f..7865a45b 100644 --- a/src/math/asinf.c +++ b/src/math/asinf.c @@ -52,7 +52,7 @@ float asinf(float x) } /* 1 > |x| >= 0.5 */ w = one - fabsf(x); - t = w*(float)0.5; + t = w*0.5f; p = t*(pS0+t*(pS1+t*pS2)); q = one+t*qS1; s = sqrt(t); -- cgit v1.2.1