Searched refs:denom (Results 1 – 1 of 1) sorted by relevance
502 int sum, denom; in fraction_add() local508 denom = src1->denominator; in fraction_add()509 dst->integer = src1->integer + src2->integer + sum / denom; in fraction_add()510 dst->numerator = sum % denom; in fraction_add()511 dst->denominator = denom; in fraction_add()