general continued fractions