| fpisodd | Function (ROM Call 0x173)

timath.h

short fpisodd (const unsigned long long *mantissa, unsigned short exponent);

Checks whether the integer part of a floating point number is an odd number.

fpisodd is an internal TIOS subroutine used in pow. It checks whether the integer part of the floating point with the exponent exponent and the mantissa pointed to by mantissa is an odd number. Returns TRUE or FALSE, depending on the test. Also returns TRUE if the integer part is zero, although zero is not an odd number.
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).