fadd Function (ROM Call 0xB6*)

timath.h

float fadd (float x, float y);

Floating point addition.

fadd returns the sum 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, fadd is exactly the same routine as bcdadd.


Uses: _bcd_math
Used by: bcdadd, hypot