Push_Integer_Gcd - Texas Instruments TI-89 Developer's Manual

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

Advertisement

Appendix A: System Routines — Algebra Utilities

push_integer_gcd

Declaration:
void push_integer_gcd (EStackIndex i , EStackIndex j )
Category(ies):
Algebra Utilities
Description:
If i and j both index numbers, pushes their greatest common divisor. If i
and/or j index(es) aggregate(s), maps over the elements of the
aggregate(s). Otherwise pushes INT_GCD_TAG on top of a copy of
expression i on top of a copy of expression j .
Inputs:
i , j — Indices of the top tags of internally-simplified algebraic
Outputs:
None
Assumptions:
None
Side Effects:
None
Availability:
On AMS 2.02 and higher.
TI-89 / TI-92 Plus
None
Differences:
See Also:
None
Example:
push_quantum_as_nonnegative_int (10u);
k = top_estack;
push_Float (15.0);
push_integer_gcd (k, top_estack);
TI-89 / TI-92 Plus Developer Guide
expressions or aggregates thereof.
/* Pushes tagged float 5.0 */
Not for Distribution
281
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