Texas-instruments TMS320C3x Uživatelský manuál Strana 147

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 757
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 146
Floating-Point to Integer Conversion (FIX Instruction)
5-42
Figure 5–20. Flowchart for Floating-Point to Integer Conversion by FIX Instruction
Test for special cases of α(
exp
)
α(
exp
) > 30
α(
exp
) in range
rs = 31 – α(
exp
)
Overflow Shift
If α(
man
) > 0,
c
= most positive integer
If α(
man
) < 0,
c
= most negative integer
c
= α(
man
) > > rs
Set
c
to final result
α
c
= fix(α)
Zobrazit stránku 146
1 2 ... 142 143 144 145 146 147 148 149 150 151 152 ... 756 757

Komentáře k této Příručce

Žádné komentáře