Message305879
> I don't know whether there is a common enough need in third-party code.
Me neither. But one thing to look for would be people doing `round(a / b)`, which is almost certainly giving the wrong result in corner cases. OTOH, even those uses may well be in code that doesn't actually care about getting the wrong result in those corner cases, or that doesn't exercise the corner cases. (E.g., if both `a` and `b` are not-too-large integers, `round(a / b)` is still "safe" in that it will give the same result as if a non-lossy integer division is used.) |
|
Date |
User |
Action |
Args |
2017-11-08 16:37:53 | mark.dickinson | set | recipients:
+ mark.dickinson, rhettinger, facundobatista, belopolsky, stutzbach, skrah, serhiy.storchaka, wolma |
2017-11-08 16:37:53 | mark.dickinson | set | messageid: <1510159073.54.0.213398074469.issue31978@psf.upfronthosting.co.za> |
2017-11-08 16:37:53 | mark.dickinson | link | issue31978 messages |
2017-11-08 16:37:53 | mark.dickinson | create | |
|