![Omron CJ1G-CPUxx Instructions Manual Download Page 624](http://html1.mh-extra.com/html/omron/cj1g-cpuxx/cj1g-cpuxx_instructions-manual_742491624.webp)
603
Double-precision Floating-point Instructions (CS1-H, CJ1-H, CJ1M, or CS1D Only)
Section 3-16
Description
ACOSD(855) computes the angle (in radians) for a cosine value expressed as
a double-precision (64-bit) floating-point number in words S to S+3 and places
the result in words D to D+3.
(The floating point source data must be in IEEE754 format.)
The source data must be between –1.0 and 1.0. If the absolute value of the
source data exceeds 1.0, an error will occur and the instruction won’t be exe-
cuted.
The result is output to words D to D+3 as an angle (in radians) within the
range of 0 to
π
.
The following diagram shows the relationship between the input data and
result.
EM Area with bank
En_00000 to En_32764
(n = 0 to C)
Indirect DM/EM
addresses in binary
@ D00000 to @ D32767
@ E00000 to @ E32767
@ En_00000 to @ En_32767
(n = 0 to C)
Indirect DM/EM
addresses in BCD
*D00000 to *D32767
*E00000 to *E32767
*En_00000 to *En_32767
(n = 0 to C)
Constants
---
Data Registers
---
Index Registers
---
Indirect addressing
using Index Registers
,IR0 to ,IR15
–2048 to +2047 ,IR0 to –2048 to +2047 ,IR15
DR0 to DR15, IR0 to IR15
,IR0+(++) to ,IR15+(++)
,–(– –)IR0 to, –(– –)IR15
Area
S
D
S+1
S
)
→
COS
–1
(
S+3
S+2
D+1
D
D+3
D+2
S: Input data (cosine value)
R: Result (radians)
R
Summary of Contents for CJ1G-CPUxx
Page 3: ...iv N o t i c e ...
Page 5: ...vi ...
Page 21: ...xxii Conformance to EC Directives 6 ...
Page 35: ......
Page 1131: ...1110 CJ series Instruction Execution Times and Number of Steps Section 4 2 ...