raise_to_top Function (ROM Call 0x529)

AMS 2.02 or higher estack.h

void raise_to_top (CESI ptr);

Raises a value to the power given by the expression on the top of the EStack.

raise_to_top raises the expression pointed to by ptr to the power indicated by the expression currently at the top of the EStack, and stores the result to the top of the EStack, in place of the expression that was used as power.


Uses: add_to_top, compare_numbers, estack_to_float, FloatMinus1Index, FloatPiIndex, get_lb, get_ub, integer_non_unknown, Integer0Index, Integer1Index, Integer2Index, IntegerMinus1Index, is_minus1, is_nonnegative, is_positive, is_real, is_reciprocal_of_quantum, is_variable, is_whole_number, is0, is1, primary_tag_list, push_but_factor, push_quantum_as_nonnegative_int, push_reciprocal, replace_top2_with_imre, replace_top2_with_prod, replace_top2_with_ratio, times_top, push_abs, push_approx, push_ceiling, push_cos, push_denominator, push_mod, push_numerator, push_sin, push_arg_minus_1, push_arg_plus_1, push_difference, push_exponentiate, push_negate, push_pow, push_product, push_square, push_sum, check_estack_size, compare_expressions, delete_between, delete_expression, deleted_between, deleted_expression, estack_number_to_Float, factor_base_index, factor_exponent_index, lead_base_index, lead_exponent_index, lead_factor_index, likely_approx_to_number, move_between_to_top, moved_between_to_top, next_expression_index, push_between, push_expr_quantum, push_expr2_quantum, push_expression, push_Float, push_offset_array, push_quantum, push_quantum_pair, remaining_factors_index, should_and_did_push_approx_arg2, top_estack, ST_helpMsg, XR_stringPtr, fabs, sqrt, _bcd_math, _du16u16, _ds32s32, _ms32s32, ROM Call 0x4DF, ROM Call 0x4EA, push_half, push_exact0, ROM Call 0x4EF, push_exact1
Used by: add_to_top, are_units_consistent, get_ub, index_if_pushed_qquad_info, push_auto_units_conversion, push_but_factor, push_but_term, push_constant_factors, push_constant_terms, push_dependent_factors, push_dependent_terms, push_gcd_then_cofactors, push_independent_factors, push_independent_terms, push_make_proper, push_nonconstant_factors, push_nonconstant_terms, push_nonnumeric_factors, push_poly_qr, push_reciprocal, push_standardize, replace_top_with_post_simplified, replace_top2_with_pow, replace_top2_with_sum, did_push_anti_deriv, did_push_series, push_1st_derivative, push_comdenom, push_csolve, push_czeros, push_def_int, push_denominator, push_desolve, push_expand, push_extended_prod, push_factor, push_floor, push_im, push_lim, push_max, push_min, push_nsolve, push_numerator, push_phase, push_re, push_sin2, push_solve, push_sqrt, push_summation, push_zeros, did_push_to_polar, push_equals, push_exponentiate, push_greater_than, push_greater_than_or_equals, push_less_than, push_less_than_or_equals, push_negate, push_not_equals, push_product, push_sum, push_to_cylin, push_to_sphere