Texas Instruments TMS320C3x 사용자 설명서
![Texas Instruments](https://files.manualsbrain.com/attachments/b46f99d826b2b0e0e5f558c5fb6483942eb9216b/common/fit/150/50/c15ea36eb1fb1cce99a3b94668675bfc78ce832d8d727d9a7bb51a125510/brand_logo.gif)
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(
α
)