EasyManuals Logo
Home>Texas Instruments>Calculator>TI-89

Texas Instruments TI-89 Developer's Guide

Texas Instruments TI-89
1398 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #549 background imageLoading...
Page #549 background image
Appendix A: System Routines — EStack Arithmetic
507
TI
-
89 / TI
-
92 Plus Developer Guide
Not for Distribution
Beta Version January 26, 2001
replace_top2_with_difference
Declaration:
void
replace_top2_with_difference
(EStackIndex
i
)
Category(ies):
EStack Arithmetic
Description:
Replaces the top two expressions of the estack with the
internally-simplified difference of expression
i
minus the top expression. If
one operand is a scalar and the other is a square matrix, the scalar is
distributed only over the diagonal of the matrix.
Inputs:
i
Index to the top tag of the deeper of the top two expressions of the
estack. These top two expressions are internally-simplified
algebraic expressions, algebraic comparisons, or aggregates
thereof.
Outputs:
None
Assumptions:
None
Side Effects:
None
Availability:
On AMS 2.02 and higher.
TI
-
89 / TI
-
92 Plus
Differences:
None
See Also: replace_top2_with_sum, push_sum, subtract_from_top,
replace_top2_with_difference, push_arg_plus_1, add1_to_top,
subtract1_from_top, add_to_top, push_arg_minus_1
Example:
push_quantum_as_nonnegative_int (3u);
coefficient = top_estack;
push_estack (8u); /* Push variable x */
replace_top2_with_prod (coefficient);
minuend = top_estack; /* 3 * x */
push_estack (8u); /* Push variable x */
replace_top2_with_difference (minuend); /* top_estack -> 2 * x */

Table of Contents

Other manuals for Texas Instruments TI-89

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Texas Instruments TI-89 and is the answer not in the manual?

Texas Instruments TI-89 Specifications

General IconGeneral
Display size (HxV)100 x 160 mm
Memory type639K FLASH ROM, 188K bytes RAM
Compatible operating systemsOperating System 2.09
Battery typeAAA

Related product manuals