EasyManua.ls Logo

Texas Instruments TI-89 - Push_Reciprocal_Of_Quantum

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...
502
Appendix A: System Routines — EStack Arithmetic
TI
-
89 / TI
-
92 Plus Developer Guide
Not for Distribution
Beta Version January 26, 2001
push_reciprocal_of_quantum
Declaration:
void
push_reciprocal_of_quantum
(Quantum
q
)
Category(ies):
EStack Arithmetic
Description:
Pushes tagged fraction 1/
q
onto the estack.
Inputs:
q
Quantum.
Outputs:
None
Assumptions:
q
> 1.
Side Effects:
None
Availability:
On AMS 2.02 and higher.
TI
-
89 / TI
-
92 Plus
Differences:
None
See Also: push_negate_quantum_as_negint,
push_quantum_as_nonnegative_int,
push_minus_recip_of_quantum,
push_quantum_pair_as_pos_frac
Example:
void push_percent (EStackIndex i)
/* i indexes an algebraic or aggregate expression.
Pushes i divided by 100.
*/
{ if (is_units_term (i))
ER_THROW (ER_INVALID_USE_OF_UNITS);
push_reciprocal_of_quantum (100u);
times_top (i);
}

Table of Contents

Other manuals for Texas Instruments TI-89

Related product manuals