Back to index

python3.2  3.2.2
Public Member Functions
decimal.DivisionUndefined Class Reference
Inheritance diagram for decimal.DivisionUndefined:
Inheritance graph
Collaboration diagram for decimal.DivisionUndefined:
Collaboration graph

List of all members.

Public Member Functions

def handle

Detailed Description

Undefined result of division.

This occurs and signals invalid-operation if division by zero was
attempted (during a divide-integer, divide, or remainder operation), and
the dividend is also zero.  The result is [0,qNaN].

Definition at line 260 of file

Member Function Documentation

def decimal.DivisionUndefined.handle (   self,

Reimplemented from decimal.InvalidOperation.

Definition at line 268 of file

00269     def handle(self, context, *args):
00270         return _NaN

Here is the caller graph for this function:

The documentation for this class was generated from the following file: