 |
is_complex_number |
Function (ROM Call 0x2D2) |
Checks whether an expression is a number.
is_complex_number returns TRUE if the expression (in RPN form,
of course) pointed to by ptr is a "number" (integer, rational, floating point, or
complex, but not irrational), otherwise it returns FALSE.
Note that 'sqrt(2)'
is not a "number" in this convention.
A complex number is a "number" if both real and imaginary parts are "numbers" in a sense
of the convention given above.
Note: The information about this routine in releases of TIGCCLIB before 2.3 was wrong.
Uses: next_expression_index, primary_tag_list
Used by: did_push_anti_deriv, push_1st_derivative, push_csolve, push_czeros, push_def_int, push_desolve, push_lim, push_max, push_min, push_nsolve, push_solve, push_zeros, push_equals, push_greater_than, push_greater_than_or_equals, push_less_than, push_less_than_or_equals, push_not_equals, push_ratio, divide_top, get_ub, replace_top2_with_ratio
See also: likely_approx_to_number