English
Language : 

TMS320C4X Datasheet, PDF (125/726 Pages) Texas Instruments – Digital Signal Processing Solutions
Rounding (RND Instruction)
Figure 5–18. Flowchart for Floating-Point Rounding by the RND Instruction
α
1 × 2 α(exp) – 24
Add α(man) and 1/2 an LSB
c ( man) = α ( man) + 2– 24
Test for special cases of c(man)
c (man) = 0
Overflow of c (man) No special case
c (exp) = –128
c (man) = c (man) < < 1
c (exp) = α (exp) + 1
Test for special cases of c (exp)
c (exp) overflow
c (exp) in range
If c (man) > 0,
set c to most positive
single-precision value.
If c (man) < 0,
set c to most negative
single-precision value.
Set 8 LSBs of c(man) to zero
c = rnd(α)
5-30