Lines Matching refs:shift
827 int shift = mantissa0_size - msb;
833 if( shift == 0 )
843 else if( shift < 0 )
845 m0 = ( m_mant[m_msw] >> -shift ) & ~( 1 << mantissa0_size );
846 m1 = m_mant[m_msw] << ( bits_in_word + shift );
849 m1 |= m_mant[m_msw - 1] >> -shift;
850 guard = ( m_mant[m_msw - 1] >> ( -shift - 1 ) ) & 1;
855 m0 = ( m_mant[m_msw] << shift ) & ~( 1 << mantissa0_size );
858 m0 |= m_mant[m_msw - 1] >> ( bits_in_word - shift );
859 m1 = m_mant[m_msw - 1] << shift;
862 m1 |= m_mant[m_msw - 2] >> ( bits_in_word - shift );
863 guard = ( m_mant[m_msw - 2] >> (bits_in_word - shift - 1) )
1725 // destructive shift mantissa to the left
1759 // destructive shift mantissa to the right
2444 int shift = exponent % bits_in_word;
2445 if( shift < 0 )
2447 shift += bits_in_word;
2450 if( shift )
2452 shift_left( shift );
2457 m_wp = (shift - exponent) / bits_in_word;
2472 int shift = new_wp - m_wp;
2476 (*result)[j+shift] = m_mant[j];