fdiv Function (ROM Call 0xB9*)

timath.h

float fdiv (float x, float y);

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 for backwards compatibility. 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