492
Appendix A: System Routines — EStack Arithmetic
TI
-
89 / TI
-
92 Plus Developer Guide
Not for Distribution
Beta Version January 26, 2001
push_minus_recip_of_quantum
Declaration:
void
push_minus_recip_of_quantum
(Quantum
q
)
Category(ies):
EStack Arithmetic
Description:
Pushes tagged fraction
L
1/
q
onto the estack.
Inputs:
q
— Quantum.
Outputs:
None
Assumptions:
q
!= 0 and
q
!= 1.
Side Effects:
None
Availability:
On AMS 2.02 and higher.
TI
-
89 / TI
-
92 Plus
Differences:
None
See Also: push_reciprocal_of_quantum, push_quantum_pair_as_pos_frac
Example:
void push_minus_pi_on_quantum (Quantum q)
/* Pushes -pi/q onto the estack, where q >= 2. */
{ push_minus_recip_of_quantum (q);
push_quantum (PI_TAG);
push_quantum (MULTIPLY_TAG);
}