Message290987
See also Decimal.remainder_near and _PyLong_DivmodNear. Shouldn't the new function be named math.remainder_near?
In many cases the function that returns the nearest integer quotient is useful. See Fraction.__round__, datetime._divide_and_round, _pydecimal._div_nearest, etc. |
|
Date |
User |
Action |
Args |
2017-04-01 15:08:42 | serhiy.storchaka | set | recipients:
+ serhiy.storchaka, mark.dickinson |
2017-04-01 15:08:42 | serhiy.storchaka | set | messageid: <1491059322.03.0.113746946849.issue29962@psf.upfronthosting.co.za> |
2017-04-01 15:08:42 | serhiy.storchaka | link | issue29962 messages |
2017-04-01 15:08:41 | serhiy.storchaka | create | |
|