482
is_reciprocal_of_quantum
Declaration:
Boolean is_reciprocal_of_quantum (IndexConstQuantum i , Quantum q )
Category(ies):
EStack Arithmetic
Description:
Determines whether the expression indexed by i is a fraction that is the
reciprocal of the nonzero quantum q .
i
Inputs:
q — Nonzero quantum.
Returns TRUE if the expression indexed by i is a fraction that is the
Outputs:
reciprocal of the nonzero quantum q . Otherwise, returns FALSE.
Assumptions:
i points to the top tag of an expression.
q is a nonzero quantum.
Side Effects:
None
Availability:
On AMS 2.02 and higher.
TI-89 / TI-92 Plus
Differences:
None
See Also:
None
Example:
push_reciprocal_of_quantum (5u);
is_reciprocal_of_quantum (top_estack, 5u);
TI-89 / TI-92 Plus Developer Guide
Appendix A: System Routines — EStack Arithmetic
— Index of an expression.
Not for Distribution
/* Returns TRUE */
Beta Version January 26, 2001