Appendix A: System Routines — Algebra Utilities
231
TI
-
89 / TI
-
92 Plus Developer Guide
Not for Distribution
Beta Version January 26, 2001
are_expressions_identical
Declaration:
Boolean
are_expressions_identical
(EStackIndex
i
, EStackIndex
j
)
Category(ies):
Algebra Utilities
Description:
Determines whether the expressions indexed by
i
and
j
are syntactically
identical. Floats are never identical to rational numbers.
Inputs:
i
,
j
— Indices of the top tags of expressions.
Outputs:
Returns TRUE if the expressions indexed by
i
and
j
are syntactically
identical.
Assumptions:
None
Side Effects:
None
Availability:
All versions of the TI
-
89 / TI
-
92 Plus.
TI
-
89 / TI
-
92 Plus
Differences:
None
See Also: compare_expressions, is_equivalent_to
Example:
push_Float (3.0);
j = top_estack;
push_quantum_as_nonnegative_int (3u);
are_expressions_identical (top_estack, j); /* Returns FALSE */