Chapter 5 Applied Instructions Explanation S : Source value (binary floating-point value); D : Hyperbolic cosine value Hyperbolic cosine value=(e s +e -s )/2 When X0.0 is ON, the hyperbolic cosine of the binary floating-point Example number in (D1, D0) is stored in (D11, D10). X0.0 Binary floating-point value S If the absolute value of a conversion result is greater than the maximum floating-point value available, a carry flag will be ON. If the absolute value of a conversion result is less than the minimum floating-point value available, a borrow flag will be ON. 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 zero flag in O100. SM1065 is the borrow flag in an Ox motion subroutine, and SM969 is the borrow flag in O100. SM1066 is the carry flag in an Ox motion subroutine, and SM970 is the carry flag in O100. D Hyperbolic cosine value Binary floating-point value Additional remark Please refer to section 5.3 for more information about performing operations on floating-point numbers.
5-103 API Instruction code Operand Function Hyperbolic cosine of a 137 D COSH P S, D binary floating-point number Devic Xn.n Yn.n M S K 16# F KnM KnS D W T C V Z e S D Pulse instruction 16-bit instruction 32-bit instruction (6 steps) – DCOSH D0 D10 D 1 D 0 D 11 D 10