EasyManuals Logo

Texas Instruments TI-89 Developer's Guide

Texas Instruments TI-89
1398 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #514 background imageLoading...
Page #514 background image
472
Appendix A: System Routines — EStack Arithmetic
TI
-
89 / TI
-
92 Plus Developer Guide
Not for Distribution
Beta Version January 26, 2001
integer_non_unknown
Declaration:
int
integer_non_unknown
(EStackIndex
i
)
Category(ies):
EStack Arithmetic
Description:
Determines if the expression indexed by
i
can have whole-number values.
Inputs:
i
Index to an algebraic expression.
Outputs:
Returns 1 if the function determines that the expression indexed by
i
can
have only whole-number values. Returns
L
1 if the function determines that
the expression cannot have a whole-number value. Returns 0 if the
function cannot determine either of the above. The argument expression
does not have to be numeric.
Assumptions:
i
indexes the top tag of an algebraic expression.
Side Effects:
None
Availability:
On AMS 2.02 and higher.
TI
-
89 / TI
-
92 Plus
Differences:
None
See Also: is_whole_number, is_Float_exact_whole_number
Examples:
Boolean is_even_expression (EStackIndex i)
/* Returns TRUE if the expression indexed by i is recognized as even. */
{ Access_AMS_Global_Variables;
EStackIndex old_top = top_estack;
Boolean b;
push_reciprocal_of_quantum (2u);
times_top (i);
b = integer_non_unknown (top_estack) > 0;
top_estack = old_top;
return b;
}

Table of Contents

Other manuals for Texas Instruments TI-89

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Texas Instruments TI-89 and is the answer not in the manual?

Texas Instruments TI-89 Specifications

General IconGeneral
Display size (HxV)100 x 160 mm
Memory type639K FLASH ROM, 188K bytes RAM
Compatible operating systemsOperating System 2.09
Battery typeAAA

Related product manuals