488
Appendix A: System Routines — EStack Arithmetic
TI
-
89 / TI
-
92 Plus Developer Guide
Not for Distribution
Beta Version January 26, 2001
push_arg_plus_1
Declaration:
void
push_arg_plus_1
(EStackIndex
i
)
Category(ies):
EStack Arithmetic
Description:
Pushes onto the estack the internally-simplified sum of the expression
i
plus 1.0 if IS_ARITH_APPROX, or the expression
i
plus 1 otherwise. If
i
indexes a square matrix, the one is added only to the diagonal of the
matrix.
Inputs:
i
— Index to an internally-simplified algebraic expression, algebraic
comparison, or aggregate thereof.
Outputs:
None
Assumptions:
i
points to the top tag of an internally-simplified algebraic expression,
algebraic comparison, or aggregate thereof.
Side Effects:
None
Availability:
On AMS 2.02 and higher.
TI
-
89 / TI
-
92 Plus
Differences:
None
See Also: push_sum, replace_top2_with_sum, push_difference,
subtract_from_top, replace_top2_with_difference, add1_to_top,
subtract1_from_top, add_to_top, push_arg_minus_1
Example:
push_quantum (8u); /* push variable x */
push_arg_plus_1 (top_estack); /* Pushes x + 1 or x + 1.0 */