Справочник Пользователя для Mitsubishi Electronics QCPU

Скачать
Страница из 1204
7-285
POWD(P)
1
2
3
4
6
6
7
8
7
.12 Special function
 instructions
7
.12.18 Exponentiation
 operation on 
floating-
point
 d
ata (Single prec
ision) (
P
OWD(
P
))
7.12.18  
Exponentiation operation on floating-point data 
(Single precision) (POWD(P))
POWD(P)
*1: Available only for real number
Function
(1) This instruction raises the 64-bit floating-point data type real number specified by 
 to the 
number nth specified by 
 power, and then stores the operation result into the device 
specified by 
.
(2) The following shows the values to be specified by and stored into 
 or 
0, 2
-1022
 | Set values (Storage values) | < 2
1024
(3) If the value resulted from the operation is  0 or an underflow occurs, the result will be 
processed as 0.
QnU(D)(H)CPU: The serial number (first five digits) is "10102" or later.
QnUDE(H)CPU: The serial number (first five digits) is "10102" or later.
: Exponentiation recipient data or head number of the devices where the exponentiation recipient data are 
stored (real number)
: Exponentiation data or head number of the devices where the data are stored (real number)
: Head number of the devices where the operation result will be stored (real number)
Setting 
Data
Internal Devices 
R, ZR
J
\
U
\G
Zn
Constants
E
Other
Bit
Word
Bit
Word
––
––
 *1
––
––
––
 *1
––
––
––
––
––
Basic
Process
High
performance
Redundant
Ver.
Universal
POWD
POWDP
S1
S2
D
S1
S2
D
POWD
POWDP
Command
Command
S1
S2
D
S1
S2
D
S1
S2
D
64-bit floating-point data type real number
64-bit floating-point data type real number
×
×
raised to the power of
is carried out.
Exponentiation recipient data
Exponentiation data
……… ×
D
D
D
D
+3
+2
+1
+3
+2
+1
+3
+2
+1
+3
+2
+1
+3
+2
+1
+3
+2
+1
+3
+2
+1
+3
+2
+1
S1
S2
S2
S2
S2
S2
S1
S1
S1
S1
S1
S1
S1
S1
S1
S1
S1
S1
S1
S2
S2
S2
S1
S1
S1
S1
S1
S1
S1
S2