fixed demoFromContinuedFraction