likely_approx_to_number Function (ROM Call 0x308)

AMS 1.01 or higher estack.h

short likely_approx_to_number (CESI ptr);

Checks is it likely that an expression can be approxed to a real number.

If likely_approx_to_number returned TRUE, it is sure that the expression pointed to by ptr can be approxed to a real number, but returning FALSE does not mean that the approximation is not possible: it only means that the approximation to a number is not obvious. For example, it is obvious that expression 'ln(2+sin(1))/5' can be approxed to a number, but this is not so obvious for expression 'x^2+1-x*x', because it contains a symbolic variable name. See can_be_approxed for a more detailed investigation of possibility of approximation.


Uses: next_expression_index, primary_tag_list
Used by: likely_approx_to_complex_number, should_and_did_push_approx_arg2, did_push_anti_deriv, did_push_series, push_1st_derivative, push_acosh, push_asin, push_atanh, push_comb, push_comdenom, push_csolve, push_czeros, push_def_int, push_denominator, push_desolve, push_determinant, push_exp, push_expand, push_extended_prod, push_factor, push_floor, push_im, push_lim, push_ln, push_max, push_min, push_mod, push_nint, push_nsolve, push_numerator, push_perm, push_phase, push_re, push_red_row_ech, push_row_echelon, push_rownorm, push_sign, push_simult, push_sin2, push_solve, push_summation, push_zeros, did_push_to_polar, push_equals, push_exponentiate, push_factorial, 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, add_to_top, are_units_consistent, did_push_approx_inflection_point, get_ub, index_if_pushed_qquad_info, is_negative, is_never0, is_nonnegative, is_nonpositive, is_positive, is_real, 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_lu_fact, push_make_proper, push_nonconstant_factors, push_nonconstant_terms, push_nonnumeric_factors, push_poly_qr, push_reciprocal, push_sq_matrix_to_whole_number, push_standardize, raise_to_top, replace_top_with_post_simplified, replace_top2_with_pow, replace_top2_with_sum, ROM Call 0x606