Searched refs:FRACT_FIX_SCALE (Results 1 – 1 of 1) sorted by relevance
146 #define FRACT_FIX_SCALE ((INT64(1) << (FRACT_BITS - 1))) macro182 ? ((((double)(val) * (FRACT_FIX_SCALE) + 0.5) >= \185 : (SHORT)((double)(val) * (double)(FRACT_FIX_SCALE) + 0.5)) \186 : ((((double)(val) * (FRACT_FIX_SCALE)-0.5) <= \189 : (SHORT)((double)(val) * (double)(FRACT_FIX_SCALE)-0.5)))207 ((val) > 0.0f ? (SHORT)((val) * (float)(FRACT_FIX_SCALE) + 0.5f) \208 : (SHORT)((val) * (float)(FRACT_FIX_SCALE)-0.5f))