Lines Matching refs:shift
128 int shift; in FDK_add_MantExp() local
138 shift = (int)(a_e - b_e); in FDK_add_MantExp()
140 shiftAbs = (shift>0)? shift : -shift; in FDK_add_MantExp()
142 shiftedMantissa = (shift>0)? (FX_SGL2FX_DBL(b_m) >> shiftAbs) : (FX_SGL2FX_DBL(a_m) >> shiftAbs); in FDK_add_MantExp()
143 otherMantissa = (shift>0)? FX_SGL2FX_DBL(a_m) : FX_SGL2FX_DBL(b_m); in FDK_add_MantExp()
144 *ptrSum_e = (shift>0)? a_e : b_e; in FDK_add_MantExp()
166 int shift; in FDK_add_MantExp() local
176 shift = (int)(a_e - b_e); in FDK_add_MantExp()
178 shiftAbs = (shift>0)? shift : -shift; in FDK_add_MantExp()
180 shiftedMantissa = (shift>0)? (b >> shiftAbs) : (a >> shiftAbs); in FDK_add_MantExp()
181 otherMantissa = (shift>0)? a : b; in FDK_add_MantExp()
182 *ptrSum_e = (shift>0)? a_e : b_e; in FDK_add_MantExp()
215 int preShift, postShift, index, shift; in FDK_divide_MantExp() local
237 shift = (FRACT_BITS - 2 - INV_TABLE_BITS - preShift); in FDK_divide_MantExp()
239 index = (shift<0)? (LONG)b_m << (-shift) : (LONG)b_m >> shift; in FDK_divide_MantExp()
271 int preShift, postShift, index, shift; in FDK_divide_MantExp() local
293 shift = (DFRACT_BITS - 2 - INV_TABLE_BITS - preShift); in FDK_divide_MantExp()
295 index = (shift<0)? (LONG)b_m << (-shift) : (LONG)b_m >> shift; in FDK_divide_MantExp()
347 int shift = result_e - *destScale; in FDK_sqrt_MantExp() local
348 *mantissa = (shift>=0) ? result << (INT)fixMin(DFRACT_BITS-1,shift) in FDK_sqrt_MantExp()
349 : result >> (INT)fixMin(DFRACT_BITS-1,-shift); in FDK_sqrt_MantExp()