Appendix A: System Routines — EStack Arithmetic
483
TI
-
89 / TI
-
92 Plus Developer Guide
Not for Distribution
Beta Version January 26, 2001
is_whole_number
Declaration:
Boolean
is_whole_number
(IndexConstQuantum
i
)
Category(ies):
EStack Arithmetic
Description:
Determines whether the expression indexed by
i
is a big integer, a float
whose fractional part is 0.0, or any real zero.
Inputs:
i
— Index of an expression.
Outputs:
Returns TRUE if the expression indexed by
i
is a big integer, a float whose
fractional part is 0.0, or any real zero. Otherwise, returns FALSE.
Assumptions:
i
points to the top tag of an expression.
Side Effects:
None
Availability:
All versions of the TI
-
89 / TI
-
92 Plus.
TI
-
89 / TI
-
92 Plus
Differences:
None
See Also: is_Float_exact_whole_number
Example:
is_whole_number(i) -> TRUE if i indexes a tagged float 1.2345678901234e30