Lines Matching refs:shift
223 mp_size_t shift = MIN_EXP - 1 - exponent; in round_and_return() local
227 if (shift == MANT_DIG) in round_and_return()
239 else if (shift >= BITS_PER_MP_LIMB) in round_and_return()
243 round_limb = retval[(shift - 1) / BITS_PER_MP_LIMB]; in round_and_return()
244 round_bit = (shift - 1) % BITS_PER_MP_LIMB; in round_and_return()
245 for (i = 0; i < (shift - 1) / BITS_PER_MP_LIMB; ++i) in round_and_return()
251 if ((shift % BITS_PER_MP_LIMB) != 0) in round_and_return()
252 (void) __mpn_rshift (retval, &retval[shift / BITS_PER_MP_LIMB], in round_and_return()
253 RETURN_LIMB_SIZE - (shift / BITS_PER_MP_LIMB), in round_and_return()
254 shift % BITS_PER_MP_LIMB); in round_and_return()
256 for (i = 0; i < RETURN_LIMB_SIZE - (shift / BITS_PER_MP_LIMB); i++) in round_and_return()
257 retval[i] = retval[i + (shift / BITS_PER_MP_LIMB)]; in round_and_return()
258 MPN_ZERO (&retval[RETURN_LIMB_SIZE - (shift / BITS_PER_MP_LIMB)], in round_and_return()
259 shift / BITS_PER_MP_LIMB); in round_and_return()
261 else if (shift > 0) in round_and_return()
263 if (TININESS_AFTER_ROUNDING && shift == 1) in round_and_return()
292 round_bit = shift - 1; in round_and_return()
293 (void) __mpn_rshift (retval, retval, RETURN_LIMB_SIZE, shift); in round_and_return()