Motorola DSP96002 User Manual page 756

32-bit digital signal processor
Table of Contents

Advertisement

For SP this equals approximately (using the values in Table D-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 equals
( f=f
) :
min
For SP denormalized numbers, this results in a smallest magnitude of 1.4 • 10
3. Zeros ( e = e
equal to e
min
sign bit: plus and minus zero are two separate entities. Figure D-2 shows the encoding of plus
and minus zero in floating point format.
4. Infinities (e = e
ponent equal to e
between + and - . Figure D-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
fully supports one QNaN, as required by the standard. This QNaN is encoded by a fractional field of all ones
( all b
= 1 in f) ("legal" QNaN). Other types of QNaNs ("illegal" NaNs) may occur in multiprocessing situa-
i
tions (as generated by other processors) 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 D-4 shows the encoding for QNaNs.
SNaNs (b
=0) Signaling NaNs are never generated by the DSP96002 as arithmetic results, but may appear
1
in the DSP96002 memory as passed along by other processors. SNaNs are characterized by a MSB of the
fractional field equal to 0 (and e = e
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). As is shown in Ap-
pendix D.1.4, the SEP format, generated exclusively by the data ALU as a result of floating point arithmetic
operations, is embedded in the DP format, and is thus stored implicitly as a DP number with zeros in the
lower 21 bits of the fraction.
D-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-
). When a SNaN appears as an operand of an arithmetic instruction,
max
DSP96002 USER'S MANUAL
e max - bias
p -1
) 2
-1, f 0 ): When the exponent e equals the value e
min
e min -bias
e min - bias
38
.
-45
.
+1). The DSP96002 only
max
MOTOROLA
-
min

Advertisement

Table of Contents
loading

Table of Contents