Texas-instruments TMS320C3x Instrukcja Użytkownika Strona 136

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 757
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 135
Floating-Point Multiplication
5-31
Data Formats and Floating-Point Operation
Example 5–11. Floating-Point Multiply Between Positive and Negative Numbers
Let:
α = 1.0 x 2
α
(
exp
)
= 01.00000000000000000000000 x 2
α
(
exp
)
b
= –2.0 x 2
b
(
exp
)
= 10.00000000000000000000000 x 2
b
(
exp
)
Then:
01.00000000000000000000000 × 2
α
(
exp
)
x 10.00000000000000000000000 × 2
b
(
exp
)
1110.0000000000000000000000000000000000000000000000 × 2
(
α
(
exp
)
+
b
(
exp
))
The result is:
c
= 2.0 x 2
(α(
exp
)
+
b
(
exp
))
Example 5–12. Floating-Point Multiply by 0
All multiplications by a floating-point 0 yield a result of 0 (
f
= 0,
s
= 0, and
exp
= –128).
Przeglądanie stron 135
1 2 ... 131 132 133 134 135 136 137 138 139 140 141 ... 756 757

Komentarze do niniejszej Instrukcji

Brak uwag