Fractional arithmetic