118
Floating-point Math Instructions
Section 3-13
TAN GENT
TAN
@TAN
462
Output
Required
HIGH-SPEED
TAN GENT
(CJ1-H-R CPU
only)
TAN
@TAN
477
Output
Required
ARC SINE
ASIN
@ASIN
463
Output
Required
ARC COSINE
ACOS
@ACOS
464
Output
Required
ARC TANGENT
ATAN
@ATAN
465
Output
Required
SQUARE ROOT
SQRT
@SQRT
466
Output
Required
Instruction
Mnemonic
Code
Symbol/Operand Function Location
Execution condition
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
TAN(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
TAN
−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.