Push_Floor - Texas Instruments TI-89 Developer's Manual

Graphing calculator
Hide thumbs Also See for TI-89:
Table of Contents

Advertisement

Appendix A: System Routines — Math

push_floor

Declaration:
void push_floor (EStackIndex k )
Category(ies):
Math
Description:
Pushes onto the estack the internally-simplified floor of the expression
indexed by k . For unreal arguments x +
floor(x) +
Example: floor(L2.1) -> L3
Inputs:
k — Indexes the top tag of an algebraic expression or an aggregate
Outputs:
None
Assumptions:
None
Side Effects:
None
Availability:
On AMS 2.02 and higher.
TI-89 / TI-92 Plus
Differences:
None
See Also:
None
Example:
void push_ceiling (EStackIndex i)
/* i indexes an algebraic expression u or an aggregate thereof.
Pushes ceiling(u) onto the estack.
Uses the identity
*/
{
Access_AMS_Global_Variables;
EStackIndex old_top = top_estack;
push_negate (i);
i = top_estack;
push_floor (i);
negate_top ();
delete_between (old_top, i);
}
TI-89 / TI-92 Plus Developer Guide
ù floor(y).
i
thereof.
ceiling(u) = -floor (-u).
Not for Distribution
ù y with x and y real, the result is
i
Beta Version January 26, 2001
785

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Ti-92 plusTi-92 plus

Table of Contents