 |
estack_number_to_Float |
Function (ROM Call 0x2F9*) |
Converts entry on the expression stack to floating point number.
estack_number_to_Float converts an entry on the expression stack pointed to by
ptr (it needs to point to the entry tag) to a floating point value
and returns the result. Note that the entry need not be represented by
FLOAT_TAG: it also may be represented by an integer, or
by a fraction. This function does not remove the entry from the stack.
Note: estack_number_to_Float will throw an error if the entry on the stack is not
a floating point number, a fraction or an integer, so you will need to use
ER_catch to catch eventual errors.
Uses: min_quantum, round14, estack_to_float, _bcd_math
Used by: compare_complex_magnitudes, push_round_Float, did_push_anti_deriv, did_push_series, push_1st_derivative, push_comb, push_comdenom, push_csolve, push_czeros, push_def_int, push_denominator, push_desolve, push_exp, push_expand, push_factor, push_floor, push_im, push_integer_lcm, push_is_prime, push_lim, push_max, push_min, push_mod, push_nsolve, push_nth_derivative, push_numerator, push_phase, push_rand, push_re, push_sin2, push_solve, push_tan, push_zeros, did_push_to_polar, push_equals, push_exponentiate, push_greater_than, push_greater_than_or_equals, push_less_than, push_less_than_or_equals, push_negate, push_not_equals, push_product, push_ratio, push_sum, push_to_cylin, push_to_sphere, atof, add_to_top, are_units_consistent, compare_numbers, divide_top, get_ub, index_if_pushed_qquad_info, push_auto_units_conversion, push_but_factor, push_but_term, push_constant_factors, push_constant_terms, push_dependent_factors, push_dependent_terms, push_div_dif_1c, 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_prod, replace_top2_with_ratio, replace_top2_with_sum, times_top