Df Double-Precision Floating Point Real Number Constant - Panasonic FP7 Series Command Reference Manual

Cpu unit
Hide thumbs Also See for FP7 Series:
Table of Contents

Advertisement

2.7 Explanation of constants
<Example> If SF is set for the operation unit of the instruction code, 2 words of data
are included in DT.
DT0-DT1

2.7.5 DF Double-precision floating point real number constant

Format for double-precision floating point
● Following IEEE754 format, the double precision floating point format consists of 1 sign bit, 11
exponential bits, and 52 mantissa bits.
● Operation instructions for processing real numbers and conversion instructions for real
number integers are provided by default, so it is not necessary to worry about data format
while programming.
63
62
Sign bit
1 bit
Range of double-precision floating point real number constants
Operation
64-bit operation
Storage area for double-precision floating point real number constants
● For the storage area for data of real numbers converted using the operation instructions for
double-precision floating point real number constants, 1 unit of data uses an area of 4 words
(64 bits).
● When using the storage area for real number data in data transfer instructions or other
instructions, input DF for the operation unit.
2-44
Source
1.234567
52
51
48 47
Exponent
portion
11 bits
Available range
Negative range: -2.2250738585072014E-308 to -1.7976931348623158E+308
0
Positive range: +2.2250738585072014E-308 to +1.7976931348623158E+308
MV.SF
DT 0
DT10-DT11
32 31
16 15
Mantissa portion
52 bits
DT 10
Destination
1.234567
0
WUME-FP7CPUPGR-12

Advertisement

Table of Contents
loading

Table of Contents