Home | History | Annotate | Download | only in src

Lines Matching full:shift_amount

62   void Shift(int shift_amount) {
63 ASSERT(-64 <= shift_amount && shift_amount <= 64);
64 if (shift_amount == 0) {
66 } else if (shift_amount == -64) {
69 } else if (shift_amount == 64) {
72 } else if (shift_amount <= 0) {
73 high_bits_ <<= -shift_amount;
74 high_bits_ += low_bits_ >> (64 + shift_amount);
75 low_bits_ <<= -shift_amount;
77 low_bits_ >>= shift_amount;
78 low_bits_ += high_bits_ << (64 - shift_amount);
79 high_bits_ >>= shift_amount;