Appendix A: System Routines — Math
783
TI
-
89 / TI
-
92 Plus Developer Guide
Not for Distribution
Beta Version January 26, 2001
push_factor
(continued)
See Also:
None
Example:
push_quantum_as_nonnegative_int (2u);
exponent = top_estack;
push_quantum (8u); /* Push variable x */
replace_top2_with_pow; /* top_estack -> x^2 */
subtract1_from_top (); /* top_estack -> x^2 - 1 */
push_factor (top_estack, NULL_INDEX, POLY_FCTR); /* Pushes (x - 1)(x + 1) */