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 #864 background imageLoading...
Page #864 background image
822
Appendix A: System Routines — Math
TI
-
89 / TI
-
92 Plus Developer Guide
Not for Distribution
Beta Version January 26, 2001
push_rotate
Declaration:
void
push_rotate
(EStackIndex
i
, EStackIndex
j
)
Category(ies):
Math
Description:
Rotates the elements of an integer, a list, or a string to the left or right.
Inputs:
i
EStackIndex of an integer, a list, or a string.
j
EStackIndex of an integer or whole number float.
Outputs:
Pushes a rotated copy of
i
onto the estack.
If
i
is an integer, then the bits are rotated.
If
i
is a list, the elements of the list are rotated.
If
i
is a string, the characters of the string are rotated.
If
j
is positive, the rotation is that number of places to the left.
If
j
is negative, the rotation is that number of places to the right.
Each time the input is rotated left, the leftmost element (integer bit, list
element, string character) that is pushed out is moved to the rightmost
position.
Each time the input is rotated right, the rightmost element that is pushed
out is moved to the leftmost position.
Assumptions:
None
Side Effects:
May expand the estack, cause heap compression, or throw errors if
arguments are invalid
Availability:
On AMS 2.00 and higher.
TI-89 / TI-92 Plus
Differences:
None
See Also: push_left, push_mid, push_right, push_shift
(continued)

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