is_negative Function (ROM Call 0x575)

AMS 2.02 or higher estack.h

short is_negative (CESI ptr);

Tests if an expression is less than 0.

Returns TRUE if the expression pointed to by ptr is known to be negative, FALSE otherwise.


Uses: are_expressions_identical, is_never0, is_nonnegative, is_nonpositive, is_positive, lead_factor_index, likely_approx_to_number, next_expression_index, push_internal_simplify, push_quantum, remaining_factors_index, top_estack, push_approx, push_difference, push_negate, add_to_top, estack_to_float, get_lb, get_ub, Integer1Index, IntegerMinus1Index, is_variable, lead_conjunct_factor_index, NG_control, NG_such_that_index, primary_tag_list, push_but_factor, push_pi_on_quantum, remaining_conjuncts_index, times_top, _bcd_math, ROM Call 0x4DF, ROM Call 0x4ED
Used by: is_never0, is_positive, cmd_endfor, cmd_for, did_push_anti_deriv, push_1st_derivative, push_atan, push_comb, push_csolve, push_czeros, push_def_int, push_desolve, push_extended_prod, push_factor, push_lim, push_ln, push_max, push_min, push_mod, push_nsolve, push_phase, push_rotate, push_sequence, push_shift, push_sin2, push_solve, push_summation, 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, get_ub, push_reciprocal, ROM Call 0x48D, ROM Call 0x4C6, ROM Call 0x4C7, ROM Call 0x4D1, ROM Call 0x606


See also: is_nonnegative, is_positive, is_nonpositive