Estack_Number_To_Float - Texas Instruments TI-89 Developer's Manual

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

Advertisement

402
Appendix A: System Routines — Direct Floating Point Operations

estack_number_to_Float

Declaration:
Float estack_number_to_Float (IndexConstQuantum i )
Category(ies):
Direct Floating Point Operations, EStack Utilities
Description:
Returns the floating-point representation of i .
Inputs:
i
Outputs:
Floating-point representation of i .
Assumptions:
i points to the tag of a tagged number.
Side Effects:
None
Availability:
On AMS 1.05 and higher.
TI-89 / TI-92 Plus
None
Differences:
See Also:
estack_to_float
Example:
Boolean sum_has_small_numeric_term (EStackIndex i, Float tolerance)
/* i indexes a sum.
Returns TRUE if it does not have a top-level numeric term or if its
magnitude is < tolerance.
*/
{
i = index_numeric_term (i);
return NULL_INDEX == i ||
fabs (estack_number_to_Float (i)) <= tolerance;
}
TI-89 / TI-92 Plus Developer Guide
— Index of a tagged number.
Not for Distribution
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