Message174390
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’ |
|
| Date |
User |
Action |
Args |
| 2012-11-01 05:18:26 | rhettinger | set | recipients:
+ rhettinger, georg.brandl, terry.reedy, pitrou, ezio.melotti, r.david.murray, neologix, Ramchandra Apte, reingart |
| 2012-11-01 05:18:26 | rhettinger | set | messageid: <[email protected]> |
| 2012-11-01 05:18:26 | rhettinger | link | issue16344 messages |
| 2012-11-01 05:18:26 | rhettinger | create | |
|