537
3. Instructions
CS/CJ/NSJ Series Instructions Reference Manual (W474)
Double-precision Floating-point Instructions
3
ASIND/ACOSD/ATAND
îš„ ACOSD
ACOSD(855) computes the angle (in radians) for a cosine value expressed as a double-precision (64-
bit) floating-point number in words S to S+3 and places the result in words D to D+3.
(The floating point source data must be in IEEE754 format.)
The result is output to words D to D+3 as an angle (in radians) within the range of 0 to π.
z The following diagram shows the relationship between the input data and
result.
îš„ ATAND
ATAND(856) computes the angle (in radians) for a tangent value expressed as a double-precision (64-
bit) floating-point number in words S to S+3 and places the result in D to D+3.
(The floating point source data must be in IEEE754 format.)
The result is output to words D to D+3 as an angle (in radians) within the range of -π/2 to π/2.
z The following diagram shows the relationship between the input data and
result.
S+1 S ) →COS
–1
( S+3 S+2 D+1 DD+3 D+2
R
S: Input data (cosine value)
R: Result (radians)
S+1 S ) →TAN
–1
( S+3 S+2 D+1 DD+3 D+2
R
S: Input data (tangent)
R: Result (radians)