is_Float_exact_whole_number Function (ROM Call 0x2FE)

AMS 1.01 or higher estack.h

short is_Float_exact_whole_number (CESI ptr);

Checks whether a floating point entry is an exact whole number.

is_Float_exact_whole_number returns TRUE if the floating point entry pointed to by ptr is an exact whole number whose magnitude is less than the smallest whole number that is not represented exactly (1e15), otherwise it returns FALSE.


Uses: fabs, fmod, estack_to_float, _bcd_math
Used by: push_gcd_numbers