[issue15057] Potential Bug in mpd_qdivint and mpd_qrem

2012-06-14 Thread Stefan Krah

Stefan Krah stefan-use...@bytereef.org added the comment:

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.

--
resolution:  - invalid
stage:  - committed/rejected
status: open - closed

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue15057
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue15057] Potential Bug in mpd_qdivint and mpd_qrem

2012-06-13 Thread Ken Cheung

Changes by Ken Cheung msrbugzi...@gmail.com:


--
title: Potential Bugs in mpd_qdivint and mpd_qrem - Potential Bug in 
mpd_qdivint and mpd_qrem

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue15057
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue15057] Potential Bug in mpd_qdivint and mpd_qrem

2012-06-13 Thread Ned Deily

Changes by Ned Deily n...@acm.org:


--
nosy: +skrah

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue15057
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com