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 #826 background imageLoading...
Page #826 background image
784
Appendix A: System Routines — Math
TI
-
89 / TI
-
92 Plus Developer Guide
Not for Distribution
Beta Version January 26, 2001
push_factorial
Declaration:
void
push_factorial
(EStackIndex
i
)
Category(ies):
Math
Description:
Pushes the internally-simplified factorial of the expression indexed by
i
.
Although z! = Gamma(z - 1) for all complex z, where Gamma is the Euler
Gamma function, this implementation of factorial computes a numeric
result only for non-negative integer z.
Inputs:
i
Indexes the top tag of an algebraic expression, an algebraic
comparison, or an aggregate thereof.
Outputs:
None
Assumptions:
None
Side Effects:
None
Availability:
On AMS 2.02 and higher.
TI
-
89 / TI
-
92 Plus
Differences:
None
See Also:
None
Example:
If
i
indexes a negative integer, then
push_factorial
(
i
) pushes
PLUS_OR_MINUS_INFINITY_TAG.
If
i
indexes IM_RE_TAG or PI_TAG, then
push_factorial
(
i
) pushes
FACTORIAL_TAG on top of a copy of the expression indexed by
i
.
push_quantum_as_nonnegative_int (3u);
push_factorial (top_estack); /* Pushes a tagged integer 6 */

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