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 #546 background imageLoading...
Page #546 background image
504
Appendix A: System Routines — EStack Arithmetic
TI
-
89 / TI
-
92 Plus Developer Guide
Not for Distribution
Beta Version January 26, 2001
push0
Declaration:
void
push0
(void)
Category(ies):
EStack Arithmetic
Description:
Pushes a tagged float 0.0 if IS_ARITH_APPROX.
Otherwise pushes a tagged big-integer 0.
Inputs:
None
Outputs:
None
Assumptions:
None
Side Effects:
None
Availability:
On AMS 2.00 and higher.
TI
-
89 / TI
-
92 Plus
Differences:
None
See Also: push1, push_pi, push_pi_on_quantum
Example:
void push_dense_poly_eval (EStackIndex i, EStackIndex j)
/* i indexes a list of polynomial coefficients in descending order of the
exponents of a variable, and j indexes a value for that variable.
Pushes the value of the polynomial onto the estack.
*/
{ if (LIST_TAG == ESTACK(i))
{ --i;
push0 ();
while (END_TAG != ESTACK(i))
{ times_top (j);
add_to_top (i);
i = next_expression_index (i);
}
}
else if (is_constant (i))
{ ER_THROW (ER_DOMAIN);
}
else
{ push_expression (j);
push_expression (i);
push_quantum (DENSE_POLY_EVAL_TAG);
}
}

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