Fraction representation and operations