API
Instruction code
137
D
COSH
Device
X
Y
M
S
D
S: Source value (binary floating-point value); D: Hyperbolic cosine value
Hyperbolic cosine value=(e
E xp la nat io n
When X0.0 is ON, the hyperbolic cosine of the binary floating-point
E xa mple
If the absolute value of a conversion result is greater than the maximum
If the absolute value of a conversion result is less than the minimum
If a conversion result is 0, a zero flag will be ON.
SM1064 is the zero flag in an Ox motion subroutine, and SM968 is the
SM1065 is the borrow flag in an Ox motion subroutine, and SM969 is the
SM1066 is the carry flag in an Ox motion subroutine, and SM970 is the
A dditio nal
re mark
5 - 1 0 1
Operand
P
S, D
S
K
16#
F
Pulse instruction 16-bit instruction 32-bit instruction (6 steps)
number in (D1, D0) is stored in (D11, D10).
X0.0
D 1
S
D
D 11
floating-point value available, a carry flag will be ON.
floating-point value available, a borrow flag will be ON.
zero flag in O100.
borrow flag in O100.
carry flag in O100.
Please refer to section 5.3 for more information about performing
operations on floating-point numbers.
Ch ap te r 5 Ap plie d Instruc tions
Hyperbolic cosine of a
binary floating-point
number
KnM KnS
D
W
–
s
-s
+e
)/2
DCOSH
D0
D10
Binary floating- point value
D 0
Hyperbolic cosine value
D 10
Binary floating- point value
Function
T
C
V
Z