| fpisanint | Function (ROM Call 0x172)

timath.h

short fpisanint (unsigned long long *mantissa, unsigned short exponent);

Checks whether the floating point number is reducable to an integer.

fpisanint is an internal TIOS subroutine used in pow. It checks whether the floating point with the exponent exponent and the mantissa pointed to by mantissa is reducable to an integer. Returns TRUE or FALSE, depending on the test.
Note: long long is not a typing error: it is a GNU C extension for representing very long integers (8-byte integers in this implementation).

Used by: ceil, floor, cmd_randseed, push_rand, push_randmat, push_randnorm, push_randpoly, push_round, GR3_handleEvent