Update the list of exceptional conditions to match version 1.45 of the

spec and to match the actual Python implementation of the decimal module.
This commit is contained in:
Raymond Hettinger 2005-06-27 19:50:05 +00:00
parent 568ac9197c
commit 780ec3787e
1 changed files with 0 additions and 4 deletions

View File

@ -307,12 +307,8 @@ result. For details, see the specification [2]_.
Condition Signal Result
==================== ================= ===================================
Clamped clamped see spec [2]_
Conversion syntax invalid-operation [0,qNaN]
Division by zero division-by-zero [sign,inf]
Division impossible invalid-operation [0,qNaN]
Division undefined invalid-operation [0,qNaN]
Inexact inexact unchanged
Invalid context invalid-operation [0,qNaN]
Invalid operation invalid-operation [0,qNaN] (or [s,qNaN] or [s,qNaN,d]
when the cause is a signaling NaN)
Overflow overflow depends on the rounding mode