 |
push_cnvrt_integer_if_whole_nmb |
Function (ROM Call 0x30D) |
void push_cnvrt_integer_if_whole_nmb (CESI ptr); |
Pushes a floating point entry eventually converted to an integer.
push_cnvrt_integer_if_whole_nmb checks the entry on the expression stack pointed to by
ptr. If it is not a floating point value (represented by FLOAT_TAG),
or if it is a floating point value which is not a whole number, yet another copy of the entry is
pushed on the expression stack. If the entry is a floating point value which is a whole number,
this number is pushed on the expression stack, but this time as an integer (i.e. with
POSINT_TAG or NEGINT_TAG).
Uses: did_push_cnvrt_Float_to_integer, push_expression
Used by: push_exponentiate