CompareUF32

Compares two unsigned 32.32-format fractions.

Synopsis

int32 CompareUF32( ufrac32 *s1, ufrac32 *s2 )

Description

This function compares two unsigned 32.32-format fractions. This function is actually the same function as CompareU64() and CompareUF60().

Arguments

s1, s2 Pointers to unsigned 32.32 fractions.

Return Value

The function returns 1 if s1 > s2, zero if s1 == s2, or -1 if s1 < s2.

Implementation

Folio call implemented in operamath V20.

Associated Files

operamath.h, operamath.lib

See Also

CompareS64(), CompareSF32(), CompareU64(), CompareUF60(), CompareSF60()