utilFractionMultiply

fnbool 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

aNNumerator of first value
aDDenominator of first value
bNNumerator of second value
bDDenominator of second value
resNPointer to #gint to hold the result numerator
resDPointer to #gint to hold the result denominator

Returns

false on overflow, true otherwise.