Texas-instruments TMS320C3x Manual do Utilizador Página 136

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 757
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 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).
Vista de página 135
1 2 ... 131 132 133 134 135 136 137 138 139 140 141 ... 756 757

Comentários a estes Manuais

Sem comentários