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 #536 background imageLoading...
Page #536 background image
494
Appendix A: System Routines — EStack Arithmetic
TI
-
89 / TI
-
92 Plus Developer Guide
Not for Distribution
Beta Version January 26, 2001
push_negate_quantum_as_negint
Declaration:
void
push_negate_quantum_as_negint
(Quantum
q
)
Category(ies):
EStack Arithmetic
Description:
Pushes nonzero
q
onto the estack as a tagged negative big integer.
Inputs:
q
Quantum.
Outputs:
None
Assumptions:
q
is nonzero.
Side Effects:
None
Availability:
On AMS 2.00 and higher.
TI
-
89 / TI
-
92 Plus
Differences:
None
See Also: push_quantum_as_nonnegative_int, push_reciprocal_of_quantum,
push_minus_recip_of_quantum, push_quantum_pair_as_pos_frac
Example:
void push_quadratic_discriminant (EStackIndex a, EStackIndex b, EStackIndex c)
/* Pushes onto the estack b^2 - 4 a c. */
{ Access_AMS_Global_Variables;
push_negate_quantum_as_negint (4u);
times_top (a);
times_top (c);
a = top_estack;
push_square (b);
replace_top2_with_sum (a);
}

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