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 mark.dickinson
Recipients mark.dickinson, rhettinger, steven.daprano
Date 2009-01-02.17:28:25
SpamBayes Score 0.0121462
Marked as misclassified No
Message-id <>
> It looks like you and Raymond have rejected #2 but are keeping #1

I'm not against #2, but I'm not particularly for it either.  In any case, 
once you've converted your float to Decimal it's trivial to round it to 
whatever precision you feel like, so #2 seems unnecessary to me.  -0.0.

I am -1.100000000000000088817841970012523233890533447265625 on any 
implementation of from_float (with or without keywords, defaults, etc.) 
for which Decimal.from_float(1.1) gives Decimal('1.1').
Date User Action Args
2009-01-02 17:28:26mark.dickinsonsetrecipients: + mark.dickinson, rhettinger, steven.daprano
2009-01-02 17:28:26mark.dickinsonsetmessageid: <>
2009-01-02 17:28:25mark.dickinsonlinkissue4796 messages
2009-01-02 17:28:25mark.dickinsoncreate