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 #640 background imageLoading...
Page #640 background image
598
Appendix A: System Routines — Graphing
TI
-
89 / TI
-
92 Plus Developer Guide
Not for Distribution
Beta Version January 26, 2001
gr_CptIndepInc
(continued)
Example:
Given a floating-point independent value and a pointer to the min, max,
and step values for the independent variable, ICvtFtoP returns the
corresponding increment or 0xFFFF if the independent value is out of
range.
WORD ICvtFtoP( BCD16 f, BCD16 *indep_rng )
{ Access_AMS_Global_Variables;
WORD NewInc;
switch (gr_active->graph_mode) {
case GR_FUNC:
return( (WORD) XCvtFtoP(f, gr_active) );
case GR_DE:
case GR_SEQ:
case GR_PAR:
case GR_POL:
if (gr_CptIndepInc(f, indep_rng, &NewInc))
return( NewInc );
case GR_3D:
return ((f - gr_active->rngp[GR_XMIN]) * (gr_active->rngp[GR_XGRID] /
(gr_active->rngp[GR_XMAX] - gr_active->rngp[GR_XMIN])));
}
return 0xFFFF;
}

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