Texas Instruments TI-89 Developer's Manual page 275

Graphing calculator
Hide thumbs Also See for TI-89:
Table of Contents

Advertisement

Appendix A: System Routines — Algebra Utilities
compare_expressions
TI-89 / TI-92 Plus
Differences:
None
See Also:
compare_numbers, compare_Floats, compare_complex_magnitudes
Example:
Boolean does_term_have_base (EStackIndex term, EStackIndex base)
/* Returns TRUE if and only if term has base. */
{
Int s;
while (! IS_NUMBER_TAG (ESTACK (term)))
{
s = compare_expressions (lead_base_index (term), base);
if (s)
if (s < 0)
return FALSE;
else
term = remaining_factors_index (term);
else
return TRUE;
}
return FALSE;
}
TI-89 / TI-92 Plus Developer Guide
(continued)
/* Loop over factors of term */
/* base > all remaining bases in term */
Not for Distribution
233
Beta Version January 26, 2001

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Ti-92 plusTi-92 plus

Table of Contents