fmul Function (ROM Call 0xB8*)

timath.h

float fmul (float x, float y);

Floating point multiplication.

fmul returns the product 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, fmul is exactly the same routine as bcdmul.

Note: fmul returns infinite result in a case of overflow. See UNSIGNED_INF, POSITIVE_INF and NEGATIVE_INF for more details.


Uses: _bcd_math
Used by: bcdmul, hypot