68
Instruction Functions Section 2-2
COSINE
COS
@COS
461
Output
Required
615
HIGH-SPEED
COSINE (CJ1-H-
R only)
COSQ
@COSQ
476
Calculates the cosine of a 32-bit floating-point number (in radians) and
places the result in the specified result words.
Output
Required
617
TANGENT
TA N
@TAN
462
Output
Required
619
HIGH-SPEED
TANGENT (CJ1-
H-R only)
TA NQ
@TANQ
477
Calculates the tangent of a 32-bit floating-point number (in radians)
and places the result in the specified result words.
Output
Required
621
ARC SINE
ASIN
@ASIN
463
Output
Required
623
ARC COSINE
ACOS
@ACOS
464
Output
Required
625
Instruction
Mnemonic
Code
Symbol/Operand Function Location
Execution
condition
Page
COS(461)
S
R
S: 1st source
word
R: 1st result word
R+1 R
S
S+1
COS
Source (32-bit
floating-point
data)
Result (32-bit
floating-point
data
Calculates the cosine of a 32-bit floating-point number (in radians)
and places the result in the specified result words.
COSQ(476)
S
R
S: 1st source
word
R: 1st result word
R+1 R
S
S+1
COS
Source (32-bit
floating-point
data)
Result (32-bit
floating-point
data)
S
R
TAN(462)
S: 1st source
word
R: 1st result word
R+1 R
S
S+1
TA N
Result (32-bit
floating-point
data)
Source (32-bit
floating-point
data)
Calculates the tangent of a 32-bit floating-point number (in radians)
and places the result in the specified result words.
S
R
TANQ(477)
S: 1st source
word
R: 1st result word
R+1 R
S
S+1
TAN
Result (32-bit
floating-point
data)
Source (32-bit
floating-point
data)
ASIN(463)
S
R
S: 1st source
word
R: 1st result word
R+1 R
S
S+1
SIN
−1
Calculates the arc sine of a 32-bit floating-point number and places
the result in the specified result words. (The arc sine function is the
inverse of the sine function; it returns the angle that produces a given
sine value between −1 and 1.)
Source (32-bit
floating-point
data)
Result (32-bit
floating-point
data)
ACOS(464)
S
R
S: 1st source
word
R: 1st result word
R+1 R
S
S+1
COS
−1
Calculates the arc cosine of a 32-bit floating-point number and places
the result in the specified result words. (The arc cosine function is the
inverse of the cosine function; it returns the angle that produces a
given cosine value between −1 and 1.)
Source (32-bit
floating-point
data)
Result (32-bit
floating-point
data)