HP Prime Graphing Wireless Calculator Instrukcja Użytkownika Strona 689

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
Przeglądanie stron 688
Changing the default base
The calculator’s default base for integer arithmetic is 16 (hexadecimal). To change the default base:
1.
Display the Home Settings screen:
2. Choose the base you want from the Integers menu: Binary, Octal, Decimal, or Hex.
3. The eld to the right of Integers is the wordsize eld. This is the maximum number of bits that can
represent an integer. The default value is 32, but you can change it to any value between 1 and 64.
4. If you want to allow for signed integers, select the ± option to the right of the wordsize eld. Choosing
this option reduces the maximum size of an integer to one bit less than the wordsize.
Examples of integer arithmetic
The operands in integer arithmetic can be of the same base or of mixed bases.
Integer calculation Decimal equivalent
#10000b+#10100b =#100100b 16 + 20 = 36
#71o–#10100b = #45o 57 – 20 = 37
#4Dh * #11101b = #8B9h 77 × 29 = 2233
#32Ah/#5o = #A2h 810/5 = 162
Mixed-base arithmetic
With one exception, where you have operands of dierent bases, the result of the calculation is presented in
the base of the rst operand. The following gure shows two equivalent calculations: the rst multiplies 4
10
by 57
10
and the second multiplies 57
10
by 4
10
. Obviously the results too are mathematically equivalent.
However, each is presented in the base of the operand entered rst: 16 in the rst case and 8 in the second.
Examples of integer arithmetic 641
Przeglądanie stron 688
1 2 ... 684 685 686 687 688 689 690 691 692 693 694 ... 700 701

Komentarze do niniejszej Instrukcji

Brak uwag