Message226138
According to IEEE 754-2008 binary floats should use the same exceptions
in this case.
7.2 Invalid operation
...
e) division: division(0, 0) or division(∞, ∞)
7.3 Division by zero
The divideByZero exception shall be signaled if and only if an
exact infinite result is defined for an operation on finite
operands.
But the Python binary float implementation is a lot older than the 2008
standard. |
|
Date |
User |
Action |
Args |
2014-08-30 11:19:28 | skrah | set | recipients:
+ skrah, rhettinger, facundobatista, mark.dickinson, akima |
2014-08-30 11:19:28 | skrah | set | messageid: <1409397568.18.0.366597733586.issue22306@psf.upfronthosting.co.za> |
2014-08-30 11:19:28 | skrah | link | issue22306 messages |
2014-08-30 11:19:28 | skrah | create | |
|