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 steven.daprano
Recipients mark.dickinson, rhettinger, steven.daprano
Date 2009-01-02.13:05:34
SpamBayes Score 0.005891213
Marked as misclassified No
Message-id <1230901536.27.0.461506578557.issue4796@psf.upfronthosting.co.za>
In-reply-to
Content
Mark suggested the following strategy for Decimal.from_float: "always 
use the largest exponent possible".

Just for the avoidance of all doubt, do you mean the largest exponent 
with the number normalised to one digit to the right of the decimal 
place? Because 1e1 = 0.1e2 = 0.01e3 = ... and there is no "largest 
exponent possible" if you allow unnormalised numbers. Seems obvious to 
me, but maybe I'm missing something.
History
Date User Action Args
2009-01-02 13:05:36steven.dapranosetrecipients: + steven.daprano, rhettinger, mark.dickinson
2009-01-02 13:05:36steven.dapranosetmessageid: <1230901536.27.0.461506578557.issue4796@psf.upfronthosting.co.za>
2009-01-02 13:05:35steven.dapranolinkissue4796 messages
2009-01-02 13:05:34steven.dapranocreate