HP 32SII User Manual

Page 143

Advertising
background image

Base Conversions and Arithmetic 10–3

File name 32sii-Manual-E-0424
Printed Date : 2003/4/24 Size : 17.7 x 25.2 cm

Arithmetic in bases 2, 8, and 16 is in 2's complement form and uses integers
only:

If a number has a fractional part, only the integer part is used for an

arithmetic calculation.

The result of an operation is always an integer (any fractional portion is

truncated).

Whereas conversions change only the displayed number and not the number
in the X–register, arithmetic does alter the number in the X–register.

If the result of an operation cannot be represented in 36 bits, the display
shows

#$

and then shows the largest positive or negative number

possible.

Example:

Here are some examples of arithmetic in Hexadecimal, Octal, and Binary
modes:

12F

16

+ E9A

16

=

?

Keys: Display:

Description:

z

w

{

%

}



Sets base 16; HEX
annunciator on.

12F

š

E9A

™

 

Result.

7760

8

– 4326

8

=

?

z

w

{



}



Sets base 8: OCT
annunciator on. Converts
displayed number to octal.

7760

š

4326

„



Result.

100

8

– 5

8

=

?

100

š

5

p



Integer part of result.

5A0

16

+ 1001100

2

=

?

z

w

{

%

} 5A0



_



Set base 16; HEX

Advertising