Download Print this page

Single-Precision Floating-Point Fields; Special Single-Precision Values - Texas Instruments TMS320C67X Reference Manual

Dsp and cpu instruction set

Advertisement

Figure 3−1. Single-Precision Floating-Point Fields
Table 3−4. Special Single-Precision Values
SPRU733
Overview of IEEE Standard Single- and Double-Precision Formats
Figure 3−1 shows the fields of a single-precision floating-point number repre-
sented within a 32-bit register.
31
30
e
s
Legend: s
sign bit (0 = positive, 1 = negative)
e
8-bit exponent ( 0 < e < 255)
f
23-bit fraction
0 < f < 1*2
0 < f < ((2
The floating-point fields represent floating-point numbers within two ranges:
normalized (e is between 0 and 255) and denormalized (e is 0). The following
formulas define how to translate the s, e, and f fields into a single-precision
floating-point number.
Normalized:
s
(e−127)
−1
× 2
× 1.f
Denormalized (Subnormal):
s
−126
−1
× 2
× 0.f
e = 0; f nonzero
Table 3−4 shows the s,e, and f values for special single-precision floating-
point numbers.
Á Á Á Á Á Á Á
Á Á Á Á Á
Symbol
Á Á Á Á Á Á Á
Á Á Á Á Á Á Á
Á Á Á Á Á
Á Á Á Á Á
+0
Á Á Á Á Á Á Á
Á Á Á Á Á Á Á
Á Á Á Á Á
Á Á Á Á Á
−0
Á Á Á Á Á Á Á
Á Á Á Á Á Á Á
Á Á Á Á Á
Á Á Á Á Á
+Inf
Á Á Á Á Á Á Á
Á Á Á Á Á
Á Á Á Á Á Á Á
Á Á Á Á Á Á Á
Á Á Á Á Á
Á Á Á Á Á
−Inf
Á Á Á Á Á Á Á
Á Á Á Á Á Á Á
Á Á Á Á Á
Á Á Á Á Á
NaN
Á Á Á Á Á Á Á
Á Á Á Á Á Á Á
Á Á Á Á Á
Á Á Á Á Á
QNaN
Á Á Á Á Á Á Á
Á Á Á Á Á
Á Á Á Á Á Á Á
Á Á Á Á Á Á Á
SNaN
Á Á Á Á Á
Á Á Á Á Á
Á Á Á Á Á Á Á
Á Á Á Á Á
23 22
−1
−2
−23
+ 1*2
+ ... + 1*2
or
23
23
)−1)/(2
)
0 < e < 255
Á Á Á Á Á
Sign (s)
Exponent (e)
Á Á Á Á Á
Á Á Á Á Á
0
0
Á Á Á Á Á
Á Á Á Á Á
1
0
Á Á Á Á Á
Á Á Á Á Á
0
255
Á Á Á Á Á
Á Á Á Á Á
Á Á Á Á Á
1
255
Á Á Á Á Á
Á Á Á Á Á
x
255
Á Á Á Á Á
Á Á Á Á Á
x
255
Á Á Á Á Á
x
Á Á Á Á Á
Á Á Á Á Á
255
Á Á Á Á Á
f
Á Á Á Á Á Á Á Á Á
Fraction (f)
Á Á Á Á Á Á Á Á Á
Á Á Á Á Á Á Á Á Á
0
Á Á Á Á Á Á Á Á Á
Á Á Á Á Á Á Á Á Á
0
Á Á Á Á Á Á Á Á Á
Á Á Á Á Á Á Á Á Á
0
Á Á Á Á Á Á Á Á Á
Á Á Á Á Á Á Á Á Á
Á Á Á Á Á Á Á Á Á
0
Á Á Á Á Á Á Á Á Á
Á Á Á Á Á Á Á Á Á
nonzero
Á Á Á Á Á Á Á Á Á
Á Á Á Á Á Á Á Á Á
1xx..x
Á Á Á Á Á Á Á Á Á
Á Á Á Á Á Á Á Á Á
Á Á Á Á Á Á Á Á Á
0xx..x and nonzero
Á Á Á Á Á Á Á Á Á
Instruction Set
0
3-11

Hide quick links:

Advertisement

loading
Need help?

Need help?

Do you have a question about the TMS320C67X and is the answer not in the manual?

Save PDF