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:
parent
568ac9197c
commit
780ec3787e
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue