EasyManuals Logo

Texas Instruments TI-89 Developer's Guide

Texas Instruments TI-89
1398 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #510 background imageLoading...
Page #510 background image
468
Appendix A: System Routines — EStack Arithmetic
TI
-
89 / TI
-
92 Plus Developer Guide
Not for Distribution
Beta Version January 26, 2001
did_push_cnvrt_Float_to_integer
Declaration:
Boolean
did_push_cnvrt_Float_to_integer
(EStackIndex
i
)
Category(ies):
EStack Arithmetic
Description:
If the fractional part of the float indexed by
i
is any zero and the number is
representable as a big integer, pushes the tagged big-integer equivalent.
Inputs:
i
Index of a tagged float.
Outputs:
Returns TRUE if a tagged big-integer is pushed. Otherwise returns FALSE.
Assumptions:
i
points to the top tag of a tagged float.
Side Effects:
None
Availability:
On AMS 1.05 and higher.
TI
-
89 / TI
-
92 Plus
Differences:
None
See Also: is_whole_number, is_Float_exact_whole_number,
push_cnvrt_integer_if_whole_nmb, push_floor, push_ceiling,
push_integer_part
Example:
void push_cnvrt_integer_if_whole_nmb (EStackIndex i)
/* i indexes an expression.
If it is a whole number that is representable as an integer, pushes the
integer equivalent. Otherwise pushes expression i.
*/
{ if (FLOAT_TAG == ESTACK (i) && did_push_cnvrt_Float_to_integer (i))
;
else
push_expression (i);
}

Table of Contents

Other manuals for Texas Instruments TI-89

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Texas Instruments TI-89 and is the answer not in the manual?

Texas Instruments TI-89 Specifications

General IconGeneral
Display size (HxV)100 x 160 mm
Memory type639K FLASH ROM, 188K bytes RAM
Compatible operating systemsOperating System 2.09
Battery typeAAA

Related product manuals