FractionUtils

createFraction createFraction(uint256 numerator, uint256 denominator) → struct FractionUtils.Fraction internal

createFraction createFraction(uint256 value) → struct FractionUtils.Fraction internal

reduceFraction reduceFraction(struct FractionUtils.Fraction fraction) internal

multiplyFraction multiplyFraction(struct FractionUtils.Fraction a, struct FractionUtils.Fraction b) → struct FractionUtils.Fraction internal

gcd gcd(uint256 a, uint256 b) → uint256 internal

swap swap(uint256 a, uint256 b) → uint256, uint256 internal