is_whole_number Function (ROM Call 0x50B)

AMS 2.02 or higher estack.h

short is_whole_number (CESI ptr);

Tests if an expression is a whole number.

Returns TRUE if the expression pointed to by ptr is a whole number (it can be a floating-point value).


Uses: fmod, estack_to_float, primary_tag_list, _bcd_math
Used by: estack_to_short, estack_to_ushort, integer_non_unknown, main_gen_var_index, did_push_anti_deriv, did_push_series, push_1st_derivative, push_abs, push_acosh, push_asin, push_asinh, push_atan, push_atanh, push_char, push_comb, push_comdenom, push_conj, 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_ln, push_max, push_min, push_nsolve, push_numerator, push_perm, push_phase, push_rand, push_re, push_sign, push_sin2, push_solve, push_summation, push_zeros, did_push_to_polar, push_dot_exponentiate, 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, get_ub, index_if_pushed_binomial_info, index_if_pushed_qquad_info, is_polynomial_in_var_or_kern, 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_make_proper, push_nonconstant_factors, push_nonconstant_terms, push_nonnumeric_factors, push_poly_qr, push_reciprocal, push_standardize, raise_to_top, replace_top_with_post_simplified, replace_top2_with_pow, replace_top2_with_sum