signum_Float Function (ROM Call 0x312)

AMS 1.01 or higher estack.h

long signum_Float (CESI ptr);

Finds the signum of a floating point entry.

signum_Float finds the signum of the floating point entry pointed to by ptr (i.e. returns 1 if the entry is positive, -1 if it is negative, 0 if it is zero). If the entry is not a floating point number, the result is garbage.


Uses: estack_to_float, _bcd_math
Used by: push_ln, push_log10, compare_numbers, is_neg_lead_numr_coef_re_part, ROM Call 0x4DF, ROM Call 0x4E0, ROM Call 0x4E1, ROM Call 0x4E2