DivSF16

Computes the quotient of a 16.16 division.

Synopsis

frac16 DivSF16( frac16 d1, frac16 d2 )

Description

This function divides one 16.16 fraction by another and returns the quotient.

This function also returns a correct result if the arguments are int32 or frac30, as long as both 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

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