Your IP : 18.191.84.179
�
�Q�f�w �
� � d Z g d�ZeZdZdZdZddlZddlZ ddl
Z
ddlmZ
e
dd d�
� ZdZd
ZdZdZdZdZdZdZdZdZe
j4 dk( rdZdZdZndZdZdZeedz
z
Z G d� de� Z G d� de � Z! G d� d e � Z" G d!� d"e"� Z# G d#� d$e e$� Z% G d%� d&e"� Z& G d'� d(e"e$� Z' G d)� d*e � Z( G d+� d,e"� Z) G d-� d.e � Z* G d/� d0e � Z+ G d1� d2e(e*� Z, G d3� d4e(e*e+� Z- G d5� d6e e.� Z/e!e%e(e,e*e-e"e+e/g Z0e#e"e&e"e'e"e)e"iZ1eeeeeeeefZ2ddl3Z3 e3jh d7� Z5 e6g d8�� Z7d9� Z8d:� Z9[3dtd;�Z: G d<� d=e;� Z<dud>�Z=e j| j e<� G d?� d@e;� Z@ G dA� dBe;� ZA G dC� dDe;� ZBdvdE�ZCeDj� ZFdF� ZGdG� ZHdH� ZIdI� ZJdwdJ�ZKdK� ZLdL� ZM G dM� dNe;� ZN eN� j� ZPdwdO�ZQdP� ZRdQ� ZSdRdSdTdUdVdWdXdYdZd[� fd\�ZTdxd]�ZUdud^�ZV eAd_ee%e,e"gg d`dadd�b� ZW eAdcee%e,e"e!e-gg �d� ZX eAdceg g �d� ZYddlZZZ eZj� deeZj� eZj� z � j� Z_ eZj� df� j� Z` eZj� dg� j� Za eZj� dheZj� eZj� z � Zc[Z ddldZedtdi�Zfdj� Zgdk� Zhdydl�Zidm� Zjdn� Zk e<do� Zl e<dp� Zm e<dq� Zn e<d� Zo e<d� Zp e<dr� ZqelemfZre
j� j� Zue
j� j� Zwe
j� j� Zy ezdYeudsz
eu� Z{[
y# e$ r d� ZY ��Dw xY w# e$ r Y ��w xY w)zz Python decimal arithmetic module)%�Decimal�Context�DecimalTuple�DefaultContext�BasicContext�ExtendedContext�DecimalException�Clamped�InvalidOperation�DivisionByZero�Inexact�Rounded� Subnormal�Overflow� Underflow�FloatOperation�DivisionImpossible�InvalidContext�ConversionSyntax�DivisionUndefined�
ROUND_DOWN�
ROUND_HALF_UP�ROUND_HALF_EVEN�
ROUND_CEILING�ROUND_FLOOR�ROUND_UP�ROUND_HALF_DOWN�
ROUND_05UP�
setcontext�
getcontext�localcontext�MAX_PREC�MAX_EMAX�MIN_EMIN� MIN_ETINY�HAVE_THREADS�HAVE_CONTEXTVAR�decimalz1.70z2.4.2� N)�
namedtupler zsign digits exponent)�modulec � � | S �N� )�argss �1/opt/alt/python312/lib64/python3.12/_pydecimal.py�<lambda>r0 C s � �� r r r r r r r r Tl ���� l ��N�Zol������N�Zoi@�Ti���� c � � e Zd ZdZd� Zy)r a1 Base exception class.
Used exceptions derive from this.
If an exception derives from another exception besides this (such as
Underflow (Inexact, Rounded, Subnormal) that indicates that it is only
called if the others are present. This isn't actually used for
anything, though.
handle -- Called when context._raise_error is called and the
trap_enabler is not set. First argument is self, second is the
context. More arguments can be given, those being after
the explanation in _raise_error (For example,
context._raise_error(NewError, '(-x)!', self._sign) would
call NewError().handle(context, self._sign).)
To define a new exception, it should be sufficient to have it derive
from DecimalException.
c � � y r, r- ��self�contextr. s r/ �handlezDecimalException.handler s � �r1 N��__name__�
__module__�__qualname__�__doc__r8 r- r1 r/ r r _ s � ��$
r1 r c � � e Zd ZdZy)r a) 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").
N�r: r; r<