Message78846
> 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:26 | mark.dickinson | set | recipients:
+ mark.dickinson, rhettinger, steven.daprano |
2009-01-02 17:28:26 | mark.dickinson | set | messageid: <1230917306.67.0.0793953943984.issue4796@psf.upfronthosting.co.za> |
2009-01-02 17:28:25 | mark.dickinson | link | issue4796 messages |
2009-01-02 17:28:25 | mark.dickinson | create | |
|