Message78789
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. |
|
Date |
User |
Action |
Args |
2009-01-02 13:05:36 | steven.daprano | set | recipients:
+ steven.daprano, rhettinger, mark.dickinson |
2009-01-02 13:05:36 | steven.daprano | set | messageid: <1230901536.27.0.461506578557.issue4796@psf.upfronthosting.co.za> |
2009-01-02 13:05:35 | steven.daprano | link | issue4796 messages |
2009-01-02 13:05:34 | steven.daprano | create | |
|