utilFractionMultiply
fn
bool utilFractionMultiply(int aN, int aD, int bN, int bD, out int resN, out int resD)Multiplies the fractions a_n/a_d and b_n/b_d and stores the result in res_n and res_d.
Parameters
aN | Numerator of first value |
aD | Denominator of first value |
bN | Numerator of second value |
bD | Denominator of second value |
resN | Pointer to #gint to hold the result numerator |
resD | Pointer to #gint to hold the result denominator |
Returns
false on overflow, true otherwise.