Author serhiy.storchaka
Recipients mark.dickinson, serhiy.storchaka
Date 2017-04-01.15:08:41
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1491059322.03.0.113746946849.issue29962@psf.upfronthosting.co.za>
In-reply-to
Content
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.
History
Date User Action Args
2017-04-01 15:08:42serhiy.storchakasetrecipients: + serhiy.storchaka, mark.dickinson
2017-04-01 15:08:42serhiy.storchakasetmessageid: <1491059322.03.0.113746946849.issue29962@psf.upfronthosting.co.za>
2017-04-01 15:08:42serhiy.storchakalinkissue29962 messages
2017-04-01 15:08:41serhiy.storchakacreate