Message333550
This can cause a loss of precision for Decimal.
If we want to support other numerical types with loss in double rounding, the most reliable way is to represent them as fractions (x.as_integer_ratio() or (x.numerator, x.denominator)) and use precise integer arithmetic. |
|
Date |
User |
Action |
Args |
2019-01-13 08:52:31 | serhiy.storchaka | set | recipients:
+ serhiy.storchaka, ncoghlan, vstinner, jdemeyer, remi.lapeyre, AVINASH MISHRA |
2019-01-13 08:52:30 | serhiy.storchaka | set | messageid: <1547369550.82.0.297480466852.issue35707@roundup.psfhosted.org> |
2019-01-13 08:52:30 | serhiy.storchaka | link | issue35707 messages |
2019-01-13 08:52:30 | serhiy.storchaka | create | |
|