continued fraction support, added x2contfrac and contfrac2x