math cleanup: use 1.0f instead of (float)1.0

This commit is contained in:
nsz
2012-03-13 20:24:23 +01:00
parent 9560b6b152
commit 8d0a6f7a1c
25 changed files with 96 additions and 96 deletions

View File

@ -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));
}