EasyManuals Logo
Home>Texas Instruments>Calculator>TI-89

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 #538 background imageLoading...
Page #538 background image
496
Appendix A: System Routines — EStack Arithmetic
TI
-
89 / TI
-
92 Plus Developer Guide
Not for Distribution
Beta Version January 26, 2001
push_pi_on_quantum
Declaration:
void
push_pi_on_quantum
(Quantum
q
)
Category(ies):
EStack Arithmetic
Description:
Pushes
π
/
q
onto the estack, with
q
>= 2. The result is a tagged float if
IS_ARITH_APPROX. Otherwise the result is a symbolic expression.
Inputs:
q
Quantum.
Outputs:
None
Assumptions:
q
>= 2
Side Effects:
None
Availability:
On AMS 2.02 and higher.
TI
-
89 / TI
-
92 Plus
Differences:
None
See Also: push_pi
Example:
/*
** Title: push_radians
** Description: pushes the result of converting the specified value
** (interpreted as radians) to the currently selected measure
** Input: estack index i of the radian value
** Output: pushes the value converted to the currently selected angle measure
*/
void push_radians (EStackIndex i)
{ Access_AMS_Global_Variables;
if (! is_free_of_tag (i, IM_RE_TAG))
ER_THROW (ER_DOMAIN);
if (IS_RADIANS)
push_expression (i);
else
{ push_pi_on_quantum (180);
push_ratio (i, top_estack);
delete_expression (next_expression_index (top_estack));
}
}

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