Integer arithmetic
517
converted to base 10).
[This seems odd. If everything is converted
to base 10, why is there an integer-base setting in the CAS
settings? And why is binary missing as an option in the CAS
settings?]
Integer manipulation
The result of integer arithmetic can be further analysed, and
manipulated, by viewing it in the
Edit Integer
dialog.
1. In Home view, use the cursor keys to select the result of
interest.
2. Press
Sw
(Base).
The
Edit Integer
dialog
appears. The
Was
field at
the top shows the result you
selected in Home view.
The hex and decimal
equivalents are shown
under the
Out
field,
followed by a bit-by-bit
representation of the integer.
Symbols beneath the bit representation show the keys you
can press to edit the integer. (Note that this doesn’t change
the result of the calculation in Home view.) The keys are:
–
<
or
>
(Shift): these keys shift the bits one space to the
left (or right). With each press, the new integer
represented appears in the
Out
field (and in the hex and
decimal fields below it).
–
=
or
\
(Bits): these keys increase (or decrease) the
wordsize. The new wordsize is appended to the value
shown in the
Out
field.
–
Q
(Neg): returns the two’s complement (that is, each
bit in the specified wordsize is inverted and one is
added. The new integer represented appears in the
Out
field (and in the hex and decimal fields below it).
–
+
or
w
(Cycle base): displays the integer in the
Out
field in another base.
Menu buttons provide some additional options:
: returns all changes to their original state
Summary of Contents for NW280-200X
Page 1: ...HP Prime Graphing Calculator User Guide ...
Page 4: ......
Page 56: ...50 Reverse Polish Notation RPN ...
Page 64: ...58 Computer algebra system CAS ...
Page 107: ...An introduction to HP apps 101 ...
Page 108: ...102 An introduction to HP apps ...
Page 188: ...182 Spreadsheet these variables is provided in chapter 21 Variables beginning on page 373 ...
Page 220: ...214 Statistics 2Var app ...
Page 252: ...246 Linear Solver app ...
Page 258: ...252 Parametric app ...
Page 268: ...262 Sequence app ...
Page 404: ...398 Units and constants ...
Page 416: ...410 Lists ...
Page 442: ...436 Notes and Info ...
Page 532: ...526 Limiting functionality ...
Page 536: ...530 ...
Page 540: ...534 ...