Appendices
A-40
CJ2 CPU Unit Software User’s Manual
HIGH-
SPEED
COSINE
COSQ
@COSQ
476 Output Required
TAN GE NT TAN
@TAN
462 Output Required
HIGH-
SPEED
TAN GE NT
TAN Q
@TANQ
477 Output Required
ARC SINE ASIN
@ASIN
463 Output Required
ARC
COSINE
ACOS
@ACOS
464 Output Required
ARC TAN-
GENT
ATA N
@ATAN
465 Output Required
SQUARE
ROOT
SQRT
@SQRT
466 Output Required
EXPO-
NENT
EXP
@EXP
467 Output Required
Instruction Mnemonic Code Symbol/Operand Function Location
Execution
condition
COSQ(476)
S
R
S: 1st source
word
R: 1st result word
R+1 R
S
S+1
COS
Calculates the cosine of a 32-bit floating-point number (in
radians) and places the result in the specified result words.
S
R
TAN(462)
S: 1st source
word
R: 1st result word
R+1 R
S
S+1
TAN
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
Calculates the tangent of a 32-bit floating-point number (in
radians) and places the result in the specified result words.
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.)
S
R
ACOS(464)
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.)
S
R
ATAN(465)
S: 1st source word
R: 1st result word
R+1 R
S
S+1
TA N
−1
Calculates the arc tangent of a 32-bit floating-point number
and places the result in the specified result words. (The arc
tangent function is the inverse of the tangent function; it
returns the angle that produces a given tangent value.)
S
R
SQRT(466)
S: 1st source word
R: 1st result word
R+1
R
S
S+1
Calculates the square root of a 32-bit floating-point number
and places the result in the specified result words.
EXP(467)
S
R
S: 1st source word
R: 1st result word
R+1 R
S
S+1
e
Calculates the natural (base e) exponential of a 32-bit
floating-point number and places the result in the
specified result words.
Source (32-bit
floating-point data)
Result (32-bit
floating-point data)