Searched refs:DFRACT_FIX_SCALE (Results 1 – 1 of 1) sorted by relevance
147 #define DFRACT_FIX_SCALE ((INT64(1) << (DFRACT_BITS - 1))) macro194 ? ((((double)(val) * (DFRACT_FIX_SCALE) + 0.5) >= \197 : (LONG)((double)(val) * (double)(DFRACT_FIX_SCALE) + 0.5)) \198 : ((((double)(val) * (DFRACT_FIX_SCALE)-0.5) <= \201 : (LONG)((double)(val) * (double)(DFRACT_FIX_SCALE)-0.5)))210 ((val) > 0.0f ? (LONG)((val) * (float)(DFRACT_FIX_SCALE) + 0.5f) \211 : (LONG)((val) * (float)(DFRACT_FIX_SCALE)-0.5f))229 ((float)((double)(val) / (double)DFRACT_FIX_SCALE)) /* version #2 - \233 #define FX_DBL2DOUBLE(val) (((double)(val) / (double)DFRACT_FIX_SCALE))