generalized continued fractions