Appendix A: System Routines — Direct Floating Point Operations
421
TI
-
89 / TI
-
92 Plus Developer Guide
Not for Distribution
Beta Version January 26, 2001
push_Float
Declaration:
void
push_Float
(Float
d
)
Category(ies):
Direct Floating Point Operations
Description:
Pushes a tagged float onto the estack if
d
is representable as a finite Float.
If
d
is not representable as a finite Float, the most appropriate transfinite
tag is pushed.
Inputs:
d
— Untagged C Float value.
Outputs:
None
Assumptions:
None
Side Effects:
None
Availability:
On AMS 1.05 and higher.
TI
-
89 / TI
-
92 Plus
Differences:
None
See Also: push_Float_to_nonneg_int
Examples:
void push_half (void)
/* Pushes a tagged float 0.5 if global computation mode = APPROXIMATE.
Otherwise pushes a tagged fraction 1/2. */
{ if (IS_ARITH_APPROX)
push_Float (FLOAT_HALF);
else
push_reciprocal_of_quantum (2u);
}