HP Prime Graphing NW280AAABA manual Base functions, These are described in Integer, beginning on

Models: Prime Graphing NW280AAABA

1 616
Download 616 pages 24.49 Kb
Page 592
Image 592

: returns the one’s complement (that is, each bit in the specified wordsize is inverted: a 0 is replaced by 1 and a 1 by 0. The new integer represented appears in the Out field (and in the hex and decimal fields below it).

: activates edit mode. A cursor appears and you can move abut the dialog using the cursor keys. The hex and decimal fields can be modified, as can the bit representation. A change in one such field automatically modifies the other fields.

: closes the dialog and saves your changes. If you don’t want to save your changes, press Jinstead.

3.Make whatever changes you want.

4.To save your changes, tap ; otherwise press J.

N o t e If you save changes, the next time you select that same result in Home view and open the Edit Integer dialog, the value shown in the Was field will be the value you saved, not the value of the result.

Base functions

Numerous functions related to integer arithmetic can be invoked from Home view and within programs:

BITAND

BITNOT

BITOR

BITSL

BITSR

BITXOR

BR

GETBASE

GETBITS

RB

SETBASE

SETBITS

These are described in “Integer”, beginning on page 547.

586

Basic integer arithmetic

Page 592
Image 592
HP Prime Graphing NW280AAABA manual Base functions, These are described in Integer, beginning on