Motorola DSP96002 User Manual page 727

32-bit digital signal processor
Table of Contents

Advertisement

For SP this equals approximately (using the values in Table C-1) 3.4 • 10
2. Denormalized Numerical Values ( e = e
1 and the fraction field is non-zero the floating point number is called denormalized, and the
implicit integer bit b0 is equal to zero. The numerical value of a denormalized number y is given
by:
The denormalization of the fractional part allows the representation of very small numbers near
the underflow threshold. The smallest possible magnitude of any denormalized number (f=f
which can be represented equals:
For SP denormalized numbers, this results in a smallest magnitude of approximately 1.4 •
-45
10
.
3. Zeros (e = e
equal to e
min
sign bit: plus and minus zero are two separate entities. Figure C-2 shows the encoding of plus
and minus zero in floating point format.
4. Infinities (e = e
ponent equal to e
between + and - . Figure C-3 shows the encodings for + and - in SP and DP.
5. NaNs (e = e
equal to e
max
coding.
QNaNs (b
=1) Quiet NaNs are represented by a fraction with MSB = 1 (and e=e
1
DSP96002 only fully supports one QNaN, the "legal" QNaN as required by the standard. This
QNaN is encoded by a fractional field of all ones ( all b
(DSP96002 "illegal" NaNs) may occur in multiprocessing situations (as generated by other pro-
cessors) however, and do deliver well-defined results in the DSP96002. When QNaNs other
than the "legal" QNaN occur as operand(s) to floating point arithmetic, the delivered result is
always a "legal" QNaN. Figure C-4 shows the encoding for QNaNs.
SNaNs (b
=0) Signaling NaNs are never generated by the DSP96002 as arithmetic results, but
1
may appear in the DSP96002 memory as passed along by other processors. SNaNs are char-
acterized by a MSB of the fractional field equal to 0 (and e = e
as an operand of an arithmetic instruction, the invalid operation exception is signaled, and the
result is returned as a "legal" QNaN.
The two basic formats, discussed in the previous paragraphs, are the only formats which are used for rep-
resentation of floating point values in the DSP96002 memory (internal and/or external). The SEP format,
C-4
x
= (2 - 0.5
max,n
s
y = (-1)
• 0.f • 2
p-1
y
= (0.5)
• 2
min
-1,f=0): Floating point value(s) of zero are encoded by a biased exponent e
min
-1, and a fractional field f of all zeros. Note that this encoding retains a significant
+ 1, f = 0) Infinities are encoded in the floating point format by a biased ex-
max
+1, and a fractional field f consisting of all zeros. The sign bit distinguishes
max
+1, f 0): NaNs are encoded in the floating point format by a biased exponent
max
+1, and a nonzero fractional field. The value of the sign bit is irrelevant in this en-
DSP96002 USER'S MANUAL
e max - bias
p -1
) 2
= (2 - 0.25
-1, f 0 ): When the exponent e equals the value e
min
e min -bias
s
E min
= (-1)
• 0.f • 2
e min - bias
i
p-1
E max
) 2
38
.
max
= 1 in f). Other types of QNaNs
+1). When a SNaN appears
max
MOTOROLA
-
min
)
min
+1). The

Advertisement

Table of Contents
loading

Table of Contents