This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author rhettinger
Recipients Ramchandra Apte, ezio.melotti, georg.brandl, neologix, pitrou, r.david.murray, reingart, rhettinger, terry.reedy
Date 2012-11-01.05:18:26
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1351747106.84.0.569229338695.issue16344@psf.upfronthosting.co.za>
In-reply-to
Content
The text is now correct and matches the spec:  http://speleotrove.com/decimal/daops.html#refremnear

The doctests should be expanded to show all of the examples listed in that document:

  remainder-near(’2.1’, ’3’)    ==>  ’-0.9’
  remainder-near(’10’, ’6’)     ==>  ’-2’
  remainder-near(’10’, ’3’)     ==>  ’1’
  remainder-near(’-10’, ’3’)    ==>  ’-1’
  remainder-near(’10.2’, ’1’)   ==>  ’0.2’
  remainder-near(’10’, ’0.3’)   ==>  ’0.1’
  remainder-near(’3.6’, ’1.3’)  ==>  ’-0.3’
History
Date User Action Args
2012-11-01 05:18:26rhettingersetrecipients: + rhettinger, georg.brandl, terry.reedy, pitrou, ezio.melotti, r.david.murray, neologix, Ramchandra Apte, reingart
2012-11-01 05:18:26rhettingersetmessageid: <1351747106.84.0.569229338695.issue16344@psf.upfronthosting.co.za>
2012-11-01 05:18:26rhettingerlinkissue16344 messages
2012-11-01 05:18:26rhettingercreate