Appendix A: System Routines — Math
819
TI
-
89 / TI
-
92 Plus Developer Guide
Not for Distribution
Beta Version January 26, 2001
push_rec_to_angle
Declaration:
void
push_rec_to_angle
(EStackIndex
i
, EStackIndex
j
)
Category(ies):
Math
Description:
Expression
i
indexes an x coordinate and expression
j
indexes a y
coordinate. Pushes onto the estack the internally-simplified radian angle in
the range (
Lp
,
p
], measured counter-clockwise from the positive x axis. If
i
and
j
both index zeros,
push_rec_to_angle
(
i, j
) pushes
REC_TO_ANGLE_TAG on top of the two zeros representing the
open-closed interval (
Lp
,
p
].
Inputs:
i
,
j
— Indices of the top tags of internally-simplified algebraic
expressions, algebraic comparisons, or aggregates thereof.
Outputs:
None
Assumptions:
None
Side Effects:
None
Availability:
On AMS 2.02 and higher.
TI
-
89 / TI
-
92 Plus
Differences:
None
See Also: push_atan, push_phase
Example:
push_quantum_as_nonnegative_int (11u);
push_rec_to_angle (top_estack, top_estack); /* Pushes pi/4 */