Texas Instruments TI89 Developer Guide - Page 540
push_quantum_as_nonnegative_int, Quantum, EStack Arithmetic, Pushes
![]() |
UPC - 033317198566
View all Texas Instruments TI89 manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 540 highlights
498 Appendix A: System Routines - EStack Arithmetic push_quantum_as_nonnegative_int Declaration: void push_quantum_as_nonnegative_int (Quantum q) Category(ies): EStack Arithmetic Description: Pushes q onto the estack as a tagged non-negative big integer. Inputs: q - Quantum. Outputs: None Assumptions: None Side Effects: None Availability: On AMS 2.02 and higher. TI-89 / TI-92 Plus Differences: None See Also: push_negate_quantum_as_negint, push_reciprocal_of_quantum, push_minus_recip_of_quantum, push_quantum_pair_as_pos_frac Example: void push_arclen (EStackIndex i, EStackIndex vi, EStackIndex j, EStackIndex k) /* j and k index expressions, vi indexes a variable, and i indexes an expression simplified through variable vi. Pushes onto the estack the arc displacement of expression i with respect to vi going from j through k. */ { Access_AMS_Global_Variables; EStackIndex m, old_top = top_estack; push_quantum_as_nonnegative_int (2u); m = top_estack; push_1st_derivative (i, vi); replace_top2_with_pow (m); add1_to_top (); i = top_estack; push_sqrt (i); delete_between (old_top, i); i = top_estack; push_def_int (i, vi, j, k); delete_between (old_top, i); } TI-89 / TI-92 Plus Developer Guide Not for Distribution Beta Version January 26, 2001
![](/manual_guide/products/texas-instruments-ti89-developer-guide-95b636f/540.png)