Home | History | Annotate | Download | only in debase

Lines Matching refs:deInt32

200 DE_INLINE float		deInt32ToFloat				(deInt32 x)					{ return (float)x; }
204 float deInt32ToFloatRoundToNegInf (deInt32 x);
208 float deInt32ToFloatRoundToPosInf (deInt32 x);
212 DE_INLINE deInt32 deChopFloatToInt32 (float x) { return (deInt32)x; }
213 DE_INLINE deInt32 deFloorFloatToInt32 (float x) { return (deInt32)(deFloatFloor(x)); }
214 DE_INLINE deInt32 deCeilFloatToInt32 (float x) { return (deInt32)(deFloatCeil(x)); }
216 DE_INLINE deInt32 deChopToInt32 (double x) { return (deInt32)x; }
217 DE_INLINE deInt32 deFloorToInt32 (double x) { return (deInt32)(deFloor(x)); }
218 DE_INLINE deInt32 deCeilToInt32 (double x) { return (deInt32)(deCeil(x)); }
222 DE_INLINE deInt32 deRoundFloatToInt32 (float x) { if(x >= 0.0f) return (deInt32)(x + 0.5f); else return (deInt32)(x - 0.5f); }
226 DE_INLINE deInt32 deRoundToInt32 (double x) { if(x >= 0.0) return (deInt32)(x + 0.5); else return (deInt32)(x - 0.5); }