Push_Constant_Factors - Texas Instruments TI-89 Developer's Manual

Graphing calculator
Hide thumbs Also See for TI-89:
Table of Contents

Advertisement

272

push_constant_factors

Declaration:
void push_constant_factors (EStackIndex k )
Category(ies):
Algebra Utilities
Description:
Pushes onto the estack the product of all syntactic factors of the
expression indexed by k that do not contain variables.
If there are no constant factors, pushes Float1 if IS_ARITH_APPROX is
true and Integer1 if IS_ARITH_APPROX is false.
Inputs:
k — Index of the top tag of an internally-simplified algebraic expression.
Outputs:
None
Assumptions:
None
Side Effects:
None
Availability:
All versions of the TI-89 / TI-92 Plus.
TI-89 / TI-92 Plus
Differences:
None
See Also:
push_nonconstant_factors, numeric_factor_index,
push_nonnumeric_factors, push_dependent_factors,
push_independent_factors
Example:
push_pi_on_quantum (2u);
foo = top_estack;
push_quantum (8u);
replace_top2_with_prod (foo);
push_constant_factors (top_estack);
TI-89 / TI-92 Plus Developer Guide
Appendix A: System Routines — Algebra Utilities
/* push variable x */
/* Pushes pi*(1/2) */
Not for Distribution
Beta Version January 26, 2001

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Ti-92 plusTi-92 plus

Table of Contents