Texas Instruments TI89 Developer Guide - Page 315
push_denominator, push_numerator, push_standardize, push_comdenom
![]() |
UPC - 033317198566
View all Texas Instruments TI89 manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 315 highlights
Appendix A: System Routines - Algebra Utilities 273 push_denominator Declaration: void push_denominator (EStackIndex i) Category(ies): Algebra Utilities Description: Pushes the denominator of the expression indexed by i onto the estack. The denominator of a float or integer is 1. DIVIDE_TAG does not occur in internally-simplified expressions. Therefore, the denominator of a power is the reciprocal of the power if the degree is negative; otherwise the denominator is 1. The denominator of a product is the passive product of the reciprocals of the factors that have negative degrees. Otherwise the denominator is 1. Note that: The denominator of 1.5 is 1. The denominator of x^-2 is x^-2. The denominator of x † (y + 1)^-1 † y^-1 † 3 is (y + 1) † y. The denominator of x^-1 + 3 is 1. Inputs: i - Indexes 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_numerator, push_standardize, push_comdenom Example: void push_denominator_of_com_denom (EStackIndex i) /* Pushes the denominator 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_denominator (i); delete_between (old_top, i); } TI-89 / TI-92 Plus Developer Guide Not for Distribution Beta Version January 26, 2001
![](/manual_guide/products/texas-instruments-ti89-developer-guide-95b636f/315.png)