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 #848 background imageLoading...
Page #848 background image
806
Appendix A: System Routines — Math
TI
-
89 / TI
-
92 Plus Developer Guide
Not for Distribution
Beta Version January 26, 2001
push_mod
Declaration:
void
push_mod
(EStackIndex
i
, EStackIndex
j
)
Category(ies):
Math
Description:
Pushes onto the estack the expression indexed by
i
numeric-module the
expression indexed by
j
. For positive
j
this is the non-negative rather than
centered residue. As suggested by Graham, Knuth & Patashnik, “Concrete
Mathematics”, Addison-Wesley, section 3.4: mod(x,0) simplifies to x to
preserve the property that mod(x, y) always differs from x by a multiple of
y.
Inputs:
i
,
j
Indices of the top tags of internally-simplified algebraic
expressions or aggregates thereof.
Outputs:
None
Assumptions:
None
Side Effects:
None
Availability:
On AMS 2.02 and higher.
TI
-
89 / TI
-
92 Plus
Differences:
None
See Also: push_integer_quotient, push_integer_part, push_floor, push_ceiling,
push_integer_remainder
Example:
push_quantum_as_nonnegative_int (3u);
j = top_estack;
push_negate_quantum_as_negint (5u);
push_mod (top_estack, j); /* Pushes a tagged integer 2 */

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