3. Instructions
492
CS/CJ/NSJ Series Instructions Reference Manual (W474)
Flags
Function
z ASIN
ASIN(463) computes the angle (in radians) for a sine value expressed as a 32-bit floating-point number
in S+1 and S and places the result in R+1 and R.
(The floating point source data must be in IEEE754 format.)
The result is output to words R+1 and R as an angle (in radians) within the range of –π/2 to π/2.
The following diagram shows the relationship between the input data and result.
Name Label Operation
Error Flag ER ON if the source data is not recognized as floating-point data.
•ASIN
ON if the source data is not a number (NaN).
ON if the absolute value of the source data exceeds 1.0.
•ACOS
ON if the source data is not a number (NaN).
ON if the absolute value of the source data exceeds 1.0.
•ATAN
ON if the source data is not a number (NaN).
OFF in all other cases.
Equals Flag = • ON if both the exponent and mantissa of the result are 0.
• OFF in all other cases.
Overflow Flag OF OFF
Underflow Flag UF OFF
Negative Flag N • ASIN
ON if the result is negative.
OFF in all other cases.
•ACOS
OFF
R+1 R
S
S+1
SIN
–1
Source (32-bit floating-point data)
Result (32-bit floating-point data)
R
S: Input data (sine value)
R: Result (radians)