| fsub | Function (ROM Call 0xB7*)

timath.h

float fsub (float x, float y);

Floating point substraction.

fsub returns the difference of floating point arguments x and y. This routine performs the same operation as the C `'-'` operator applied to floating point operands, but it is kept here to allow compatibility with older programs created before TIGCC introduced floating point operators (i.e. before release 0.9 of TIGCC). At the fundamental level, fsub is exactly the same routine as bcdsub.

Uses: _bcd_math
Used by: bcdsub