Appendix A: System Routines — Algebra Utilities
remaining_factors_index
Description:
Non-numeric denominator factors are internally simplified to be merged
(continued)
with numerator factors as negative powers.
For example:
If i indexes the internally-simplified expression
2/x
then remaining_factors_index(i) returns index (2).
Inputs:
i
Outputs:
If i indexes a MULTIPLY_TAG, returns the index of the deeper of its two
operands. Otherwise returns Float1Index if IS_ARITH_APPROX is true and
Integer1Index if IS_ARITH_APPROX is false.
Assumptions:
None
Side Effects:
None
Availability:
On AMS 1.05 and higher.
TI-89 / TI-92 Plus
Differences:
None
See Also:
lead_factor_index
Example:
push_quantum (x);
/* Push variable x */
remaining_factors_index (top_estack); /* Returns an index of a one. */
TI-89 / TI-92 Plus Developer Guide
(continued)
— Indexes the top tag of an expression.
Not for Distribution
297
Beta Version January 26, 2001