476
Appendix A: System Routines — EStack Arithmetic
TI
-
89 / TI
-
92 Plus Developer Guide
Not for Distribution
Beta Version January 26, 2001
is_complex0
Declaration:
Boolean
is_complex0
(IndexConstQuantum
i
)
Category(ies):
EStack Arithmetic
Description:
Determines whether
i
indexes a real or unreal signed or unsigned zero.
Inputs:
i
— Index of an expression.
Outputs:
Returns TRUE if
i
indexes a real or unreal signed or unsigned zero.
Otherwise, returns FALSE.
Assumptions:
i
indexes the top tag of an expression.
Side Effects:
None
Availability:
On AMS 1.05 and higher.
TI
-
89 / TI
-
92 Plus
Differences:
None
See Also: is0
Example:
Boolean is_complex0_or_aggregate_thereof (EStackIndex i)
{ return LIST_TAG == ESTACK (i) ?
all_tail (is_complex0_or_aggregate_thereof, i-1u) :
is_complex0 (i);
}