ipi as continued fraction