util_fraction_add
function util_fraction_add(a_n:Number, a_d:Number, b_n:Number, b_d:Number):Boolean { // Gjs wrapper for gst_util_fraction_add() }
Adds the fractions a_n/a_d and b_n/b_d and stores the result in res_n and res_d.
- 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
false on overflow, true otherwise.