replace_top_with_post_simplified Function (ROM Call 0x5B6)

AMS 2.02 or higher estack.h

void replace_top_with_post_simplified (ESI prev_top);

Replaces the expression on top of the EStack, in internal form, with the external (printing) form.

See display_statements and top_estack for more information about the external form.
prev_top should usually be next_expression_index(top_estack).


Uses: add_to_top, compare_numbers, did_map_aggregate_arg, did_push_divide_units, estack_to_float, Float1Index, FloatMinus1Index, FloatPiIndex, get_lb, get_ub, index_reductum_with_tag_base, index_rmng_factor, index_rmng_fctrs_start_base, index_rmng_fctrs_start_fctr_tag, integer_non_unknown, Integer0Index, Integer1Index, Integer2Index, IntegerMinus1Index, is_constant, is_equivalent_to, is_minus1, is_nonnegative, is_positive, is_real, is_reciprocal_of_quantum, is_units_term, is_variable, is_whole_number, is0, is1, negate_top, NG_control, NG_such_that_index, primary_tag_list, push_auto_units_conversion, push_but_factor, push_but_term, push_negate_quantum_as_negint, push_nonnumeric_factors, push_pi, push_pi_on_quantum, push_quantum_as_nonnegative_int, push_reciprocal, push_reciprocal_of_quantum, push1, raise_to_top, replace_top2_with_imre, replace_top2_with_pow, replace_top2_with_prod, replace_top2_with_ratio, replace_top2_with_sum, times_top, RemainingArgCnt, push_abs, push_approx, push_ceiling, push_cos, push_cosh, push_denominator, push_exp, push_gcd_numbers, push_ln, push_mod, push_numerator, push_phase, push_sin, push_sinh, push_tan, push_tanh, did_push_to_polar, push_arg_minus_1, push_arg_plus_1, push_difference, push_exponentiate, push_negate, push_pow, push_product, push_ratio, push_square, push_sum, push_to_cylin, push_to_sphere, ER_catch, ER_success, ER_throwVar, are_expressions_identical, check_estack_size, compare_expressions, delete_between, delete_expression, deleted_between, deleted_expression, estack_number_to_Float, factor_base_index, factor_exponent_index, index_main_var, is_advanced_tag, lead_base_index, lead_exponent_index, lead_factor_index, lead_term_index, likely_approx_to_number, map_tail_Int, move_between_to_top, moved_between_to_top, next_expression_index, numeric_factor_index, push_between, push_expr_quantum, push_expr2_quantum, push_expression, push_Float, push_internal_simplify, push_offset_array, push_quantum, push_quantum_pair, reductum_index, remaining_factors_index, top_estack, ST_helpMsg, XR_stringPtr, fabs, fmod, is_nan, sqrt, _bcd_math, _du16u16, _ds32s32, _ms32s32, ROM Call 0x4DF, ROM Call 0x4EA, push_half, push_exact0, push_exact_minus1, push_minus1, ROM Call 0x4EF, push_exact1, command_tag_list, ROM Call 0x5E6, ROM Call 0x5EC
Used by: push_simplify, push_simplify_statements, push_user_func


See also: display_statements, top_estack, push_simplify, push_internal_simplify