Is_Complex_Float - Texas Instruments TI-89 Developer's Manual

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

Advertisement

Appendix A: System Routines — EStack Arithmetic

is_complex_Float

Declaration:
Boolean is_complex_Float (IndexConstQuantum i )
Category(ies):
EStack Arithmetic
Description:
Determines whether the expression indexed by i is a complex float.
Inputs:
i
Outputs:
Returns TRUE if i indexes a FLOAT_TAG or an IM_RE_TAG on top of two
expressions having float tags. Otherwise returns FALSE.
i indexes the top tag of an expression.
Assumptions:
Side Effects:
None
On AMS 2.02 and higher.
Availability:
TI-89 / TI-92 Plus
Differences:
None
See Also:
is_complex_number
Examples:
Boolean is_cFloat_agg (EStackIndex i)
/* Returns TRUE if the expression indexed by i contains only floats
and/or complex floats. Otherwise returns FALSE. */
{
return is_complex_Float(i) ||
LIST_TAG == ESTACK(i) && all_tail (&is_cFloat_agg, i-1u);
}
TI-89 / TI-92 Plus Developer Guide
— Index to an expression.
Not for Distribution
475
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