Message162757
I can see why it is seems strange that // and % behave differently.
If anything, I'd change divint to raise for things like inf // 3.
But the official test cases don't:
dvix601 divideint -Inf -1000 -> Infinity
remx701 remainder -Inf -1000 -> NaN Invalid_operation
Since decimal follows the specification (and the test cases), we can't
change that. So I'm closing the issue. |
|
Date |
User |
Action |
Args |
2012-06-14 07:50:39 | skrah | set | recipients:
+ skrah, Ken.Cheung |
2012-06-14 07:50:39 | skrah | set | messageid: <1339660239.88.0.264332247676.issue15057@psf.upfronthosting.co.za> |
2012-06-14 07:50:18 | skrah | link | issue15057 messages |
2012-06-14 07:50:18 | skrah | create | |
|