Back to index

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

List of all members.

Public Member Functions

def handle

Detailed Description

Exponent of a 0 changed to fit bounds.

This occurs and signals clamped if the exponent of a result has been
altered in order to fit the constraints of a specific concrete
representation.  This may occur when the exponent of a zero result would
be outside the bounds of a representation, or when a large normal
number would have an encoded exponent that cannot be represented.  In
this latter case, the exponent is reduced to fit and the corresponding
number of zero digits are appended to the coefficient ("fold-down").

Definition at line 182 of file

Member Function Documentation

def decimal.DecimalException.handle (   self,
) [inherited]

Reimplemented in decimal.InvalidContext, decimal.DivisionUndefined, decimal.DivisionImpossible, decimal.ConversionSyntax, and decimal.InvalidOperation.

Definition at line 178 of file

00179     def handle(self, context, *args):
00180         pass

Here is the caller graph for this function:

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