| should_and_did_push_approx_arg2 | Function (ROM Call 0x311)

AMS 1.01 or higher | estack.h

short should_and_did_push_approx_arg2 (CESI arg1_ptr, CESI arg2_ptr);

Pushes a second floating point argument, if possible.

This function is combination of "push" and "check" operations. If the entry on the expressions stack pointed to by arg1_ptr is not a floating point number (i.e. if arg1_ptr does not point to FLOAT_TAG), this function does nothing and returns FALSE. Otherwise, it checks if it is likely that the entry on the expression stack pointed to by arg2_ptr can be approxed to a real number (using likely_approx_to_number). If it is, should_and_did_push_approx_arg2 pushes the approximated value to the expression stack and returns TRUE, otherwise it does nothing more and returns FALSE.

Uses: likely_approx_to_number, next_expression_index, push_expression, top_estack, push_approx, primary_tag_list
Used by: did_push_anti_deriv, push_1st_derivative, push_csolve, push_czeros, push_def_int, push_desolve, push_lim, push_max, push_min, push_nsolve, push_solve, push_zeros, push_equals, push_exponentiate, push_greater_than, push_greater_than_or_equals, push_less_than, push_less_than_or_equals, push_not_equals, push_product, push_sum, add_to_top, get_ub, push_standardize, raise_to_top, replace_top2_with_imre, replace_top2_with_pow, replace_top2_with_prod, replace_top2_with_sum, times_top