282
Appendix A: System Routines — Algebra Utilities
TI
-
89 / TI
-
92 Plus Developer Guide
Not for Distribution
Beta Version January 26, 2001
push_integer_lcm
Declaration:
void
push_integer_lcm
(EStackIndex
i
, EStackIndex
j
)
Category(ies):
Algebra Utilities
Description:
If
i
and
j
both index numbers, pushes their least common multiple. If
i
and/or
j
index(es) aggregate(s), maps over the elements of the
aggregate(s). Otherwise pushes INT_LCM_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
expressions or aggregates thereof.
Outputs:
None
Assumptions:
None
Side Effects:
None
Availability:
On AMS 2.02 and higher.
TI
-
89 / TI
-
92 Plus
Differences:
None
See Also:
None
Example:
push_quantum_as_nonnegative_int (10u);
k = top_estack;
push_Float (15.0);
push_integer_lcm (k, top_estack); /* Pushes tagged float 30.0 */