push_overflow_to_infinity Function (ROM Call 0x30E)

AMS 1.01 or higher estack.h

void push_overflow_to_infinity (ESQ inf_tag);

Displays a warning, and pushes a tag to the expression stack.

push_overflow_to_infinity displays the warning message "Warning: Overflow replaced by INF or -INF", then pushes byte inf_tag to the expression stack (it is usually INFINITY_TAG or NEGINFINITY_TAG).


Uses: push_quantum, ST_helpMsg, XR_stringPtr
Used by: push_Float, push_cosh, push_exp, push_sinh, push_factorial