Chapter 8 number bases, Entering and displaying binary integers, To set the base – HP 49g Graphing Calculator User Manual

Page 78: Chapter 8: number bases, Enteriirg and displaying binary integers -1, To set the base -1, Displaying, Chapter 8 number bases entering and, Binary integers

Attention! The text in this document has been recognized automatically. To view the original document, you can use the "Original mode".

Advertising
background image

Chapter 8

Number bases

Entering and

displaying

binary integers

You can enter and display integers in one of four fonns:

® decimal (base 10)

* hexadecimal (base 16)

® octal (base 8) or

® binary (base 2).

You use the pound symbol (#) together with a suffix to indicate the base of

a number. The suffixes are:

d (decimal)

h (hexadecimal)

о (octal) and

b (binary).

For example, # 182d, # B6h, # 266o, and # 10110110b are all ways of
representing 182. In this guide, luunbers represented in this way are called

binary integers regardless of their base.

The current base setting detennines which base is used to display
integers.

On the HP 49G, binary integers can take from 1 to 64 bits, depending on

the current wordsize.

To set the base

To set the base, select the appropriate command from the command

catalog (®):

® DEC (to set the base to decimal)

® HEX (to set the base to hexadecimal)

® OCT (to set the base to octal)

® BIN (to set the base to binary).

Number bases

Page 8-1

Advertising