DivUF16

Computes the quotient of a 16.16 division.

Synopsis

ufrac16 DivUF16( ufrac16 d1, ufrac16 d2 )

Description

This function divides one unsigned 16.16 fraction by another and returns the quotient. This function returns a correct 16.16 result if the arguments are uint32 or ufrac30, as long as both arguments, d1 and d2, are the same type.

Arguments

d1
The dividend.
d2
The divisor.

Return Value

The function returns the quotient of the division.

Implementation

Folio call implemented in operamath V20.

Associated Files

operamath.h, operamath.lib

Caveats

The function does not detect overflows.

See Also

DivRemSF16(), DivRemS32(), DivRemU32(), DivSF16(), DivRemUF16(), DivU64(), DivS64()