 |
fdiv |
Function (ROM Call 0xB9*) |
Floating point division.
fdiv returns the quotient 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, fdiv is exactly the same routine as
bcddiv.
Note: fdiv returns infinite result
if the argument is zero (signed or unsigned), or in a case of overflow.
Also, it returns NAN if both arguments are zeros
or infinities.
See ZERO, UNSIGNED_ZERO,
POSITIVE_ZERO, NEGATIVE_ZERO,
UNSIGNED_INF, POSITIVE_INF and
NEGATIVE_INF for more details.
Uses: _bcd_math
Used by: bcddiv