added a couple casts

This commit is contained in:
Brian Paul
2003-05-15 13:38:24 +00:00
parent 06a03bfb2a
commit 12f8fb6084

View File

@@ -383,8 +383,8 @@ static INLINE int ifloor(float f)
af = (3 << 22) + 0.5 + (double)f;
bf = (3 << 22) + 0.5 - (double)f;
u.f = af; ai = u.i;
u.f = bf; bi = u.i;
u.f = (float) af; ai = u.i;
u.f = (float) bf; bi = u.i;
return (ai - bi) >> 1;
}
#define IFLOOR(x) ifloor(x)