Appendix A: System Routines — Math
789
TI
-
89 / TI
-
92 Plus Developer Guide
Not for Distribution
Beta Version January 26, 2001
push_integer_part
Declaration:
void
push_integer_part
(EStackIndex
k
)
Category(ies):
Math
Description:
Pushes onto the estack the internally-simplified integer part of the
expression indexed by
k
. For unreal arguments x +
i
ù
y with x and y real,
the result is iPart(x) +
i
ù
iPart(y).
Inputs:
k
— Indexes the top tag of an algebraic expression or an aggregate
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_quotient, push_integer_remainder, push_floor,
push_mod, push_ceiling
Example:
push_Float (-2.1);
push_integer_part (top_estack); /* Pushes –2.0 */