Sf Single-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

Format for hexadecimal constant (H)
<Example> Hexadecimal "2A" (H2A)
Range that can be specified for a hexadecimal constant (H)
Operation
16-bit operation
32-bit operation

2.7.4 SF Single-precision floating point real number constant

Format for single-precision floating point
● Following IEEE754 format, the double precision floating point format consists of 1 sign bit, 8
exponential bits, and 23 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.
31
30
Sign bit
Exponent
1 bit
portion
Range of single-precision floating point real number constants
Operation
32-bit operation
Storage area for single-precision floating point real number constants
● For the storage area for data of real numbers converted using the operation instructions for
single-precision floating point real number constants, 1 unit of data uses an area of 2 words
(32 bits).
● When using the storage area for real number data in data transfer instructions or other
instructions, input SF for the operation unit.
WUME-FP7CPUPGR-12
Available range
H0 to HFFFF
H0 to HFFFFFFFF
16 15
23
22
Mantissa portion
23 bits
8 bits
Available range
Negative range: -1.175494E-38 to -3.402823E+38
0
Positive range: 3.402823E+38 to 1.175494E-38
2.7 Explanation of constants
0
2-43

Advertisement

Table of Contents
loading

Table of Contents