776
Appendix A: System Routines — Math
TI
-
89 / TI
-
92 Plus Developer Guide
Not for Distribution
Beta Version January 26, 2001
push_degrees
Declaration:
void
push_degrees
(EStackIndex
i
, EStackIndex
j
, EStackIndex
k
)
Category(ies):
Math
Description:
Converts the input values, interpreted as degrees, minutes, and seconds,
to the currently selected angle measure.
Inputs:
i
— EStackIndex of internal tokenized degrees value.
j
— EStackIndex of internal tokenized minutes value.
k
— EStackIndex of internal tokenized seconds value.
Outputs:
Pushes the internal tokenized form of the result of converting the specified
degrees, minutes, and seconds to the currently selected angle measure —
radians or decimal degrees.
Assumptions:
Input values must be numbers, numeric symbols, or expressions that result
in numbers or numeric symbols.
Side Effects:
May cause estack expansion, heap compression, or throw errors.
Availability:
On AMS 1.05 and higher.
TI-89 / TI-92 Plus
Differences:
None
See Also: push_radians
Example:
If the current angle setting is RADIANS, i indexes 30, j indexes 20, and k indexes 0, then
push_degrees (i, j, k);
pushes the value 91
†
π
/540 which is the equivalent number of radians onto the estack.
If the current angle setting is DEGREES, i indexes 30, j indexes 20, and k indexes 0, then
push_degrees (i, j, k);
pushes the value 91/3 which is the equivalent number of degrees onto the estack.