mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-08 15:38:09 +02:00
a couple casts (Evgeny Kotsuba)
This commit is contained in:
parent
27358a24a0
commit
a3793214e9
1 changed files with 2 additions and 2 deletions
|
|
@ -429,8 +429,8 @@ static INLINE int iceil(float f)
|
|||
fi_type u;
|
||||
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) >> 1;
|
||||
}
|
||||
#define ICEIL(x) iceil(x)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue