[Python-Dev] Mixing float and Decimal -- thread reboot
Pierre B.
pierrebai at hotmail.com
Mon Mar 22 21:14:28 CET 2010
Pierre B. <pierrebai <at> hotmail.com> writes:
>
> 4. Since the repeating pattern is present at least twice at the end,
> one can augment the precision of the conversion by detecting the
> repetition and adding more. This detection is trivial.
Wrong of me. This point is acutally invalid, since it is impossible to
generally differentiate where the pattern ends. The counter example is:
0.177177177177... vs 0.177.17777777...
More information about the Python-Dev
mailing list