negate_top Function (ROM Call 0x525)

AMS 2.02 or higher estack.h

void negate_top (void);

Negates the top of the estack.

negate_top changes the sign of the expression on the top of the estack.


Uses: FloatMinus1Index, IntegerMinus1Index, times_top
Used by: did_push_anti_deriv, push_1st_derivative, push_asin, push_asinh, push_atan, push_atanh, push_ceiling, push_conj, push_cross_product, push_csolve, push_czeros, push_def_int, push_desolve, push_expand, push_extended_prod, push_factor, push_integer_part, push_integer_remainder, push_lim, push_max, push_min, push_mod, push_nsolve, push_rec_to_angle, push_sin2, push_sinh, push_solve, push_stddev, push_summation, push_tan, push_tanh, push_variance, push_zeros, push_degrees, 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, get_ub, push_gcd_then_cofactors, push_lu_fact, push_poly_qr, push_reciprocal, push_standardize, push_symbolic_qr_fact, replace_top_with_post_simplified, replace_top2_with_difference, ROM Call 0x4C6, ROM Call 0x4C7


See also: add_to_top, subtract_from_top, and_onto_top