466
compare_Floats
Declaration:
int compare_Floats (IndexConstQuantum i , IndexConstQuantum j )
Category(ies):
EStack Arithmetic
Description:
Compares tthe tagged floats indexed by i and j .
Inputs:
i, j — Indexes to tagged floats.
Outputs:
Returns 0 if the tagged floats indexed by i and j are equal, 1 if the tagged
float indexed by i is larger, or L1 if the tagged float indexed by j is larger.
i and j point to the tags of tagged floats.
Assumptions:
Side Effects:
None
On AMS 1.05 and higher.
Availability:
TI-89 / TI-92 Plus
Differences:
None
See Also:
compare_numbers, compare_complex_magnitudes,
compare_expressions
Examples:
push_Float (3.7);
j = top_estack;
push_Float (5.2);
i = top_estack;
compare_Floats (i, j);
TI-89 / TI-92 Plus Developer Guide
Appendix A: System Routines — EStack Arithmetic
/* Returns 1 */
Not for Distribution
Beta Version January 26, 2001