util_fraction_compare

function util_fraction_compare(a_n:Number, a_d:Number, b_n:Number, b_d:Number):Number {
    // Gjs wrapper for gst_util_fraction_compare()
}

Compares the fractions a_n/a_d and b_n/b_d and returns -1 if a < b, 0 if a = b and 1 if a > b.

a_n

Numerator of first value

a_d

Denominator of first value

b_n

Numerator of second value

b_d

Denominator of second value

Returns

-1 if a < b; 0 if a = b; 1 if a > b.