Number Bases
671
shift(
integer
)
– or –
shift(
integer,#ofShifts
)
If
#ofShifts
is:
•
omitted — bits shift once to the right
(default is
L
1).
•
negative — bits shift the specified number
of times to the right.
•
positive — bits shift the specified number
of times to the left.
In a right shift, the rightmost bit is dropped
and 0 or 1 is inserted to match the leftmost
bit. In a left shift, the leftmost bit is dropped
and 0 is inserted as the rightmost bit.
Suppose you enter:
shift(
0h7AC36
)
Internally, the hexadecimal integer is
converted to a signed, 32-bit binary number.
Then the shift is applied to the binary number.
Function with syntax
Description
If Base mode = HEX:
If Base mode = BIN:
Summary of Contents for Titanium TI-89
Page 9: ...Getting Started 6 TI 89 Titanium keys Ë Ì Í Ê ...
Page 34: ...Getting Started 31 2 or D 2 B u s i n e s s D B D B Press Result ...
Page 43: ...Getting Started 40 3 0 D B D D B D Press Result ...
Page 44: ...Getting Started 41 D 2 0 0 2 D B Scroll down to October and press Press Result ...
Page 58: ...Getting Started 55 Example Set split screen mode to TOP BOTTOM Press Result 3 B D ...
Page 70: ...Getting Started 67 ...
Page 175: ...Operating the Calculator 172 From the Keyboard ...
Page 456: ...Tables 453 ...
Page 527: ...Data Matrix Editor 524 ...