EasyManua.ls Logo

Texas Instruments TI-89 - Push0

Texas Instruments TI-89
1398 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
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

Related product manuals