This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author gvanrossum
Recipients christian.heimes, gvanrossum, nascheme, noam, rhettinger, tim.peters
Date 2007-12-12.00:06:46
SpamBayes Score 0.077984124
Marked as misclassified No
Message-id <>
In-reply-to <>
> If I were in that situation I would prefer to store the binary
> representation. But if someone really needs to store decimal floats,
> we can add a method "fast_repr" which always calculates 17 decimal
> digits.

They can just use "%.17g" % x

> Decimal to binary conversion, in any case, shouldn't be slower than it
> is now, since on Gnu it is done anyway, and I don't think that our
> implementation should be much slower.

Date User Action Args
2007-12-12 00:06:46gvanrossumsetspambayes_score: 0.0779841 -> 0.077984124
recipients: + gvanrossum, tim.peters, nascheme, rhettinger, christian.heimes, noam
2007-12-12 00:06:46gvanrossumlinkissue1580 messages
2007-12-12 00:06:46gvanrossumcreate