![](http://datasheet.mmic.net.cn/280000/MC68040V_datasheet_16093731/MC68040V_255.png)
MOTOROLA
M68040 USER’S MANUAL
9-11
Table 9-5. Extended-Precision Real
Format Summary (Continued)
NANs
Sign
Don’t Care
Explicit Integer Bit
Don’t Care
Biased Exponent Format Maximum
32767 ($7FFF)
Mantissa
Nonzero
Representation of Mantissa
Nonsignaling
Signaling
Nonzero Bit Pattern Created by User
Mantissa When Created by FPCP
x.1xxxx…xxxx
x.0xxxx…xxxx
x.xxxxx…xxxx
1.11111…1111
Approximate Ranges
Maximum Positive Normalized
1.2
×
104932
1.7
×
10–4932
3.7
×
10–4951
Minimum Positive Normalized
Minimum Positive Denormalized
Table 9-6. Packed Decimal Real Format Summary
Data Type
SM
SE
Y
Y
3-Digit
Exponent
1-Digit
Integer
16-Digit Fraction
±
Infinity
±
NAN
±
SNAN
+Zero
0/1
1
1
1
$FFF
$XXXX
$00…00
0/1
1
1
1
$FFF
$XXXX
Nonzero
0/1
1
1
1
$FFF
$XXXX
Nonzero
0
0/1
X
X
$000–$999
$XXX0
$00…00
–Zero
+In-Range
1
0/1
X
X
$000–$999
$XXX0
$00…00
0
0/1
X
X
$000–$999
$XXX0–$XXX9
$00…01–$99…99
–In-Range
1
0/1
X
X
$000–$999
$XXX0–$XXX9
$00…01–$99…99
9.4 COMPUTATIONAL ACCURACY
Whenever an attempt is made to represent a real number in a binary format of finite
precision, there is a possibility that the number can not be represented exactly. This is
commonly referred to as a round-off error. Furthermore, when two inexact numbers are
used in a calculation, the error present in each number is reflected, and possibly
aggravated, in the result. All FPU calculations use an intermediate result. When the
MC68040 performs an operation, the calculation is carried out using extended-precision
inputs, and the intermediate result is calculated as if to produce infinite precision. After the
calculation is complete, the intermediate result is rounded to the selected precision and
stored in the destination.
The FPCR encodings provide emulation for devices that only support single and double
precision. The execution speed of all instructions is the same whether using single- or
double-precision rounding. When using these two forced rounding precisions, the