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

Скачать
Страница из 1204
7-269
ACOSD(P)
1
2
3
4
6
6
7
8
7
.12 Special function
 instructions
7
.12.10 COS -1 op
eration on floating-point
 data
 (Doub
le pr
ecision)
 (ACOSD(
P
))
7.12.10  
COS 
-1
 operation on floating-point data (Double precision)
 (ACOSD(P))
ACOSD(P)
Function
(1) The angle is calculated from the COS (cosine) value specified by 
 is and its result is 
stored into the device specified by 
.
(2) The COS value designated by 
 can be in the range of from  1.0 to 1.0.
(3) The angle (operation result) stored at 
 is stored in radian units.
For more information on the conversion between radian and angle data, see description of 
RADD and DEGD instructions.
(4) When the operation results in -0 or an underflow, the result is processed as 0.
: COS value of which the COS
-1
 (inverse cosine) value is obtained or head number of the devices where the 
COS value is 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
––
––
––
––
––
––
––
Universal
Basic
Process
High
performance
Redundant
Command
Command
ACOSDP
ACOSD
ACOSDP
ACOSD
S
D
S
D
S
D
S
D
S
D
)
COS   (
1
64-bit floating-point
real number
64-bit floating-point
real number
+3
S
+2
S
S
+1
S
+3
D
+2
D
D
+1
D
S
D