CompareSF60

Compares two signed 4.60-format fractions.

Synopsis

int32 CompareSF60( frac60 *s1, frac60 *s2 )

Description

This function compares two signed 4.60-format fractions. This function is actually the same function as CompareS64() and CompareSF32().

Arguments

s1, s2 Pointers to signed 4.60 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(), CompareU64(), CompareUF32(), CompareUF60(), CompareSF32()