
PROGRAMMING NUMERIC APPLICATIONS
Table
|
| Condition Code |
|
|
|
|
|
|
| Interpretation | |
C3 | C2 | C1 | CO |
|
|
0 | 0 | 0 | 0 | + | Unnormal |
0 | 0 | 0 | 1 | + | NaN |
0 | 0 | 1 | 0 | - | Unnormal |
0 | 0 | 1 | 1 | - | NaN |
0 | 1 | 0 | 0 | + | Normal |
0 | 1 | 0 | 1 | +00 | |
0 | 1 | 1 | 0 | - | Normal |
0 | 1 | 1 | 1 | - | 00 |
1 | 0 | 0 | 0 | +0 | |
1 | 0 | 0 | 1 | Empty | |
1 | 0 | 1 | 0 | ||
1 | 0 | 1 | 1 | Empty | |
1 | 1 | 0 | 0 | + | Denormal |
1 | 1 | 0 | 1 | Empty | |
1 | 1 | 1 | 0 | ||
1 | 1 | 1 | 1 | Empty | |
Transcendental Instructions
The instructions in this group (table
NOTE
The transcendental instructions assume that their operands are valid and
All operands to a transcendental must be normalized; denormals, unnormals, infinities, and NaNs are considered invalid. (Zero operands are accepted by some functions and are considered
FPTAN
o ::; ST(O) ::; 1r 14
FPTAN (partial tangent) computes the function Y IX = TAN (0). 0 is taken from the top stack element; it must lie in the range 0 ::; 0 ::; 7r14. The result of the operation is a ratio; Y replaces 0 in the stack and X is pushed, becoming the new stack top.