Push_Numerator - Texas Instruments TI-89 Developer's Manual

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

Advertisement

286

push_numerator

Declaration:
void push_numerator (EStackIndex i )
Category(ies):
Algebra Utilities
Description:
Pushes onto the estack the syntactic numerator of expression i .
The numerator of a float or integer is the float or integer.
DIVIDE_TAG does not occur in internally-simplified expressions, so:
Note that:
The numerator of 1.5 is 1.5.
The numerator of x^-2 is 1.0 or 1 depending on IS_ARITH_APPROX.
The numerator of x † (y + 1)^-1 † y^-1 † 3 is x † 3.
The numerator of x^-1 + 3 is the entire expression.
Inputs:
i
Outputs:
None
Assumptions:
None
Side Effects:
None
Availability:
On AMS 2.02 and higher.
TI-89 / TI-92 Plus
Differences:
None
See Also:
push_denominator
Example:
void push_numerator_of_com_denom (EStackIndex i)
/* Pushes the numerator of the expression that would be obtained by
putting the expression indexed by i over a common denominator.
*/
{
Access_AMS_Global_Variables;
EStackIndex old_top = top_estack;
push_standardize (i);
i = top_estack;
push_numerator (i);
delete_between (old_top, i);
}
TI-89 / TI-92 Plus Developer Guide
Appendix A: System Routines — Algebra Utilities
The numerator of a power is the power if the degree is positive;
otherwise the numerator is 1.0 or 1 depending on IS_ARITH_APPROX.
The numerator of a product is the product of the factors that do not
have negative degrees.
Otherwise the numerator is the entire expression.
— Indexes the top tag of an internally-simplified algebraic expression.
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