790
Appendix A: System Routines — Math
TI
-
89 / TI
-
92 Plus Developer Guide
Not for Distribution
Beta Version January 26, 2001
push_integer_quotient
Declaration:
void
push_integer_quotient
(EStackIndex
i
, EStackIndex
j
)
Category(ies):
Math
Description:
Pushes onto the estack the internally-simplified integer quotient
intDiv of
i
and
j
, truncated toward zero. For all integers m and n
≠
0,
m = n
†
intDiv (m, n) + remain (m, n).
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: push_integer_remainder, push_integer_part, push_floor, push_mod,
push_ceiling
Example:
push_quantum_as_nonnegative_int (3u);
j = top_estack;
push_quantum_as_nonnegative_int (5u);
push_integer_quotient (top_estack, j); /* Pushes a tagged integer 1 */