Panasonic FP7 Series Command Reference Manual page 573

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

Advertisement

11.25 UNIF (Combining of Mantissa and Exponent, and Conversion of Single-
● The conversion result is stored in the area starting with [D].
Conversion example
Example 1) Operation units: Single-precision real number (SF) (positive real
number)
[S1]...DT2
DT0・DT1
(Mantissa)
DT2・DT3
(Exponent)
DT4・DT5
Example 2) Operation units: Double-precision real number (DF) (positive real
number)
[S1]...DT20
(Mantissa)
DT20・DT23
DT24・DT27
(Exponent)
DT28・DT29
Example 3) Operation units: Single-precision real number (SF) (negative real
number)
[S1]...DT2
DT0・DT1
(Mantissa)
DT2・DT3
(Exponent)
DT4・DT5
Example 4) Operation units: Double-precision real number (DF) (negative real
number)
[S1]...DT20
(Mantissa)
DT20・DT23
DT24・DT27
(Exponent)
DT28・DT29
Flag operations
Name
Description
To be set in case of out-of-range values in indirect access (index modification).
SR7
WUME-FP7CPUPGR-12
precision or Double-precision Real Number)
[S2]...DT4
[D]...DT10
0.000000
0.875000
3
[S2]...DT28
[D]...DT4
0.62500000000
0.00000000000
6
[S2]...DT4
[D]...DT10
0.000000
-0.875000
3
[S2]...DT28
[D]...DT4
-0.62500000000
0.00000000000
6
DT10・DT11
7.000000
* 7.0 = 0.875 x (the cube of 2)
DT4・DT7
40.00000000000
* 40.0 = 0.6250 x (the sixth power of 2)
DT10・DT11
-7.000000
* -7.0 = (-0.875) x (the cube of 2)
DT4・DT7
-40.00000000000
* -40.0 = (-0.6250) x (the sixth power of 2)
11-53

Advertisement

Table of Contents
loading

Table of Contents