grthtrhthjhtyjytjytkergtrhtrjytjerhrfh4:24 29/09/2026+ oŸ9ázãó€Rt.RNRNRNRNRNRNRNRNR NR NR NR NR NRNRNRNRNRNRNRNRNRNRNRNRNRNRNRNRNRNRNR NR!NR"NR#NR$NR%NR&NR'Nt]tR(tR)tR*t^R+It^R+It ^R+I t ^R,I H t ] !RR-R(R.7tRtRtRtRtRtRtRtRtR0tR0t] P4Rx8Xd R1tR1tRytR2tMR3tR3tRztR4t]]^, , t!R5R] 4t!!R6R]!4t"!R7R ]!4t#!R8R]#4t$!R9R ]!]%4t&!R:R]#4t'!R;R]#]%4t(!R<R ]!4t)!R=R]#4t*!R>R ]!4t+!R?R ]!4t,!R@R])]+4t-!RAR])]+],4t.!RBR]!]/4t0]"]&])]-]+].]#],]0. t1]$]#]']#](]#]*]#/t2]]]]]]]]3t3^R+I4t4]4Pj!RC4t6]7!.R{O4t8RDt9REt:A4R|RFlt;RGt<!RHR]=4t>R}RIlt?] P€Pƒ]>4!RJRK]=4tB!RLR]=4tC!RMRN]=4tDR~ROltE]FPŽtHRPtIRQtJRRtKRStLRRTltMRUtNRVtO!RWRX]=4tP]P!4P¢tRRRYltSRZtTR[tUR\^dR]^FR^^5R_^(R`^Ra^Rb^Rc^ Rd^/ 3ReltVR€RfltWR}RgltX]C!^]]&]-]#..RhR�^^Ri7tY]C!^ ]]&]-]#]"]...Rj7tZ]C!^ ]..Rj7t[^R+I\t\]\Pº!Rk]\P¼]\P¾,4PÀta]\Pº!Rl4PÀtb]\Pº!Rm4PÀtc]\Pº!Rn]\P¼]\PÈ,4teA\^R+IftgR|RolthRptiRqtjR‚RrltkRstlRttm]>!Ru4tn]>!Rv4to]>!Rw4tp]>!^4tq]>!^4tr]>!Rƒ4ts]n]o3tt] PêPìtw] PêPðty] PêPôt{]|!^ ]w^, ]w4t}A R+# ]dR/tELvi;i ]dLºi;i)„z 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Ú IEEEContextÚMAX_PRECÚMAX_EMAXÚMIN_EMINÚ MIN_ETINYÚIEEE_CONTEXT_MAX_BITSÚ HAVE_THREADSÚHAVE_CONTEXTVARÚdecimalz1.70z2.4.2N)Ú namedtuplezsign digits exponent)Úmodulecó€V#©N©)Úargss*Ú1/opt/alt/python314/lib64/python3.14/_pydecimal.pyÚr1Cs€¡óTlÿÇNÎZoii@üTécó*a€]tRt^atoRtRtRtVtR#)raú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ó€R#r-r.©ÚselfÚcontextr/s&&*r0ÚhandleÚDecimalException.handlets€Ù r2r.N©Ú__name__Ú __module__Ú __qualname__Ú__firstlineno__Ú__doc__r9Ú__static_attributes__Ú__classdictcell__©Ú __classdict__s@r0rrasø‡€ñ÷$ ð r2có€]tRt^xtRtRtR#)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"). r.N©r<r=r>r?r@rAr.r2r0r r xó†õ r2có*a€]tRt^„toRtRtRtVtR#)r açAn invalid operation was performed. Various bad things cause this: Something creates a signaling NaN -INF + INF 0 * (+-)INF (+-)INF / (+-)INF x % 0 (+-)INF % x x._rescale( non-integer ) sqrt(-x) , x > 0 0 ** 0 x ** (non-integer) x ** (+-)INF An operand is invalid The result of the operation after this is a quiet positive NaN, except when the cause is a signaling NaN, in which case the result is also a quiet NaN, but with the original sign, and an optional diagnostic information. có €V'dB\V^,PV^,PRR4pVPV4#\#)éÚnT)Ú_dec_from_tripleÚ_signÚ_intÚ_fix_nanÚ_NaN)r7r8r/Úanss&&* r0r9ÚInvalidOperation.handle›s9€ß Ü" 4¨¥7§=¡=°$°qµ'·,±,ÀÀTÓJˆCØ—<‘< Ó(Ð (܈ r2r.Nr;rCs@r0r r „sø‡€ñ÷,ðr2có*a€]tRt^¡toRtRtRtVtR#)rzÌTrying to convert badly formed string. This occurs and signals invalid-operation if a string is being converted to a number and it does not conform to the numeric string syntax. The result is [0,qNaN]. có€\#r-©rPr6s&&*r0r9ÚConversionSyntax.handle¨ó€Üˆ r2r.Nr;rCs@r0rr¡sø‡€ñ÷ ðr2có*a€]tRt^«toRtRtRtVtR#)r a’Division by 0. This occurs and signals division-by-zero if division of a finite number by zero was attempted (during a divide-integer or divide operation, or a power operation with negative right-hand operand), and the dividend was not zero. The result of the operation is [sign,inf], where sign is the exclusive or of the signs of the operands for divide, or is 1 for an odd power of -0, for power. có€\V,#r-)Ú_SignedInfinity©r7r8Úsignr/s&&&*r0r9ÚDivisionByZero.handle¸s €Ü˜tÕ$Ð$r2r.Nr;rCs@r0r r «sø‡€ñ ÷%ð%r2có*a€]tRt^»toRtRtRtVtR#)rzãCannot perform the division adequately. This occurs and signals invalid-operation if the integer result of a divide-integer or remainder operation had too many digits (would be longer than precision). The result is [0,qNaN]. có€\#r-rUr6s&&*r0r9ÚDivisionImpossible.handleÃrWr2r.Nr;rCs@r0rr»óø‡€ñ÷ðr2có*a€]tRt^ÆtoRtRtRtVtR#)rzÞ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]. có€\#r-rUr6s&&*r0r9ÚDivisionUndefined.handleÎrWr2r.Nr;rCs@r0rrÆrar2có€]tRt^ÑtRtRtR#)r a‘Had to round, losing information. This occurs and signals inexact whenever the result of an operation is not exact (that is, it needed to be rounded and any discarded digits were non-zero), or if an overflow or underflow condition occurs. The result in all cases is unchanged. The inexact signal may be tested (or trapped) to determine if a given operation (or sequence of operations) was inexact. r.NrFr.r2r0r r ÑrGr2có*a€]tRt^ÝtoRtRtRtVtR#)raÐInvalid context. Unknown rounding, for example. This occurs and signals invalid-operation if an invalid context was detected during an operation. This can occur if contexts are not checked on creation and either the precision exceeds the capability of the underlying concrete representation or an unknown or unsupported rounding was specified. These aspects of the context need only be checked when the values are required to be used. The result is [0,qNaN]. có€\#r-rUr6s&&*r0r9ÚInvalidContext.handleérWr2r.Nr;rCs@r0rrÝsø‡€ñ ÷ðr2có€]tRt^ìtRtRtR#)r a½Number got rounded (not necessarily changed during rounding). This occurs and signals rounded whenever the result of an operation is rounded (that is, some zero or non-zero digits were discarded from the coefficient), or if an overflow or underflow condition occurs. The result in all cases is unchanged. The rounded signal may be tested (or trapped) to determine if a given operation (or sequence of operations) caused a loss of precision. r.NrFr.r2r0r r ìrGr2có€]tRt^øtRtRtR#)ra€Exponent < Emin before rounding. This occurs and signals subnormal whenever the result of a conversion or operation is subnormal (that is, its adjusted exponent is less than Emin, before any rounding). The result in all cases is unchanged. The subnormal signal may be tested (or trapped) to determine if a given or operation (or sequence of operations) yielded a subnormal result. r.NrFr.r2r0rrøs†õr2có*a€]tRtRtoRtRtRtVtR#)riaÚNumerical overflow. This occurs and signals overflow if the adjusted exponent of a result (from a conversion or from an operation that is not an attempt to divide by zero), after rounding, would be greater than the largest value that can be handled by the implementation (the value Emax). The result depends on the rounding mode: For round-half-up and round-half-even (and for round-half-down and round-up, if implemented), the result of the operation is [sign,inf], where sign is the sign of the intermediate result. For round-down, the result is the largest finite number that can be represented in the current precision, with the sign of the intermediate result. For round-ceiling, the result is the same as for round-down if the sign of the intermediate result is 1, or is [0,inf] otherwise. For round-floor, the result is the same as for round-down if the sign of the intermediate result is 0, or is [1,inf] otherwise. In all cases, Inexact and Rounded will also be raised. có€VP\\\\39d\ V,#V^8XdcVP\ 8Xd\ V,#\VRVP,VPVP, ^,4#V^8XdcVP\8Xd\ V,#\VRVP,VPVP, ^,4#R#)rJÚ9N) ÚroundingrrrrrZrrLÚprecÚEmaxrr[s&&&*r0r9ÚOverflow.handlesÌ€Ø × Ñ ¤ ¬Ü /´ð ;ô ;ä" 4Õ(Ð (Ø �1Œ9Ø×Ѥ=Ô0Ü& tÕ,Ð,Ü# D¨#¨g¯l©lÕ*:Ø#ŸL™L¨¯©Õ5°aÕ7ó9ð 9à �1Œ9Ø×Ѥ;Ô.Ü& tÕ,Ð,Ü# D¨#¨g¯l©lÕ*:Ø$Ÿ\™\¨'¯,©,Õ6°qÕ8ó:ð :ñ r2r.Nr;rCs@r0rrsø‡€ñ÷* :ð :r2có€]tRtRtRtRtR#)ri)aTNumerical underflow with result rounded to 0. This occurs and signals underflow if a result is inexact and the adjusted exponent of the result would be smaller (more negative) than the smallest value that can be handled by the implementation (the value Emin). That is, the result is both inexact and subnormal. The result after an underflow will be a subnormal number rounded, if necessary, so that its exponent is not less than Etiny. This may result in 0 with the sign of the intermediate result and an exponent of Etiny. In all cases, Inexact, Rounded, and Subnormal will also be raised. r.NrFr.r2r0rr)s†õ r2có€]tRtRtRtRtR#)ri8auEnable stricter semantics for mixing floats and Decimals. If the signal is not trapped (default), mixing floats and Decimals is permitted in the Decimal() constructor, context.create_decimal() and all comparison operators. Both conversion and comparisons are exact. Any occurrence of a mixed operation is silently recorded by setting FloatOperation in the context flags. Explicit conversions with Decimal.from_float() or context.create_decimal_from_float() do not set the flag. Otherwise (the signal is trapped), only equality comparisons and explicit conversions are silent. All other mixed operations raise FloatOperation. r.NrFr.r2r0rr8s†õ r2Údecimal_contextcó�€\P4# \d%\4p\P T4Tu#i;i)z­Returns this thread's context. If this thread does not yet have a context, returns a new context and sets this thread's context. New contexts are copies of DefaultContext. )Ú_current_context_varÚgetÚ LookupErrorrÚset©r8s r0rrcs?€ðÜ#×'Ñ'Ó)Ð)øÜ ôÜ“)ˆÜ× Ñ  Ô)ØŠðús‚–,AÁAcóœ€V\\\39d!VP4pVP 4\ P V4R#)z%Set this thread's context to context.N)rrrÚcopyÚ clear_flagsrvryrzs&r0rrqs6€à”>¤<´ÐAÔAØ—,‘,“.ˆØ×ÑÔÜ×јWÖ%r2c óÊ€Vf \4p\V4pVP4F5wr4V\9d\ RV R24h\ VP W44K7 V#)aæReturn a context manager for a copy of the supplied context Uses a copy of the current context if no context is specified The returned context manager creates a local decimal context in a with statement: def sin(x): with localcontext() as ctx: ctx.prec += 2 # Rest of sin calculation algorithm # uses a precision 2 greater than normal return +s # Convert result to normal precision def sin(x): with localcontext(ExtendedContext): # Rest of sin calculation algorithm # uses the Extended Context from the # General Decimal Arithmetic Specification return +s # Convert result to normal context >>> setcontext(DefaultContext) >>> print(getcontext().prec) 28 >>> with localcontext(): ... ctx = getcontext() ... ctx.prec += 2 ... print(ctx.prec) ... 30 >>> with localcontext(ExtendedContext): ... print(getcontext().prec) ... 9 >>> print(getcontext().prec) 28 Ú'z2' is an invalid keyword argument for this function)rÚ_ContextManagerÚitemsÚ_context_attributesÚ TypeErrorÚsetattrÚ new_context)ÚctxÚkwargsÚ ctx_managerÚkeyÚvalues&, r0r r zsc€ðH ‚{Ü‹lˆÜ! #Ó&€KØ—l‘l–n‰ ˆØ Ô)Ô )ܘa ˜uÐ$VÐWÓXÐ XÜ� ×'Ñ'¨Ö4ñ%ð Ðr2có�€V^8:gV\8”gV^ ,'d\R\ 24h\4p^ V^ ,,^, Vn^^V^,^,,,Vn^VP, Vn\ Vn^Vn\P\R4Vn V#)z¯ Return a context object initialized to the proper values for one of the IEEE interchange formats. The argument must be a multiple of 32 and less than IEEE_CONTEXT_MAX_BITS. z5argument must be a multiple of 32, with a maximum of F) r&Ú ValueErrorrrorpÚEminrrnÚclampÚdictÚfromkeysÚ_signalsÚtraps)Úbitsr†s" r0r!r!¨s¥€ð  ˆq„y�DÔ0Ô0°D¸2·I´IÜð.Ü.CÐ-DðFóGð Gô ‹)€CØ�D˜"•H�~ Õ!€C„HØ�A˜$ �( Q�,Õ'Õ(€C„HØ�3—8‘8�|€C„HÜ"€C„LØ€C„IÜ— ‘ œh¨Ó.€C„Ià €Jr2c ó@a€]tRtRtoRtR|tR}Rlt]R4t]R4t Rt Rt R~R lt R t R tR tRR ltRRltRRltRRltRRltRRltRtRtRtRtR€RltRRltRRltRRltR�RltRRlt]t RRlt!RRlt"RRlt#]#t$RR lt%R!t&RR"lt'RR#lt(RR$lt)RR%lt*RR&lt+RR'lt,RR(lt-RR)lt.R*t/R+t0]0t1]2R,4t3]2R-4t4R.t5R/t6R0t7R1t8R2t9R3t:R4t;R5tR8t?R9t@]A!]9]:];]<]=]>]?]@R:7tBRR;ltCR<tDR=tERR>ltFRR?ltGR@tHR~RAltIR~RBltJRRCltKR~RDltLRREltMRFtNRGtOR~RHltPR~RIltQ]QtRRRJltSRRKltTRRLltURMtVRNtWROtXRPtYRRQltZRRRlt[RRSlt\RTt]RUt^RRVlt_RRWlt`RXtaRYtbRZtcR[tdRR\lteR]tfR^tgR_thRR`ltiRatjRbtkRRcltlRdtmRReltnRRfltoRgtpRhtqRRiltrRRjltsRRklttRRlltuRRmltvRRnltwRRoltxRRpltyRRqltzRRrlt{Rst|RRtlt}RRult~RRvltRwt€Rxt�Ryt‚R~RzltƒR{t„Vt…R#)‚riÃz,Floating-point class for decimal arithmetic.Nc óˆ €\PV4p\V\4'Ed–\ VP 4P RR44pVf,Vf \4pVP\RV,4#VPR4R8Xd ^Vn M^Vn VPR4pVeVPR4;'gRp\VPR4;'gR 4p\\WV,44Vn V\V4, VnR VnV#VPR 4pVeZ\\T;'gR 44P#R 4Vn VPR 4'd R VnMRVnMR Vn RVnRVnV#\V\4'd@V^8¼d ^Vn M^Vn ^Vn\\%V44Vn R VnV#\V\&4'dGVPVnVPVn VPVn VP VnV#\V\(4'dOVP*Vn \VP4Vn \VP,4VnR VnV#\V\.\034'Edª\V4^8wd \3R4h\V^,\4'dV^,R9g \3R4hV^,Vn V^,R8XdR Vn V^,VnRVnV#.p V^,FXp \V \4'd7^T u;8:d^ 8:d(MM$V 'gV ^8wdV P5V 4KMKO\3R4h V^,R9d<RP7\9\V 44Vn V^,VnRVnV#\V^,\4'dGRP7\9\T ;'g^.44Vn V^,VnR VnV#\3R4h\V\:4'd€Vf \4pVP\<R4\&P?V4pVPVnVPVn VPVn VP VnV#\ARV,4h)a’Create a decimal point instance. >>> Decimal('3.14') # string input Decimal('3.14') >>> Decimal((0, (3, 1, 4), -2)) # tuple (sign, digit_tuple, exponent) Decimal('3.14') >>> Decimal(314) # int Decimal('314') >>> Decimal(Decimal(314)) # another decimal instance Decimal('314') >>> Decimal(' 3.14 \n') # leading and trailing whitespace okay Decimal('3.14') Ú_ÚzInvalid literal for Decimal: %rr\Ú-ÚintÚfracÚexpÚ0FÚdiagÚsignalÚNrKÚFTztInvalid tuple size in creation of Decimal from list or tuple. The list or tuple should have exactly three elements.z|Invalid sign. The first value in the tuple should be an integer; either 0 for a positive number or 1 for a negative number.zTThe second value in the tuple must be composed of integers in the range 0 through 9.zUThe third value in the tuple must be an integer, or one of the strings 'F', 'n', 'N'.ú;strict semantics for mixing floats and Decimals are enabledúCannot convert %r to Decimal©rJé©rKrŸ)!ÚobjectÚ__new__Ú isinstanceÚstrÚ_parserÚstripÚreplacerÚ _raise_errorrÚgrouprMr™rNÚlenÚ_expÚ _is_specialÚlstripÚabsrÚ_WorkRepr\r›ÚlistÚtuplerŒÚappendÚjoinÚmapÚfloatrÚ from_floatrƒ) ÚclsrŠr8r7ÚmÚintpartÚfracpartr›r�ÚdigitsÚdigits &&& r0r§ÚDecimal.__new__Ìse€ô.�~‰~˜cÓ"ˆô �eœS× !Ó !ܘŸ ™ › ×-Ñ-¨c°2Ó6Ó7ˆAØŠyØ’?Ü(›l�GØ×+Ñ+Ô,<Ø AÀEÕ IóKðKð�w‰w�v‹ #Ô%Ø�• à�” Ø—g‘g˜e“nˆGØÒ"àŸ7™7 6›?×0Ð0¨b�ܘ!Ÿ'™' %›.×/Ð/¨CÓ0�ܤ GÕ$4Ó 5Ó6�” ؤ# h£-Õ/�” Ø#(�Ô ðˆKð—w‘w˜v“�ØÒ#ä #¤C¨¯ ¨ °Ó$4Ó 5× <Ñ <¸SÓ A�D”IØ—w‘w˜x×(Ò(Ø$'˜� à$'˜� ð!$�D”IØ #�D”IØ#'�Ô ØˆKô �eœS× !Ò !ؘŒzØ�• à�” ؈DŒIÜœC ›J›ˆDŒIØ$ˆDÔ ØˆKô �eœW× %Ò %ØŸ™ˆDŒIØŸ™ˆDŒJØŸ™ˆDŒIØ %× 1Ñ 1ˆDÔ ØˆKô �eœX× &Ò &ØŸ™ˆDŒJܘEŸI™I›ˆDŒIܘEŸI™I›ˆDŒIØ$ˆDÔ ØˆKô �eœd¤5˜\× *Ó *Ü�5‹z˜QŒÜ ð"GóHðHô˜u Q�x¬×-Ò-°%¸µ(¸eÔ2CÜ ð"OóPðPð˜q�ˆDŒJØ�Q�x˜3Œà�” Ø! !�H�” Ø#'�Ô ð6ˆKð1�Ø" 1ŸX˜X�EÜ! %¬×-Ò-°!°u¶/À·/ç! U¨a¤ZØ"ŸM™M¨%Ö0ñ&0ô)ð*8ó9ð9ñ &ð˜•8˜zÔ)à "§¡¬¬C°Ó(8Ó 9�D”IØ % a¥�D”IØ'+�DÔ$ðˆKô   a¥¬#×.Ò.à "§¡¬¬C°·°¸A¸3Ó(?Ó @�D”IØ % a¥�D”IØ',�DÔ$ð ˆKô%ð&>ó?ð?ô �eœU× #Ò #ØŠÜ$›,�Ø × Ñ ¤ðô ô×&Ñ& uÓ-ˆEØŸ™ˆDŒIØŸ™ˆDŒJØŸ™ˆDŒIØ %× 1Ñ 1ˆDÔ ØˆKäÐ6¸Õ>Ó?Ð?r2c óx€\V\\\34'd V!V4#\ RV,4h)aAConverts a real number to a decimal number, exactly. >>> Decimal.from_number(314) # int Decimal('314') >>> Decimal.from_number(0.1) # float Decimal('0.1000000000000000055511151231257827021181583404541015625') >>> Decimal.from_number(Decimal('3.14')) # another decimal instance Decimal('3.14') r¢)r¨r™rrºrƒ)r¼Únumbers&&r0Ú from_numberÚDecimal.from_numberbs3€ô �fœs¤G¬UÐ3× 4Ò 4Ù�v“;Ð ÜÐ6¸Õ?Ó@Ð@r2c ób€\V\4'd#V^8¼d^M^p^p\\V44pM×\V\4'd·\ P !V4'g\ P!V4'dV!\V44#\ P!RV4R8Xd^pM^p\V4P4wrVVP4^, p\V^V,,4pM \R4h\W$V)4pV\JdV#V!V4#)a®Converts a float to a decimal number, exactly. Note that Decimal.from_float(0.1) is not the same as Decimal('0.1'). Since 0.1 is not exactly representable in binary floating point, the value is stored as the nearest representable value which is 0x1.999999999999ap-4. The exact equivalent of the value in decimal is 0.1000000000000000055511151231257827021181583404541015625. >>> Decimal.from_float(0.1) Decimal('0.1000000000000000055511151231257827021181583404541015625') >>> Decimal.from_float(float('nan')) Decimal('NaN') >>> Decimal.from_float(float('inf')) Decimal('Infinity') >>> Decimal.from_float(-float('inf')) Decimal('-Infinity') >>> Decimal.from_float(-0.0) Decimal('-0') gð?zargument must be int or float.)r¨r™r©r³rºÚ_mathÚisinfÚisnanÚreprÚcopysignÚas_integer_ratioÚ bit_lengthrƒrLr)r¼Úfr\ÚkÚcoeffrKÚdÚresults&& r0r»ÚDecimal.from_floatqsæ€ô, �aœ× Ò Ø˜Qœ‘1 AˆD؈AÜœ˜A›“K‰EÜ ˜œ5× !Ò !Ü�{Š{˜1�~Š~¤§¢¨Q§¢Ùœ4 ›7“|Ð#Ü�~Š~˜c 1Ó%¨Ô,Ø‘à�Ü�q“6×*Ñ*Ó,‰DˆAØ— ‘ “ Õ"ˆAܘ˜!˜Q�$�“K‰EäÐ<Ó=Ð =ä! $°¨rÓ2ˆØ ”'‹>؈Má�v“;Ð r2c óf€VP'dVPpVR8Xd^#VR8Xd^#^#)zRReturns whether the number is not actually one. 0 if a number 1 if NaN 2 if sNaN rKrŸ)r±r°)r7r›s& r0Ú_isnanÚDecimal._isnanžs0€ð × × Ð Ø—)‘)ˆCØ�cŒzÙØ˜”ÙÙr2c óT€VPR8XdVP'dR#^#^#)zYReturns whether the number is infinite 0 if finite or not a number 1 if +INF -1 if -INF r éÿÿÿÿ)r°rM©r7s&r0Ú _isinfinityÚDecimal._isinfinity­s$€ð �9‰9˜Ô Ø�z�zˆzØ� ÙÙr2c ó\€VP4pVfRpMVP4pV'g V'duVf \4pV^8XdVP\RV4#V^8XdVP\RV4#V'dVP V4#VP V4#^#)z•Returns whether the number is not actually one. if self, other are sNaN, signal if self, other are NaN return nan return 0 Done before operations. FÚsNaN)rÖrr­r rO)r7Úotherr8Ú self_is_nanÚ other_is_nans&&& r0Ú _check_nansÚDecimal._check_nansºsŸ€ð—k‘k“mˆ Ø Š=Ø ‰Là Ÿ<™<›>ˆLç Ÿ,ØŠÜ$›,�à˜aÔØ×+Ñ+Ô,<¸fØ(,ó.ð.à˜qÔ Ø×+Ñ+Ô,<¸fØ(-ó/ð/çØ—}‘} WÓ-Ð-à—>‘> 'Ó*Ð *Ùr2c óÒ€Vf \4pVP'gVP'dµVP4'dVP\RV4#VP4'dVP\RV4#VP 4'dVP\RV4#VP 4'dVP\RV4#^#)aVersion of _check_nans used for the signaling comparisons compare_signal, __le__, __lt__, __ge__, __gt__. Signal InvalidOperation if either self or other is a (quiet or signaling) NaN. Signaling NaNs take precedence over quiet NaNs. Return 0 if neither operand is a NaN. zcomparison involving sNaNzcomparison involving NaN)rr±Úis_snanr­r Úis_qnan©r7rßr8s&&&r0Ú_compare_check_nansÚDecimal._compare_check_nansÚs΀ð Š?Ü “lˆGà × × Ð ˜u×0×0Ð0Ø�|‰|�~Š~Ø×+Ñ+Ô,<Ø,GØ,0ó2ð2ð—‘—’Ø×+Ñ+Ô,<Ø,GØ,1ó3ð3ð—‘—’Ø×+Ñ+Ô,<Ø,FØ,0ó2ð2ð—‘—’Ø×+Ñ+Ô,<Ø,FØ,1ó3ð3ñr2c óH€VP;'gVPR8g#)zeReturn True if self is nonzero; otherwise return False. NaNs and infinities are considered nonzero. rœ©r±rNrÚs&r0Ú__bool__ÚDecimal.__bool__ûs!€ð ×Ñ×3Ð3 4§9¡9°Ñ#3Ð3r2c óˆ€VP'gVP'd3VP4pVP4pW#8Xd^#W#8dR#^#V'gV'g^#RVP,)#V'gRVP,#VPVP8dR#VPVP8d^#VP4pVP4pWE8Xd VPRVP VP , ,,pVPRVP VP , ,,pWg8Xd^#Wg8dRVP,)#RVP,#WE8”dRVP,#RVP,)#)z¨Compare the two non-NaN decimal instances self and other. Returns -1 if self < other, 0 if self == other and 1 if self > other. This routine is for internal use only.rœrÙ)r±rÛrMÚadjustedrNr°)r7rßÚself_infÚ other_infÚ self_adjustedÚother_adjustedÚ self_paddedÚ other_paddeds&& r0Ú_cmpÚ Decimal._cmps[€ð × × Ð ˜u×0×0Ð0Ø×'Ñ'Ó)ˆHØ×)Ñ)Ó+ˆIØÔ$ÙØÔ%Ø� á÷ßÙà˜uŸ{™{Õ*Ð+Ð+ߨ˜Ÿ™Õ#Ð #ð �;‰;˜Ÿ™Ô #؈IØ �:‰:˜Ÿ ™ Ô #ÙàŸ ™ ›ˆ ØŸ™Ó)ˆØ Ô *ØŸ)™) c¨4¯9©9°u·z±zÕ+AÕ&BÕBˆKØ Ÿ:™:¨¨U¯Z©Z¸$¿)¹)Õ-CÕ(DÕDˆLØÔ*ÙØÔ+ؘdŸj™jÕ(Ð(Ð(à˜TŸZ™ZÕ'Ð'Ø Ô +ؘŸ™Õ#Ð #à˜4Ÿ:™:Õ%Ð&Ð &r2có’€\WRR7wrV\JdV#VPW4'dR#VPV4^8H#)T)Ú equality_opF)Ú_convert_for_comparisonÚNotImplementedrârörçs&&&r0Ú__eq__ÚDecimal.__eq__BsE€Ü-¨dÀtÔL‰ ˆØ ”NÓ "؈LØ × Ñ ˜E× +Ò +ÙØ�y‰y˜Ó 1Ñ$Ð$r2có’€\W4wrV\JdV#VPW4pV'dR#VPV4^8#©F©rúrûrèrö©r7rßr8rQs&&& r0Ú__lt__ÚDecimal.__lt__JóE€Ü-¨dÓ:‰ ˆØ ”NÓ "؈LØ×&Ñ& uÓ6ˆß ÙØ�y‰y˜Ó !Ñ#Ð#r2có’€\W4wrV\JdV#VPW4pV'dR#VPV4^8*#rÿrrs&&& r0Ú__le__ÚDecimal.__le__SóE€Ü-¨dÓ:‰ ˆØ ”NÓ "؈LØ×&Ñ& uÓ6ˆß ÙØ�y‰y˜Ó 1Ñ$Ð$r2có’€\W4wrV\JdV#VPW4pV'dR#VPV4^8„#rÿrrs&&& r0Ú__gt__ÚDecimal.__gt__\rr2có’€\W4wrV\JdV#VPW4pV'dR#VPV4^8¬#rÿrrs&&& r0Ú__ge__ÚDecimal.__ge__err2c óÞ€\VRR7pVP'gV'd.VP'dVPW4pV'dV#\VP V44#)z¸Compare self to other. Return a decimal value: a or b is a NaN ==> Decimal('NaN') a < b ==> Decimal('-1') a == b ==> Decimal('0') a > b ==> Decimal('1') T©Úraiseit)Ú_convert_otherr±rârrörs&&& r0ÚcompareÚDecimal.comparensW€ô˜u¨dÔ3ˆð × × Ð §¨%×*;×*;Ð*;Ø×"Ñ" 5Ó2ˆCߨ� ä�t—y‘y Ó'Ó(Ð(r2c ó€VP'dlVP4'd \R4hVP4'd\P V4#VP 'd\)#\#VP^8¼d\^ VP\4pM \\VP)\4p\VP4V,\,pV^8¼dTMV)pVR8XdR#T#)zx.__hash__() <==> hash(x)z"Cannot hash a signaling NaN value.rÙéþÿÿÿ)r±rårƒÚis_nanr¦Ú__hash__rMÚ _PyHASH_INFr°ÚpowÚ_PyHASH_MODULUSÚ _PyHASH_10INVr™rN)r7Úexp_hashÚhash_rQs& r0rÚDecimal.__hash__€sÀ€ð × × Ð Ø�|‰|�~Š~ÜÐ DÓEÐEØ—‘—’Ü—‘ tÓ,Ð,à—:—:�:Ü'˜<Ð'ä&Ð&à �9‰9˜Œ>ܘ2˜tŸy™y¬/Ó:‰Häœ=¨4¯9©9¨*´oÓFˆHÜ�D—I‘I“ Õ)¬OÕ;ˆØ˜q”y‰e u fˆØ˜B”YˆrÐ' CÐ'r2c  ó†€\VP\\\VP 44VP 4#)zURepresents the number as a triple tuple. To show the internals exactly as they are. )rrMr¶r¹r™rNr°rÚs&r0Úas_tupleÚDecimal.as_tuplešs+€ô ˜DŸJ™J¬¬c´#°t·y±yÓ.AÓ(BÀDÇIÁIÓNÐNr2c ól€VP'd-VP4'd \R4h\R4hV'gR#\ VP 4pVP ^8¼dV^ VP ,,^r!M“VP )pV^8”d#V^,^8XdV^,pV^,pK)VP )p\W),P4^, V4pV'dW,pWE,p^V,V,pVP'dV)pW3#)aGExpress a finite Decimal instance in the form n / d. Returns a pair (n, d) of integers. When called on an infinity or NaN, raises OverflowError or ValueError respectively. >>> Decimal('3.14').as_integer_ratio() (157, 50) >>> Decimal('-123e5').as_integer_ratio() (-12300000, 1) >>> Decimal('0.00').as_integer_ratio() (0, 1) z#cannot convert NaN to integer ratioz(cannot convert Infinity to integer ratior£) r±rrŒÚ OverflowErrorr™rNr°ÚminrÎrM)r7rKrÒÚd5Úd2Úshift2s& r0rÍÚDecimal.as_integer_ratio¡sù€ð × × Ð Ø�{‰{�}Š}Ü Ð!FÓGÐGä#Ð$NÓOÐOçØˆKô �— ‘ ‹NˆØ �9‰9˜Œ>à�r˜4Ÿ9™9•}Õ$ a‰qð—)‘)�ˆBØ�q”&˜Q �U aœZØ�a•�Ø�a•’ð—)‘)�ˆBܘ!˜b�&×,Ñ,Ó.°Õ2°BÓ7ˆFߨ• �Ø• �à�2•˜• ˆAà �:�:ˆ:Ø�ˆA؈tˆ r2c ó&€R\V4,#)z0Represents the number as an instance of Decimal.z Decimal('%s'))r©rÚs&r0Ú__repr__ÚDecimal.__repr__Ós€ð¤ T£Õ*Ð*r2c ó€RR.VP,pVP'd`VPR8Xd VR,#VPR8XdVR,VP,#VR,VP,#VP\ VP4,pVP^8:d VR8”dTpMKV'g^pM@VPR8XdV^,^,^, pMV^, ^,^,pV^8:d&RpR RV),,VP,pMvV\ VP48¼d8VPRV\ VP4, ,,pRpM%VPR VpR VPVR ,pWE8XdRpM7Vf \ 4pR R .VP ,R WE, ,,pW6,V,V,#)z†Return string representation of the number in scientific notation. Captures all of the information in the underlying representation. r—r˜r ÚInfinityrKÚNaNrÞrœÚ.NÚeÚEz%+déúÿÿÿ)rMr±r°rNr¯rÚcapitals) r7Úengr8r\Ú leftdigitsÚdotplacer¾r¿r›s &&& r0Ú__str__ÚDecimal.__str__Øs €ð �Cˆy˜Ÿ™Õ$ˆØ × × Ð Ø�y‰y˜CÔØ˜jÕ(Ð(Ø—‘˜cÔ!ؘe•| d§i¡iÕ/Ð/à˜f•} t§y¡yÕ0Ð0ð—Y‘Y¤ T§Y¡Y£Õ/ˆ ð �9‰9˜Œ>˜j¨2œoà!‰Hßà‰HØ �Y‰Y˜#Ô à" Q�¨!Õ+¨aÕ/‰Hð# Q�¨!Õ+¨aÕ/ˆHà �qŒ=؈GؘS 8 )�_Õ,¨t¯y©yÕ8‰HØ œ˜TŸY™Y›Ô 'Ø—i‘i  X¬c°$·)±)«nÕ%<Õ =Õ=ˆG؉Hà—i‘i   Ð*ˆGؘTŸY™Y x yÐ1Õ1ˆHØ Ô !؉CàŠÜ$›,�ؘ�*˜W×-Ñ-Õ.°¸*Õ:MÕ1NÕNˆCà�~ Õ(¨3Õ.Ð.r2c ó(€VPRVR7#)a Convert to a string, using engineering notation if an exponent is needed. Engineering notation has an exponent which is a multiple of 3. This can leave up to 3 digits to the left of the decimal place and may require the addition of either one or two trailing zeros. T)r5r8)r8©r7r8s&&r0Ú to_eng_stringÚDecimal.to_eng_string s€ð�|‰| ¨gˆ|Ó6Ð6r2c ó€VP'dVPVR7pV'dV#Vf \4pV'g'VP\8wdVP 4pMVP 4pVPV4#)zBReturns a copy with the sign switched. Rounds, if it has reason. rz)r±rârrnrÚcopy_absÚ copy_negateÚ_fix©r7r8rQs&& r0Ú__neg__ÚDecimal.__neg__sq€ð × × Ð Ø×"Ñ"¨7Ð"Ó3ˆCߨ� à Š?Ü “lˆGç˜×(Ñ(¬KÔ7ð—-‘-“/‰Cà×"Ñ"Ó$ˆCà�x‰x˜Ó Ð r2c ó€VP'dVPVR7pV'dV#Vf \4pV'g'VP\8wdVP 4pM \ V4pVPV4#)zXReturns a copy, unless it is a sNaN. Rounds the number (if more than precision digits) rz)r±rârrnrr?rrArBs&& r0Ú__pos__ÚDecimal.__pos__+sj€ð × × Ð Ø×"Ñ"¨7Ð"Ó3ˆCߨ� à Š?Ü “lˆGç˜×(Ñ(¬KÔ7à—-‘-“/‰Cä˜$“-ˆCà�x‰x˜Ó Ð r2c ó€V'gVP4#VP'dVPVR7pV'dV#VP'dVP VR7pV#VP VR7pV#)z©Returns the absolute value of self. If the keyword argument 'round' is false, do not round. The expression self.__abs__(round=False) is equivalent to self.copy_abs(). rz)r?r±rârMrCrF)r7Úroundr8rQs&&& r0Ú__abs__ÚDecimal.__abs__@sq€÷Ø—=‘=“?Ð "à × × Ð Ø×"Ñ"¨7Ð"Ó3ˆCߨ� à �:�:ˆ:Ø—,‘, w�,Ó/ˆCðˆ ð—,‘, w�,Ó/ˆCàˆ r2c ó €\V4pV\JdV#Vf \4pVP'gVP'd¥VP W4pV'dV#VP 4'dSVP VP 8wd-VP 4'dVP\R4#\V4#VP 4'd \V4#\VPVP4p^pVP\8XdVP VP 8wd^pV'gSV'gK\VP VP 4pV'd^p\VRV4pVPV4pV#V'g\\!WAPVP", ^, 4pVP%WBP4pVPV4pV#V'g\\!W@PVP", ^, 4pVP%WBP4pVPV4pV#\'V4p\'V4p\)WxVP"4wrx\'4p VP*VP*8wd�VP,VP,8Xd!\VRV4pVPV4pV#VP,VP,8dY‡r‡VP*^8Xd,^V nVP*VP*uVnVnM7^V nM/VP*^8Xd^V n^^uVnVnM^V nVP*^8Xd$VP,VP,,V nM"VP,VP,, V nVP.V n\V 4pVPV4pV#)zRReturns self + other. -INF + INF (or the reverse) cause InvalidOperation errors. z -INF + INFrœ)rrûrr±rârÛrMr­r rr%r°rnrrLrAÚmaxroÚ_rescaler´Ú _normalizer\r™r›) r7rßr8rQr›Ú negativezeror\Úop1Úop2rÓs &&& r0Ú__add__ÚDecimal.__add__Vsú€ô ˜uÓ%ˆØ ”NÓ "؈Là Š?Ü “lˆGà × × Ð ˜u×0×0Ð0Ø×"Ñ" 5Ó2ˆCߨ� à×Ñ×!Ò!à—:‘: §¡Ô,°×1BÑ1B×1DÒ1DØ"×/Ñ/Ô0@À,ÓOÐOܘt“}Ð$Ø× Ñ ×"Ò"ܘu“~Ð%ä�$—)‘)˜UŸZ™ZÓ(ˆØˆ Ø × Ñ œ{Ô *¨t¯z©z¸U¿[¹[Ô/HàˆLçŸEÜ�t—z‘z 5§;¡;Ó/ˆDߨ�Ü" 4¨¨cÓ2ˆCØ—(‘(˜7Ó#ˆC؈JßÜ�cŸ:™:¨¯ © Õ4°QÕ6Ó7ˆCØ—.‘. ×&6Ñ&6Ó7ˆCØ—(‘(˜7Ó#ˆC؈JßÜ�cŸ9™9 w§|¡|Õ3°AÕ5Ó6ˆCØ—-‘- ×%5Ñ%5Ó6ˆCØ—(‘(˜7Ó#ˆC؈Jä�t‹nˆÜ�u‹oˆÜ˜c¨¯ © Ó5‰ˆä“ˆØ �8‰8�s—x‘xÔ à�w‰w˜#Ÿ'™'Ô!Ü& |°S¸#Ó>�Ø—h‘h˜wÓ'�Ø� Ø�w‰w˜Ÿ™Ô Ø�Sà�x‰x˜1Œ}Ø�” Ø%(§X¡X¨s¯x©xÐ"�”˜#�(à�• à �X‰X˜Œ]؈FŒKØ"# QÐ ˆCŒH�c•hàˆFŒKð �8‰8�qŒ=ØŸ™ 3§7¡7Õ*ˆF�JàŸ™ 3§7¡7Õ*ˆFŒJà—W‘WˆŒ Ü�f‹oˆØ�h‰h�wӈ؈ r2c óò€\V4pV\JdV#VP'gVP'dVPWR7pV'dV#VP VP 4VR7#)zReturn self - otherrz)rrûr±rârSr@rs&&& r0Ú__sub__ÚDecimal.__sub__®si€ä˜uÓ%ˆØ ”NÓ "؈Là × × Ð ˜u×0×0Ð0Ø×"Ñ" 5Ð"Ó:ˆCߨ� ð�|‰|˜E×-Ñ-Ó/¸ˆ|ÓAÐAr2c óT€\V4pV\JdV#VPWR7#)zReturn other - selfrz)rrûrVrçs&&&r0Ú__rsub__ÚDecimal.__rsub__¼s*€ä˜uÓ%ˆØ ”NÓ "؈Là�}‰}˜Tˆ}Ó3Ð3r2c ó>€\V4pV\JdV#Vf \4pVPVP, pVP'gVP'džVP W4pV'dV#VP 4'd,V'gVP\R4#\V,#VP 4'd,V'gVP\R4#\V,#VPVP,pV'd V'g!\VRV4pVPV4pV#VPR8Xd*\W1PV4pVPV4pV#VPR8Xd*\W0PV4pVPV4pV#\V4p\V4p\V\VP VP ,4V4pVPV4pV#)zLReturn self * other. (+-) INF * 0 (or its reverse) raise InvalidOperation. z (+-)INF * 0z 0 * (+-)INFrœÚ1)rrûrrMr±rârÛr­r rZr°rLrArNr´r©r™)r7rßr8Ú resultsignrQÚ resultexprQrRs&&& r0Ú__mul__ÚDecimal.__mul__Äs©€ô ˜uÓ%ˆØ ”NÓ "؈Là Š?Ü “lˆGà—Z‘Z %§+¡+Õ-ˆ à × × Ð ˜u×0×0Ð0Ø×"Ñ" 5Ó2ˆCߨ� à×Ñ×!Ò!ߨ"×/Ñ/Ô0@À-ÓPÐPÜ& zÕ2Ð2à× Ñ ×"Ò"ߨ"×/Ñ/Ô0@À-ÓPÐPÜ& zÕ2Ð2à—I‘I § ¡ Õ*ˆ ÷Ÿ5Ü" :¨s°IÓ>ˆCà—(‘(˜7Ó#ˆC؈Jð �9‰9˜Ô Ü" :¯z©z¸9ÓEˆCØ—(‘(˜7Ó#ˆC؈JØ �:‰:˜Ô Ü" :¯y©y¸)ÓDˆCØ—(‘(˜7Ó#ˆC؈Jä�t‹nˆÜ�u‹oˆä˜z¬3¨s¯w©w¸¿¹Õ/@Ó+AÀ9ÓMˆØ�h‰h�wÓˆàˆ r2c ó€\V4pV\Jd\#Vf \4pVPVP, pVP'gVP'dÈVP W4pV'dV#VP 4'd-VP 4'dVP\R4#VP 4'd\V,#VP 4'd2VP\R4\VRVP44#V'g6V'gVP\R4#VP\RV4#V'g"VPVP, p^pEMO\!VP"4\!VP"4, VP$,^,pVPVP, V, p\'V4p\'V4p V^8¼d2\)VP*^ V,,V P*4wrjM1\)VP*V P*^ V),,4wrjV 'dV^,^8Xd V^, pMEVPVP, p W[8d#V^ ,^8XdV^ ,pV^, pK(\V\-V4V4pVP/V4#)zReturn self / other.z(+-)INF/(+-)INFzDivision by infinityrœz0 / 0zx / 0)rrûrrMr±rârÛr­r rZr rLÚEtinyrr r°r¯rNror´Údivmodr™r©rA) r7rßr8r\rQr›rÑÚshiftrQrRÚ remainderÚ ideal_exps &&& r0Ú __truediv__ÚDecimal.__truediv__ýs?€ä˜uÓ%ˆØ ”NÓ "Ü!Ð !à Š?Ü “lˆGà�z‰z˜EŸK™KÕ'ˆà × × Ð ˜u×0×0Ð0Ø×"Ñ" 5Ó2ˆCߨ� à×Ñ×!Ò! e×&7Ñ&7×&9Ò&9Ø×+Ñ+Ô,<Ð>OÓPÐPà×Ñ×!Ò!Ü& tÕ,Ð,à× Ñ ×"Ò"Ø×$Ñ$¤WÐ.DÔEÜ'¨¨c°7·=±=³?ÓCÐC÷ߨ×+Ñ+Ô,=¸wÓGÐGØ×'Ñ'¬¸ÀÓFÐ FçØ—)‘)˜eŸj™jÕ(ˆCØŠEô˜Ÿ ™ “O¤c¨$¯)©)£nÕ4°w·|±|ÕCÀaÕGˆEØ—)‘)˜eŸj™jÕ(¨5Õ0ˆCܘ4“.ˆCܘ5“/ˆCؘŒzÜ#)¨#¯'©'°B¸µIÕ*=¸s¿w¹wÓ#GÑ ��yä#)¨#¯'©'°3·7±7¸RÀ%À½ZÕ3GÓ#HÑ �ßà˜1•9 ”>ؘQ•J�Eøð!ŸI™I¨¯ © Õ2� Ø”o¨%°"­*¸¬/ؘb•L�Eؘ1•H’Cä˜t¤S¨£Z°Ó5ˆØ�x‰x˜Ó Ð r2c ó*€VPVP, pVP4'dVPpM \VPVP4pVP 4VP 4, pV'dVP4'gVR8:d)\ VR^4VP WBP43#WRP8:Ed\V4p\V4pVPVP8¼d=V;P^ VPVP, ,,un M;V;P^ VPVP, ,,un \VPVP4wr‰V^ VP,8d7\ V\V4^4\ VP\V 4V43#VP\R4p Wª3#)z¥Return (self // other, self % other), to context.prec precision. Assumes that neither self nor other is a NaN, that self is not infinite and that other is nonzero. rœz%quotient too large in //, % or divmodr)rMrÛr°r%rïrLrNrnror´r›r™rcr©r­r) r7rßr8r\rfÚexpdiffrQrRÚqÚrrQs &&& r0Ú_divideÚDecimal._divide8s}€ð �z‰z˜EŸK™KÕ'ˆØ × Ñ × Ò ØŸ ™ ‰Iä˜DŸI™I u§z¡zÓ2ˆIà—-‘-“/ E§N¡NÓ$4Õ4ˆß�u×(Ñ(×*Ò*¨g¸¬mÜ$ T¨3°Ó2Ø—M‘M )×-=Ñ-=Ó>ð@ð @à —l‘lÕ "ܘ4“.ˆCܘ5“/ˆCØ�w‰w˜#Ÿ'™'Ô!Ø—’˜2 §¡¨#¯'©'Õ 1Õ2Õ2–à—’˜2 §¡¨#¯'©'Õ 1Õ2Õ2•ܘ#Ÿ'™' 3§7¡7Ó+‰DˆAØ�2�w—|‘|Õ#Ô#Ü(¨¬s°1«v°qÓ9Ü(¨¯©´S¸³V¸YÓGðIðIð×"Ñ"Ô#5Ø#JóLˆàˆxˆr2c óT€\V4pV\JdV#VPWR7#)z)Swaps self/other and returns __truediv__.rz)rrûrgrçs&&&r0Ú __rtruediv__ÚDecimal.__rtruediv__Ys-€ä˜uÓ%ˆØ ”NÓ "؈LØ× Ñ  Ð Ó7Ð7r2c óˆ€\V4pV\JdV#Vf \4pVPW4pV'dW33#VPVP, pVP 4'dSVP 4'dVP \R4pW33#\V,VP \R43#V'gOV'gVP \R4pW33#VP \RV4VP \R43#VPW4wrVVPV4pWV3#)z& Return (self // other, self % other) zdivmod(INF, INF)úINF % xz divmod(0, 0)úx // 0úx % 0) rrûrrârMrÛr­r rZrr rmrA)r7rßr8rQr\Úquotientres&&& r0Ú __divmod__ÚDecimal.__divmod__`s-€ô˜uÓ%ˆØ ”NÓ "؈Là Š?Ü “lˆGà×јuÓ.ˆß Ø�:Ð à�z‰z˜EŸK™KÕ'ˆØ × Ñ × Ò Ø× Ñ ×"Ò"Ø×*Ñ*Ô+;Ð=OÓP�Ø�x�ä'¨Õ-Ø×,Ñ,Ô-=¸yÓIðKðK÷ߨ×*Ñ*Ô+<¸nÓM�Ø�x�à×,Ñ,¬^¸XÀtÓLØ×,Ñ,Ô-=¸wÓGðIðIð#Ÿl™l¨5Ó:шؗN‘N 7Ó+ˆ ØÐ"Ð"r2c óT€\V4pV\JdV#VPWR7#)z(Swaps self/other and returns __divmod__.rz)rrûrwrçs&&&r0Ú __rdivmod__ÚDecimal.__rdivmod__„s-€ä˜uÓ%ˆØ ”NÓ "؈LØ×Ñ ÐÓ6Ð6r2c ó¨€\V4pV\JdV#Vf \4pVPW4pV'dV#VP 4'dVP \ R4#V'g5V'dVP \ R4#VP \R4#VPW4^,pVPV4pV#)z self % other rsruz0 % 0) rrûrrârÛr­r rrmrA)r7rßr8rQres&&& r0Ú__mod__ÚDecimal.__mod__‹s·€ô˜uÓ%ˆØ ”NÓ "؈Là Š?Ü “lˆGà×јuÓ.ˆß ؈Jà × Ñ × Ò Ø×'Ñ'Ô(8¸)ÓDÐ Dßߨ×+Ñ+Ô,<¸gÓFÐFà×+Ñ+Ô,=¸wÓGÐGà—L‘L Ó0°Õ3ˆ Ø—N‘N 7Ó+ˆ ØÐr2c óT€\V4pV\JdV#VPWR7#)z%Swaps self/other and returns __mod__.rz)rrûr}rçs&&&r0Ú__rmod__ÚDecimal.__rmod__¦s*€ä˜uÓ%ˆØ ”NÓ "؈LØ�}‰}˜Tˆ}Ó3Ð3r2c óF€Vf \4p\VRR7pVPW4pV'dV#VP4'dVP \ R4#V'g5V'dVP \ R4#VP \ R4#VP4'd\V4pVPV4#\VPVP4pV'g)\VPRV4pVPV4#VP4VP4, pWRP^,8¼dVP \4#VR8:d-VP!WBP"4pVPV4#\%V4p\%V4pVP&VP&8¼d=V;P(^ VP&VP&, ,,unM;V;P(^ VP&VP&, ,,un\+VP(VP(4wr‰^V ,V^,,VP(8”dW—P(,p V^, pV^ VP,8¼dVP \4#VPp V ^8d ^V , p V )p \V \-V 4V4pVPV4#)z9 Remainder nearest to 0- abs(remainder-near) <= other/2 Trzremainder_near(infinity, x)zremainder_near(x, 0)zremainder_near(0, 0)rœr)rrrârÛr­r rrrAr%r°rLrMrïrorrNrnr´r›r™rcr©) r7rßr8rQÚideal_exponentrjrQrRrkrlr\s &&& r0Úremainder_nearÚDecimal.remainder_near­su€ð Š?Ü “lˆGä˜u¨dÔ3ˆà×јuÓ.ˆß ؈Jð × Ñ × Ò Ø×'Ñ'Ô(8Ø(EóGð G÷ߨ×+Ñ+Ô,<Ø,BóDðDð×+Ñ+Ô,=Ø,BóDðDð × Ñ × Ò Ü˜$“-ˆCØ—8‘8˜GÓ$Ð $ô˜TŸY™Y¨¯ © Ó3ˆßÜ" 4§:¡:¨s°NÓCˆCØ—8‘8˜GÓ$Ð $ð—-‘-“/ E§N¡NÓ$4Õ4ˆØ —l‘l QÕ&Ô &à×'Ñ'Ô(:Ó;Ð ;Ø �bŒ=à—-‘- ×0@Ñ0@ÓAˆCØ—8‘8˜GÓ$Ð $ô�t‹nˆÜ�u‹oˆØ �7‰7�c—g‘gÔ Ø �GŠG�r˜CŸG™G c§g¡gÕ-Õ.Õ .ŽGà �GŠG�r˜CŸG™G c§g¡gÕ-Õ.Õ .�GÜ�c—g‘g˜sŸw™wÓ'‰ˆð ˆQ�3�!�A•#�;˜Ÿ™Ô Ø —‘�LˆAØ ��FˆAà ��G—L‘LÕ Ô Ø×'Ñ'Ô(:Ó;Ð ;ð�z‰zˆØ ˆqŒ5Ø�T•6ˆDØ�ˆAä˜t¤S¨£V¨^Ó<ˆØ�x‰x˜Ó Ð r2c ó6€\V4pV\JdV#Vf \4pVPW4pV'dV#VP 4'dUVP 4'dVP \ R4#\VPVP, ,#V'gQV'd3VP \RVPVP, 4#VP \R4#VPW4^,#)z self // otherz INF // INFrtz0 // 0) rrûrrârÛr­r rZrMr rrmrs&&& r0Ú __floordiv__ÚDecimal.__floordiv__øsà€ä˜uÓ%ˆØ ”NÓ "؈Là Š?Ü “lˆGà×јuÓ.ˆß ؈Jà × Ñ × Ò Ø× Ñ ×"Ò"Ø×+Ñ+Ô,<¸lÓKÐKä& t§z¡z°E·K±KÕ'?Õ@Ð@çߨ×+Ñ+¬N¸HØ,0¯J©J¸¿¹Õ,DóFðFð×+Ñ+Ô,=¸xÓHÐHà�|‰|˜EÓ+¨AÕ.Ð.r2c óT€\V4pV\JdV#VPWR7#)z*Swaps self/other and returns __floordiv__.rz)rrûr‡rçs&&&r0Ú __rfloordiv__ÚDecimal.__rfloordiv__s-€ä˜uÓ%ˆØ ”NÓ "؈LØ×!Ñ! $Ð!Ó8Ð8r2c óÊ€VP4'd9VP4'd \R4hVP'dRMRpM \ V4p\ V4#)zFloat representation.z%Cannot convert signaling NaN to floatz-nanÚnan)rÖrårŒrMr©rº©r7Úss& r0Ú __float__ÚDecimal.__float__sE€à �;‰;�=Š=Ø�|‰|�~Š~Ü Ð!HÓIÐIØŸ*Ÿ*˜*‘¨%‰Aä�D“ ˆAÜ�Q‹xˆr2c óÀ€VP'dCVP4'd \R4hVP4'd \ R4hRVP ,pVP ^8¼d5V\VP4,^ VP ,,#T\VPRVP ;'gR4,#)z1Converts self to an int, truncating if necessary.zCannot convert NaN to integerz"Cannot convert infinity to integerNrœrÙ) r±rÖrŒrÛr$rMr°r™rNrŽs& r0Ú__int__ÚDecimal.__int__%s €à × × Ð Ø�{‰{�}Š}Ü Ð!@ÓAÐAØ×!Ñ!×#Ò#Ü#Ð$HÓIÐIØ �$—*‘*Õ ˆØ �9‰9˜Œ>Ø”S˜Ÿ™“^Õ# B¨¯ © ¥MÕ1Ð 1à”S˜Ÿ™ : D§I¡IÐ.×5Ð5°#Ó6Õ6Ð 6r2có€V#r-r.rÚs&r0ÚrealÚ Decimal.real4s€àˆ r2có€\^4#©rJ©rrÚs&r0ÚimagÚ Decimal.imag8s €ä�q‹zÐr2có€V#r-r.rÚs&r0Ú conjugateÚDecimal.conjugate<s€Øˆ r2có*€\\V44#r-)ÚcomplexrºrÚs&r0Ú __complex__ÚDecimal.__complex__?s€Ü”u˜T“{Ó#Ð#r2c ó€VPpVPVP, p\V4V8”dFV\V4V, RP R4p\ VP W PR4#\V4#)z2Decapitate the payload of a NaN to fit the contextNrœT) rNrorŽr¯r²rLrMr°r)r7r8ÚpayloadÚmax_payload_lens&& r0rOÚDecimal._fix_nanBsm€à—)‘)ˆð"Ÿ,™,¨¯©Õ6ˆÜ ˆw‹<˜/Ô )Øœc '›l¨?Õ:Ð;Ð<×CÑCÀCÓHˆGÜ# D§J¡J°¿¹ÀDÓIÐ IÜ�t‹}Ðr2c óÔ€VP'd3VP4'dVPV4#\V4#VP 4pVP 4pV'g‡VP V.VP,p\\VPV4V4pWPP8wd-VP\4\VPRV4#\V4#\VP 4VP,VP", pWc8”dNVP\$RVP4pVP\&4VP\(4V#Wb8pV'dTpVPV8Ed®\VP 4VP,V, p V ^8d!\VPRV^, 4p^p VP*VP,,p V !W 4p VP RV ;'gRp V ^8”dD\/\1V 4^,4p \V 4VP"8”dV RRp V^, pWc8”d#VP\$RVP4pM\VPWÆ4pV 'dV'dVP\24V'dVP\44V 'dVP\&4VP\(4V'gVP\4V#V'dVP\44VP^8XdhVPV8”dWVP\4VP RVPV, ,,p \VPWÓ4#\V4#)z´Round if it is necessary to keep self within prec precision. Rounds and fixes the exponent. Does not raise on a sNaN. Arguments: self - Decimal instance context - context used. rœú above Emaxr\NrÙ)r±rÖrOrrbÚEtoprprŽr%rMr°r­r rLrMr¯rNrorr r Ú_pick_rounding_functionrnr©r™rr)r7r8rbrªÚexp_maxÚnew_expÚexp_minrQÚself_is_subnormalrÀÚrounding_methodÚchangedrÑrôs&& r0rAÚ Decimal._fixNs߀ð × × Ð Ø�{‰{�}Š}à—}‘} WÓ-Ð-ô˜t“}Ð$ð— ‘ “ˆØ�|‰|‹~ˆßØ—|‘| TÐ*¨7¯=©=Õ9ˆGÜœ#˜dŸi™i¨Ó/°Ó9ˆGØŸ)™)Ô#Ø×$Ñ$¤WÔ-Ü'¨¯ © °C¸ÓAÐAä˜t“}Ð$ô�d—i‘i“. 4§9¡9Õ,¨w¯|©|Õ;ˆØ Œ>à×&Ñ&¤x°¸t¿z¹zÓJˆCØ × Ñ ¤Ô )Ø × Ñ ¤Ô )؈Jà#™OÐß ØˆGð �9‰9�wÕ Ü˜Ÿ™“^ d§i¡iÕ/°'Õ9ˆFؘŒzÜ'¨¯ © °C¸À½ÓC�Ø�Ø"×:Ñ:¸7×;KÑ;KÕLˆOÙ% dÓ3ˆGØ—I‘I˜g˜vÐ&×-Ð-¨#ˆEؘŒ{ÜœC ›J q�LÓ)�Ü�u“: § ¡ Ô,Ø! # 2˜J�Eؘq•L�GðŒ~Ø×*Ñ*¬8°\À4Ç:Á:ÓN‘ä& t§z¡z°5ÓB�÷×,Ø×$Ñ$¤YÔ/ß Ø×$Ñ$¤YÔ/ߨ×$Ñ$¤WÔ-Ø × Ñ ¤Ô )ßà×$Ñ$¤WÔ-؈Jç Ø × Ñ ¤Ô +ð �=‰=˜AÔ  $§)¡)¨dÔ"2Ø × Ñ ¤Ô )ØŸ)™) c¨4¯9©9°tÕ+;Õ&<Õ<ˆKÜ# D§J¡J° ÓBÐ Bô�t‹}Ðr2c óB€\VPV4'd^#R#)z(Also known as round-towards-0, truncate.rÙ)Ú _all_zerosrN©r7ros&&r0Ú _round_downÚDecimal._round_down´s€ä �d—i‘i × &Ò &ÙàˆIr2c ó&€VPV4)#)zRounds away from 0.)r¶rµs&&r0Ú _round_upÚDecimal._round_up»s€à× Ñ  Ó&Ð&Ð&r2c óv€VPV,R9d^#\VPV4'd^#R#)zRounds 5 up (away from 0)Ú56789rÙ)rNr´rµs&&r0Ú_round_half_upÚDecimal._round_half_up¿s.€à �9‰9�T�?˜gÔ %ÙÜ ˜Ÿ ™  4× (Ò (ÙàˆIr2c ó`€\VPV4'dR#VPV4#)z Round 5 downrÙ©Ú _exact_halfrNr½rµs&&r0Ú_round_half_downÚDecimal._round_half_downÈs)€ä �t—y‘y $× 'Ò '؈Ià×&Ñ& tÓ,Ð ,r2c ó¬€\VPV4'd)V^8Xg VPV^, ,R9dR#VPV4#)z!Round 5 to even, rest to nearest.Ú02468rÙrÀrµs&&r0Ú_round_half_evenÚDecimal._round_half_evenÏsD€ä �t—y‘y $× 'Ò 'ؘ”˜dŸi™i¨¨Q­Õ/°7Ô:؈Ià×&Ñ& tÓ,Ð ,r2c ól€VP'dVPV4#VPV4)#)z(Rounds up (not away from 0 if negative.)©rMr¶rµs&&r0Ú_round_ceilingÚDecimal._round_ceiling×s0€à �:�:ˆ:Ø×#Ñ# DÓ)Ð )à×$Ñ$ TÓ*Ð*Ð *r2c ól€VP'gVPV4#VPV4)#)z'Rounds down (not towards 0 if negative)rÉrµs&&r0Ú _round_floorÚDecimal._round_floorÞs0€à�z�zˆzØ×#Ñ# DÓ)Ð )à×$Ñ$ TÓ*Ð*Ð *r2c ó–€V'd1VPV^, ,R9dVPV4#VPV4)#)z)Round down unless digit prec-1 is 0 or 5.Ú05)rNr¶rµs&&r0Ú _round_05upÚDecimal._round_05upås>€ç �D—I‘I˜d 1�fÕ%¨TÔ1Ø×#Ñ# DÓ)Ð )à×$Ñ$ TÓ*Ð*Ð *r2)rrrrrrrrc óD€VeA\V\4'g \R4h\^RV)4pVP V4#VP 'd-VP 4'd \R4h\R4h\VP^\44#)a’Round self to the nearest integer, or to a given precision. If only one argument is supplied, round a finite Decimal instance self to the nearest integer. If self is infinite or a NaN then a Python exception is raised. If self is finite and lies exactly halfway between two integers then it is rounded to the integer with even last digit. >>> round(Decimal('123.456')) 123 >>> round(Decimal('-456.789')) -457 >>> round(Decimal('-3.0')) -3 >>> round(Decimal('2.5')) 2 >>> round(Decimal('3.5')) 4 >>> round(Decimal('Inf')) Traceback (most recent call last): ... OverflowError: cannot round an infinity >>> round(Decimal('NaN')) Traceback (most recent call last): ... ValueError: cannot round a NaN If a second argument n is supplied, self is rounded to n decimal places using the rounding mode for the current context. For an integer n, round(self, -n) is exactly equivalent to self.quantize(Decimal('1En')). >>> round(Decimal('123.456'), 0) Decimal('123') >>> round(Decimal('123.456'), 2) Decimal('123.46') >>> round(Decimal('123.456'), -2) Decimal('1E+2') >>> round(Decimal('-Infinity'), 37) Decimal('NaN') >>> round(Decimal('sNaN123'), 0) Decimal('NaN123') z+Second argument to round should be integralr\úcannot round a NaNúcannot round an infinity) r¨r™rƒrLÚquantizer±rrŒr$rNr)r7rKr›s&& r0Ú __round__ÚDecimal.__round__÷s‰€ð^ Š=ä˜a¤×%Ò%ÜÐ MÓNÐNÜ" 1 c¨A¨2Ó.ˆCØ—=‘= Ó%Ð %ð × × Ð Ø�{‰{�}Š}Ü Ð!5Ó6Ð6ä#Ð$>Ó?Ð?Ü�4—=‘= ¤OÓ4Ó5Ð5r2c ó¼€VP'd-VP4'd \R4h\R4h\ VP ^\ 44#)zÃReturn the floor of self, as an integer. For a finite Decimal instance self, return the greatest integer n such that n <= self. If self is infinite or a NaN then a Python exception is raised. rÔrÕ)r±rrŒr$r™rNrrÚs&r0Ú __floor__ÚDecimal.__floor__5sI€ð × × Ð Ø�{‰{�}Š}Ü Ð!5Ó6Ð6ä#Ð$>Ó?Ð?Ü�4—=‘= ¤KÓ0Ó1Ð1r2c ó¼€VP'd-VP4'd \R4h\R4h\ VP ^\ 44#)zÂReturn the ceiling of self, as an integer. For a finite Decimal instance self, return the least integer n such that n >= self. If self is infinite or a NaN then a Python exception is raised. rÔrÕ)r±rrŒr$r™rNrrÚs&r0Ú__ceil__ÚDecimal.__ceil__DsI€ð × × Ð Ø�{‰{�}Š}Ü Ð!5Ó6Ð6ä#Ð$>Ó?Ð?Ü�4—=‘= ¤MÓ2Ó3Ð3r2c  ó€\VRR7p\VRR7pVP'gVP'Ed9Vf \4pVPR8XdVP \ RV4#VPR8XdVP \ RV4#VPR8XdTpEM>VPR8XdTpEM)VPR8XdHV'gVP \ R4#\ VPVP, ,pMÑVPR8XdGV'gVP \ R4#\ VPVP, ,pMy\VPVP, \\VP4\VP4,4VPVP,4pXPW#4#) a Fused multiply-add. Returns self*other+third with no rounding of the intermediate product self*other. self and other are multiplied together, with no rounding of the result. The third operand is then added to the result, and a single final rounding is performed. TrrŸrÞrKr zINF * 0 in fmaz0 * INF in fma) rr±rr°r­r rZrMrLr©r™rNrS)r7rßÚthirdr8Úproducts&&&& r0ÚfmaÚ Decimal.fmaSs�€ô˜u¨dÔ3ˆÜ˜u¨dÔ3ˆð × × Ð ˜u×0×0Ñ0ØŠÜ$›,�Ø�y‰y˜CÔØ×+Ñ+Ô,<¸fÀdÓKÐKØ�z‰z˜SÔ Ø×+Ñ+Ô,<¸fÀeÓLÐLØ�y‰y˜CÔØ’Ø—‘˜sÔ"ؒؗ‘˜cÔ!ߨ"×/Ñ/Ô0@Ø0@óBðBä)¨$¯*©*°u·{±{Õ*BÕC‘Ø—‘˜sÔ"ߨ"×/Ñ/Ô0@Ø0@óBðBä)¨$¯*©*°u·{±{Õ*BÕC�øä& t§z¡z°E·K±KÕ'?Ü'*¬3¨t¯y©y«>¼CÀÇ Á »OÕ+KÓ'LØ'+§y¡y°5·:±:Õ'=ó?ˆGð�‰˜uÓ.Ð.r2c ó €\V4pV\JdV#\V4pV\JdV#Vf \4pVP4pVP4pVP4pV'gV'g V'džV^8XdVP \ RV4#V^8XdVP \ RV4#V^8XdVP \ RV4#V'dVP V4#V'dVP V4#VP V4#VP4'd-VP4'dVP4'gVP \ R4#V^8dVP \ R4#V'gVP \ R4#VP4VP8¼dVP \ R4#V'gV'gVP \ R4#VP4'd^pM VPp\\V44p\VP44p\VP44p VPV,\!^ VP"V4,V,p\%V P"4Fp \!V^ V4pK \!W‰PV4p\'V\)V4^4#)z!Three argument version of __pow__rÞz@pow() 3rd argument not allowed unless all arguments are integerszApow() 2nd argument cannot be negative when 3rd argument specifiedzpow() 3rd argument cannot be 0zSinsufficient precision: pow() 3rd argument must not have more than precision digitszXat least one of pow() 1st argument and 2nd argument must be nonzero; 0**0 is not defined)rrûrrÖr­r rOÚ _isintegerrïroÚ_isevenrMr³r™r´Úto_integral_valuerr›ÚrangerLr©) r7rßÚmodulor8ràráÚ modulo_is_nanr\ÚbaseÚexponentÚis &&&& r0Ú _power_moduloÚDecimal._power_modulos¤€ô˜uÓ%ˆØ ”NÓ "؈LÜ Ó'ˆØ ”^Ó #؈Mà Š?Ü “lˆGð—k‘k“mˆ Ø—|‘|“~ˆ ØŸ ™ ›ˆ ß Ÿ,¯-ؘaÔØ×+Ñ+Ô,<¸fØ(,ó.ð.à˜qÔ Ø×+Ñ+Ô,<¸fØ(-ó/ð/à Ô!Ø×+Ñ+Ô,<¸fØ(.ó0ð0çØ—}‘} WÓ-Ð-ߨ—~‘~ gÓ.Ð.Ø—?‘? 7Ó+Ð +ð—‘×!Ò!Ø× Ñ ×"Ò"Ø×!Ñ!×#Ò#Ø×'Ñ'Ô(8ð)LóMð Mð �1Œ9Ø×'Ñ'Ô(8ð)OóPð P÷Ø×'Ñ'Ô(8Ø(HóJð Jð �?‰?Ó  § ¡ Ô ,Ø×'Ñ'Ô(8ð);ó<ð <÷ŸTØ×'Ñ'Ô(8ð)>ó?ð ?ð �=‰=�?Š?؉Dà—:‘:ˆDô”S˜“[Ó!ˆÜ˜×.Ñ.Ó0Ó1ˆÜ˜E×3Ñ3Ó5Ó6ˆð—‘˜6Õ!¤C¨¨D¯H©H°fÓ$=Õ=ÀÕGˆÜ�x—|‘|Ö$ˆAÜ�t˜R Ó(ŠDñ%ä�4Ÿ™ vÓ.ˆä ¤c¨$£i°Ó3Ð3r2c óž €\V4pVPVPrTV^ ,^8XdV^ ,pV^, pK"\V4pVPVPr‡V^ ,^8XdV^ ,pV^, pK"V^8XdØWW,pV^ ,^8XdV^ ,pV^, pK"V^8dR#V^ V,,p VP^8XdV )p VP 4'dHVP ^8Xd7VP \V4,p \Wš, V^, 4p M^p \^RRV ,,W›, 4#VP^8XEdÃV^ ,p V R9dŽWD),V8wdR#\V4^, p V^],^A,pV\\V448¼dR#\W×,V4p \WW,V4pV eVfR#WÞ8”dR#^V ,pMÎV ^8XdÆ\V4^,^A,p \^V ,V4wrOV'dR#V^,^8XdV^,pV ^,p K"V^ ,^,pV\\V448¼dR#\W×,V4p \WW,V4pV eVfR#WÞ8”dR#^V ,pMR#V^8”gQV4hV^ ,^8wgQV4h\V4p\V4V8”dR#V )V, p\^VV4#V^8¼dV^ V,,^ppMÝV^8wd,\\\Wu,444V)8:dR#\V4p\\\V4V,44V)8:dR#T^ V),ppV^,V^,u;8Xd^8XdMMV^,pV^,pK4V^,V^,u;8Xd^8XdMMV^,pV^,pK4V^8”d•XV8:dR#\VV4wppV^8wdR#^\V4)V,),p\VVV^, ,4wppVV8:dM VV^, ,V,V,pKFVV8XdV^8XgR#TpV^8”d!VV^d,\V4,8”dR#VV,pVV,pV^8”gQV4hV^ ,^8wgQV4h\V4p\V4V8”dR#VP 4'dQVP ^8Xd@VP \V4,p \WZ, V\V4, 4p M^p \^VRV ,,W[, 4#)a Attempt to compute self**other exactly. Given Decimals self and other and an integer p, attempt to compute an exact result for the power self**other, with p digits of precision. Return None if self**other is not exactly representable in p digits. Assumes that elimination of special cases has already been performed: self and other must both be nonspecial; self must be positive and not numerically equal to 1; other must be nonzero. For efficiency, other._exp should not be too large, so that 10**abs(other._exp) is a feasible calculation.Nr\rœ)éééé)r´r™r›r\rårMr°r%rLÚ_nbitsr¯r©Ú_decimal_lshift_exactrcr³Ú _log10_lb)r7rßÚpÚxÚxcÚxeÚyÚycÚyerìrƒÚzerosÚ last_digitr1ÚemaxreÚstrxcr½rKÚxc_bitsÚremÚarkrlÚstr_xcs&&& r0Ú _power_exactÚDecimal._power_exactÔsì€ôt �T‹NˆØ—‘˜Ÿ™ˆBØ�2�g˜ŒlØ �2�IˆBØ �!�GŠBä �U‹OˆØ—‘˜Ÿ™ˆBØ�2�g˜ŒlØ �2�IˆBØ �!�GŠBð �Œ7Ø �HˆBà�r•'˜Q”,Ø�r• �Ø�a•’Ø�AŒvÙØ˜B �F•{ˆHØ�v‰v˜Œ{Ø$˜9�à×Ñ×!Ò! e§k¡k°QÔ&6Ø!%§¡¬3¨u«:Õ!5�ܘHÕ3°Q°qµSÓ9‘à�Ü# A s¨S°­Y¥¸½ÓGÐ Gð �6‰6�Q�;ؘb�ˆJؘYÔ&à˜•8˜r”>Ùä˜2“J˜q•L�ð6˜•t˜R•x�ØœœS ›Y›Ô'Ùô*¨!­&°"Ó5�Ü*¨2­7°BÓ7�Ø’9 ¢ Ùà”8ÙØ˜•T‘à˜q”ô˜2“J˜r•M 2Õ%�Ü & q¨!¥t¨RÓ 0‘ �ßÙØ˜1•f ”kؘ1•H�Bؘ•F’A𠘕t˜Q•w�ØœœS ›Y›Ô'Ùä)¨!­&°"Ó5�Ü*¨2­7°BÓ7�Ø’9 ¢ Ùà”8ÙØ˜•T‘á𠘔6Ð ˜4Ó �6ؘ•7˜a”<Ð % Ó %�<ܘ“GˆEÜ�5‹z˜AŒ~ÙØ��B•ˆBÜ# A u¨bÓ1Ð 1ð �Œ7Ø�b˜"•f•9˜aˆqˆAˆqà�QŒwœ3œs¤3 r¥u£:›Ó/°B°3Ô6ÙܘR“jˆGÜ”3”s˜2“w˜w•Ó'Ó(¨R¨CÔ/ÙØ�r˜R˜C•yˆqˆAØ�a•%˜1˜q�5Ö% A×%Ø�a•�Ø�a•’Ø�a•%˜1˜q�5Ö% A×%Ø�a•�Ø�a•’ð ˆqŒ5à˜!Œ|Ùä˜R “m‰GˆB�Ø�aŒxÙðœ˜r› �{ A•~Ð&Õ&ˆAØÜ˜b ! a¨¥c¥(Ó+‘��1ؘ”6Øà˜A˜a�C� 1� qÕ(’Aؘ”F˜q AœvÙØˆBð �Œ6�a˜!˜C�%¤¨2£Õ.Ô.ÙØ ��UˆØ ˆa�ˆð�AŒvÐ�tÓˆvØ�B�w˜!Œ|Ð!˜TÓ!ˆ|Ü�R“ˆÜ ˆv‹;˜Œ?Ùð × Ñ × Ò  %§+¡+°Ô"2Ø!ŸY™Y¤s¨5£zÕ1ˆNܘÕ)¨1¬S°«[­=Ó9‰EàˆEÜ  6¨#¨e­)Õ#3°RµXÓ>Ð>r2c óL €VeVPWV4#\V4pV\JdV#Vf \4pVP W4pV'dV#V'g%V'gVP \ R4#\#^pVP^8Xd^VP4'dVP4'g^pMV'dVP \ R4#VP4pV'g,VP^8Xd\VR^4#\V,#VP4'd,VP^8Xd\V,#\VR^4#V\8XEdVP4'd‘VP^8Xd^pM(WP8”dVPpM \!V4pVP"V,pV^VP, 8d)^VP, pVP \$4M=VP \&4VP \$4^VP, p\VRRV),,V4#VP)4pVP4'd2VP^8HV^88Xd\VR^4#\V,#RpRp VP+4VP)4,p V^8¬VP^8H8XdCV \-\/VP0448¼d\VRVP0^,4pM>VP34p V \-\/V )448¼d\VRV ^, 4pVfQVP5WP^,4pVe+V^8Xd"\^VP6VP"4pRp VfàVPp \9V4p V P V P:rþ\9V4pVP VP:ppVP<^8XdV)p^p\?WïVVV V,4wppV^^ \-\/V44V , ^, ,,,'dM V^, pKb\V\/V4V4pV 'EdËVP4'Eg´\-VP64VP8:dnVP^,\-VP64, p\VPVP6RV,,VP"V, 4pVPA4pVPC4\DFp^VPFV&K VPIV4pVP \&4VPJ\L,'dVP \N4VPJ\P,'d"VP \PRVP4\N\L\&\$\R3F/pVPJV,'gKVP V4K1 V#VPIV4pV#) aÈReturn self ** other [ % modulo]. With two arguments, compute self**other. With three arguments, compute (self**other) % modulo. For the three argument form, the following restrictions on the arguments hold: - all three arguments must be integral - other must be nonnegative - either self or other (or both) must be nonzero - modulo must be nonzero and must have at most p digits, where p is the context precision. If any of these restrictions is violated the InvalidOperation flag is raised. The result of pow(self, other, modulo) is identical to the result that would be obtained by computing (self**other) % modulo with unbounded precision, but is computed more efficiently. It is always exact. Nz0 ** 0z+x ** y with x negative and y not an integerrœr\FTr©)*rîrrûrrâr­r Ú_OnerMrårær@rLrZrÛror™r°r r rïÚ_log10_exp_boundr¯r©rprbrrNr´r›r\Ú_dpowerr|r}r‘r’rAÚflagsrrrr )r7rßrér8rQÚ result_signÚ multiplierr›Úself_adjÚexactÚboundrbrørùrúrûrürýrþÚextrarÑrjÚ newcontextÚ exceptions&&&& r0Ú__pow__ÚDecimal.__pow__ÌsM€ð0 Ò Ø×%Ñ% e°WÓ=Ð =ä˜uÓ%ˆØ ”NÓ "؈Là Š?Ü “lˆGð×јuÓ.ˆß ؈J÷ߨ×+Ñ+Ô,<¸hÓGÐGä� ðˆ Ø �:‰:˜Œ?Ø×Ñ×!Ò!Ø—}‘}—’Ø"#�Kø÷Ø"×/Ñ/Ô0@ØEóGðGð×#Ñ#Ó%ˆD÷Ø�{‰{˜aÔÜ'¨ °S¸!Ó<Ð<ä& {Õ3Ð3ð × Ñ × Ò Ø�{‰{˜aÔÜ& {Õ3Ð3ä'¨ °S¸!Ó<Ð<ð ”4�<Ø×Ñ×!Ò!ð —;‘; !Ô#Ø!"‘JØŸ\™\Ô)Ø!(§¡‘Jä!$ U£�Jà—i‘i *Õ,�ؘ˜7Ÿ<™<�Ô'ؘGŸL™L�.�CØ×(Ñ(¬Ô1øà×$Ñ$¤WÔ-Ø×$Ñ$¤WÔ-ؘŸ ™ •n�ä# K°°S¸#¸µXµ¸sÓCÐ Cð—=‘=“?ˆð × Ñ × Ò Ø— ‘ ˜qÑ  h°¡lÔ3Ü'¨ °S¸!Ó<Ð<ä& {Õ3Ð3ðˆØˆð×%Ñ%Ó'¨%¯.©.Ó*:Õ:ˆØ ˜‰M˜uŸ{™{¨aÑ/Ô 0ðœœC § ¡ Ó-Ó.Ô.Ü& {°C¸¿¹Àa½ÓH�øð—M‘M“OˆEØœœC  ›KÓ(Ô(Ü& {°C¸¸q½ÓA�ð Š;Ø×#Ñ# E¯<©<¸!Õ+;Ó<ˆC؊ؠ!Ô#Ü*¨1¨c¯h©h¸¿¹ÓA�CØ�ð Š;Ø— ‘ ˆAܘ“ˆAØ—U‘U˜AŸE™E�ܘ“ˆAØ—U‘U˜AŸE™E�ˆBØ�v‰v˜Œ{Ø�S�ðˆEØÜ$ R¨R°°Q°uµWÓ=‘ ��sؘA˜b¤3¤s¨5£z£?°1Õ#4°QÕ#6Õ7Õ7×8Ô8ØØ˜• ’ä" ;´°E³ ¸CÓ@ˆC÷ ˆ5˜×)Ñ)×+Ó+ô�3—8‘8‹} § ¡ Ô,Ø!Ÿ,™,¨Õ*¬S°·±«]Õ:�Ü& s§y¡y°#·(±(¸3¸w½;Õ2FØ'*§x¡x°Õ'7ó9�ð!Ÿ™›ˆJØ × "Ñ "Ô $ß%� Ø./� × Ñ  Ó+ñ&ð—(‘(˜:Ó&ˆCð × #Ñ #¤GÔ ,Ø×Ѥ ×*Ô*Ø×'Ñ'¬ Ô2ð×Ѥ×)Ô)Ø×$Ñ$¤X¨|¸S¿Y¹YÔGÜ&¬ ´7¼GÄWÓL� Ø×#Ñ# I×.Ö.Ø×(Ñ(¨Ö3ñMðˆ ð—(‘(˜7Ó#ˆCàˆ r2c óV€\V4pV\JdV#VPWVR7#)z%Swaps self/other and returns __pow__.rz)rrûr)r7rßrér8s&&&&r0Ú__rpow__ÚDecimal.__rpow__¤ s,€ä˜uÓ%ˆØ ”NÓ "؈LØ�}‰}˜T°7ˆ}Ó;Ð;r2c ó`€Vf \4pVP'dVPVR7pV'dV#VPV4pVP 4'dV#V'g\ VP R^4#VPVP4.VP,p\VP4pVPpVPV^, ,R8XdWd8dV^, pV^,pK9\ VP VPRVV4#)z?Normalize- strip trailing 0s, change anything equal to 0 to 0e0Nrzrœ) rr±rârArÛrLrMrprªrŽr¯rNr°)r7r8rQÚdupr¬Úendr›s&& r0Ú normalizeÚDecimal.normalize« sç€ð Š?Ü “lˆGà × × Ð Ø×"Ñ"¨7Ð"Ó3ˆCߨ� à�i‰i˜Ó ˆØ �?‰?× Ò ØˆJçÜ# C§I¡I¨s°AÓ6Ð 6Ø—<‘< §¡£Ð0°·±Õ?ˆÜ�#—(‘(‹mˆØ�h‰hˆØ�h‰h�s˜1•u�o Ô$¨¬Ø �1�HˆCØ �1�HŠCÜ § ¡ ¨3¯8©8°D°S¨>¸3Ó?Ð?r2c ó€\VRR7pVf \4pVf VPpVP'gVP'd•VP W4pV'dV#VP 4'gVP 4'dNVP 4'd"VP 4'd \ V4#VP\R4#VP4VPu;8:dVP8:gMVP\R4#V'g3\VPRVP4pVPV4#VP4pWSP8”dVP\R4#WQP, ^,VP 8”dVP\R4#VP#VPV4pVP4VP8”dVP\R4#\%VP&4VP 8”dVP\R4#V'd5VP4VP(8dVP\*4VPVP8”d1W@8wdVP\,4VP\.4VPV4pV#)zwQuantize self so its exponent is the same as that of exp. Similar to self._rescale(exp._exp) but with error checking. Trzquantize with one INFz)target exponent out of bounds in quantizerœz9exponent of quantize result too large for current contextz7quantize result has too many digits for current context)rrrnr±rârÛrr­r rbr°rprLrMrArïrorNr¯rNr�rr r )r7r›rnr8rQròs&&&& r0rÖÚDecimal.quantizeÄ sU€ô ˜S¨$Ô/ˆà Š?Ü “lˆGØ Ò Ø×'Ñ'ˆHà × × Ð ˜sŸŸ˜Ø×"Ñ" 3Ó0ˆCߨ� à�‰× Ò  D×$4Ñ$4×$6Ò$6Ø—?‘?×$Ò$¨×)9Ñ)9×);Ò);Ü" 4›=Ð(Ø×+Ñ+Ô,<Ø(?óAðAð— ‘ “ 3§8¡8Ö;¨w¯|©|Ö;Ø×'Ñ'Ô(8Ø>ó@ð @÷Ü" 4§:¡:¨s°C·H±HÓ=ˆCØ—8‘8˜GÓ$Ð $àŸ ™ ›ˆ Ø Ÿ<™<Ô 'Ø×'Ñ'Ô(8Ø(cóeð eà Ÿ8™8Õ # aÕ '¨'¯,©,Ô 6Ø×'Ñ'Ô(8Ø(aócð cð�m‰m˜CŸH™H hÓ/ˆØ �<‰<‹>˜GŸL™LÔ (Ø×'Ñ'Ô(8Ø(cóeð eä ˆs�x‰x‹=˜7Ÿ<™<Ô 'Ø×'Ñ'Ô(8Ø(aócð c÷ �3—<‘<“> G§L¡LÔ0Ø × Ñ ¤Ô +Ø �8‰8�d—i‘iÔ ØŒ{Ø×$Ñ$¤WÔ-Ø × Ñ ¤Ô )ð�h‰h�wӈ؈ r2c óF€\VRR7pVP'gVP'dYVP4;'dVP4;'g)VP4;'dVP4#VPVP8H#)a Return True if self and other have the same exponent; otherwise return False. If either operand is a special value, the following rules are used: * return True if both operands are infinities * return True if both operands are NaNs * otherwise, return False. Tr)rr±rÚ is_infiniter°rçs&&&r0Ú same_quantumÚDecimal.same_quantum s~€ô˜u¨dÔ3ˆØ × × Ð ˜u×0×0Ð0Ø—K‘K“M×4Ð4 e§l¡l£n÷?ð?Ø×$Ñ$Ó&×>Ð>¨5×+<Ñ+<Ó+>ð @à�y‰y˜EŸJ™JÑ&Ð&r2c óœ€VP'd \V4#V'g\VPRV4#VPV8¼dA\VPVP RVPV, ,,V4#\ VP 4VP,V, pV^8d!\VPRV^, 4p^pVPV,pV!W4pVP RV;'gRpV^8Xd\\V4^,4p\VPWa4#)a;Rescale self so that the exponent is exp, either by padding with zeros or by truncating digits, using the given rounding mode. Specials are returned without change. This operation is quiet: it raises no flags, and uses no information from the context. exp = exp to scale to (an integer) rounding = rounding mode rœr\N) r±rrLrMr°rNr¯r«r©r™)r7r›rnrÀÚ this_functionr±rÑs&&& r0rNÚDecimal._rescale s€ð × × Ð Ü˜4“=Ð ßÜ# D§J¡J°°SÓ9Ð 9à �9‰9˜Ô ä# D§J¡JØ(,¯ © °C¸¿¹ÀS½Õ4IÕ(IÈ3óPð Pô �T—Y‘Y“ $§)¡)Õ+¨cÕ1ˆØ �AŒ:Ü# D§J¡J°°S¸µUÓ;ˆD؈FØ×4Ñ4°XÕ>ˆ Ù Ó-ˆØ— ‘ ˜'˜6Ð"×)Ð) cˆØ �aŒ<Üœ˜E›  1� Ó%ˆEÜ § ¡ ¨EÓ7Ð7r2c ór€V^8:d \R4hVP'g V'g \V4#VPVP 4^,V, V4pVP 4VP 48wd/VPVP 4^,V, V4pV#)zúRound a nonzero, nonspecial Decimal to a fixed number of significant figures, using the given rounding mode. Infinities, NaNs and zeros are returned unaltered. This operation is quiet: it raises no flags, and uses no information from the context. z'argument should be at least 1 in _round)rŒr±rrNrï)r7ÚplacesrnrQs&&& r0Ú_roundÚDecimal._round2 sŠ€ð �QŒ;ÜÐFÓGÐ GØ × × Ð §4ܘ4“=Ð Ø�m‰m˜DŸM™M›O¨AÕ-¨fÕ4°hÓ?ˆð �<‰<‹>˜TŸ]™]›_Ô ,Ø—,‘,˜sŸ|™|›~¨aÕ/°Õ6¸ÓAˆC؈ r2c ó®€VP'd(VPVR7pV'dV#\V4#VP^8¼d \V4#V'g\ VP R^4#Vf \ 4pVf VPpVP^V4pW08wdVP\4VP\4V#)a&Rounds to a nearby integer. If no rounding mode is specified, take the rounding mode from the context. This method raises the Rounded and Inexact flags when appropriate. See also: to_integral_value, which does exactly the same as this method except that it doesn't raise Inexact or Rounded. rzrœ) r±rârr°rLrMrrnrNr­r r ©r7rnr8rQs&&& r0Úto_integral_exactÚDecimal.to_integral_exactI s³€ð × × Ð Ø×"Ñ"¨7Ð"Ó3ˆCߨ� ܘ4“=Ð Ø �9‰9˜Œ>ܘ4“=Ð ßÜ# D§J¡J°°QÓ7Ð 7Ø Š?Ü “lˆGØ Ò Ø×'Ñ'ˆHØ�m‰m˜A˜xÓ(ˆØ Œ;Ø × Ñ ¤Ô )Ø×ÑœWÔ%؈ r2c ó €Vf \4pVf VPpVP'd(VPVR7pV'dV#\ V4#VP ^8¼d \ V4#VP ^V4#)z@Rounds to the nearest integer, without raising inexact, rounded.rz)rrnr±rârr°rNr.s&&& r0rçÚDecimal.to_integral_valuef sv€à Š?Ü “lˆGØ Ò Ø×'Ñ'ˆHØ × × Ð Ø×"Ñ"¨7Ð"Ó3ˆCߨ� ܘ4“=Ð Ø �9‰9˜Œ>ܘ4“=Ð à—=‘=  HÓ-Ð -r2c ód€Vf \4pVP'dOVPVR7pV'dV#VP4'dVP^8Xd \ V4#V'g:\ VPRVP^,4pVPV4#VP^8XdVP\R4#VP^,p\V4pVP^, pVP^,'d8VP^ ,p\VP 4^, ^,pM/VPp\VP 4^,^, pW7, pV^8¼dV^dV,,pRp M\#V^dV),4wrjV '*p WX,p^ V,p Wk,p W¼8:dMW¼,^, p K!T ;'d W»,V8Hp V 'd3V^8¼dV ^ V,,p MV ^ V),,p WX, pMV ^,^8Xd V ^, p \ ^\%V 4V4pVP'4pVP)\*4p VPV4pWÑnV#)zReturn the square root of self.rzrœzsqrt(-x), x > 0T)rr±rârÛrMrrLr°rAr­r ror´r›r™r¯rNrcr©Ú _shallow_copyÚ _set_roundingrrn)r7r8rQroÚopr1ÚcÚlrdrrerKrkrns&& r0ÚsqrtÚ Decimal.sqrty s)€à Š?Ü “lˆGà × × Ð Ø×"Ñ"¨7Ð"Ó3ˆCߨ� à×Ñ×!Ò! d§j¡j°A¤oܘt“}Ð$çä" 4§:¡:¨s°D·I±IÀµNÓCˆCØ—8‘8˜GÓ$Ð $à �:‰:˜Œ?Ø×'Ñ'Ô(8Ð:KÓLÐ Lð,�|‰|˜A�~ˆô �d‹^ˆØ �F‰F�a�KˆØ �6‰6�A�:Œ:Ø—‘˜• ˆAÜ�T—Y‘Y“ 1Õ$¨Õ)‰Aà—‘ˆAÜ�D—I‘I“˜qÕ  AÕ%ˆAð•ˆØ �AŒ:Ø ��e•�OˆA؉Eä! ! S¨5¨&¥[Ó1‰LˆAØ!”MˆEØ � ˆð ��HˆØØ•ˆAØŒvØà•E˜Q•J’Ø×"Ð"˜!�# ™(ˆç à˜Œzà�b˜%•i•‘à�R˜%˜•Z•�Ø �J‰Að�1�u˜ŒzØ�Q•�ä˜q¤# a£&¨!Ó,ˆð×'Ñ'Ó)ˆØ×(Ñ(¬Ó9ˆØ�h‰h�wÓˆØ#Ôàˆ r2c ó €\VRR7pVf \4pVP'gVP'd€VP4pVP4pV'g V'dPV^8XdV^8XdVP V4#V^8XdV^8XdVP V4#VP W4#VP V4pV^8XdVPV4pVR8XdTpMTpVP V4#)zˆReturns the larger value. Like max(self, other) except if one is not a number, returns NaN (and signals if one is sNaN). Also rounds. TrrÙ©rrr±rÖrArâröÚ compare_total©r7rßr8ÚsnÚonr7rQs&&& r0rMÚ Decimal.maxÜ sà€ô ˜u¨dÔ3ˆà Š?Ü “lˆGà × × Ð ˜u×0×0Ð0ð—‘“ˆBØ—‘“ˆBß—Rؘ”7˜r QœwØŸ9™9 WÓ-Ð-ؘ”7˜r QœwØ Ÿ:™: gÓ.Ð.Ø×'Ñ'¨Ó7Ð7à �I‰I�eÓ ˆØ �Œ6ð×"Ñ" 5Ó)ˆAà �Œ7؉CàˆCà�x‰x˜Ó Ð r2c ó €\VRR7pVf \4pVP'gVP'd€VP4pVP4pV'g V'dPV^8XdV^8XdVP V4#V^8XdV^8XdVP V4#VP W4#VP V4pV^8XdVPV4pVR8XdTpMTpVP V4#)z‰Returns the smaller value. Like min(self, other) except if one is not a number, returns NaN (and signals if one is sNaN). Also rounds. TrrÙr<r>s&&& r0r%Ú Decimal.min sÞ€ô ˜u¨dÔ3ˆà Š?Ü “lˆGà × × Ð ˜u×0×0Ð0ð—‘“ˆBØ—‘“ˆBß—Rؘ”7˜r QœwØŸ9™9 WÓ-Ð-ؘ”7˜r QœwØ Ÿ:™: gÓ.Ð.Ø×'Ñ'¨Ó7Ð7à �I‰I�eÓ ˆØ �Œ6Ø×"Ñ" 5Ó)ˆAà �Œ7؉CàˆCà�x‰x˜Ó Ð r2c ó¬€VP'dR#VP^8¼dR#VPVPRpVR\V4,8H#)z"Returns whether self is an integerFTNrœ)r±r°rNr¯)r7Úrests& r0råÚDecimal._isinteger( sF€à × × Ð ÙØ �9‰9˜Œ>ÙØ�y‰y˜Ÿ™˜Ð$ˆØ�sœ3˜t›9•}Ñ$Ð$r2c ó†€V'dVP^8”dR#VPRVP,,R9#)z:Returns True if self is even. Assumes self is an integer.TrÅrÙ)r°rNrÚs&r0ræÚDecimal._iseven1 s.€ç�t—y‘y 1”}ÙØ�y‰y˜˜DŸI™I�Õ&¨'Ñ1Ð1r2c ó‚€VP\VP4,^, # \d^#i;i)z$Return the adjusted exponent of self)r°r¯rNrƒrÚs&r0rïÚDecimal.adjusted7 s5€ð Ø—9‘9œs 4§9¡9›~Õ-°Õ1Ð 1øäô Úð ús ‚,/¯ >½>c ó€V#)z“Returns the same Decimal object. As we do not have different encodings for the same number, the received object already is in its canonical form. r.rÚs&r0Ú canonicalÚDecimal.canonical? s €ð ˆ r2c óv€\VRR7pVPW4pV'dV#VPWR7#)zžCompares self to the other operand numerically. It's pretty much like compare(), but all NaNs signal, with signaling NaNs taking precedence over quiet NaNs. Trrz)rrèrrs&&& r0Úcompare_signalÚDecimal.compare_signalG s9€ô ˜u°Ô5ˆØ×&Ñ& uÓ6ˆß ؈JØ�|‰|˜Eˆ|Ó3Ð3r2c ó€\VRR7pVP'dVP'g\#VP'gVP'd\#VPpVP 4pVP 4pV'g V'dôWE8Xd}\ VP 4VP 3p\ VP 4VP 3pWg8dV'd\#\#Wg8”dV'd\#\#\#V'd6V^8Xd\#V^8Xd\#V^8Xd\#V^8Xd\#M4V^8Xd\#V^8Xd\#V^8Xd\#V^8Xd\#W8d\#W8”d\#VPVP8dV'd\#\#VPVP8”dV'd\#\#\#)zÕCompares self to other using the abstract representations. This is not like the standard compare, which use their numerical value. Note that a total ordering is defined for all possible abstract representations. Tr) rrMÚ _NegativeOner rÖr¯rNÚ_Zeror°)r7rßr8r\Úself_nanÚ other_nanÚself_keyÚ other_keys&&& r0r=ÚDecimal.compare_totalS sˆ€ô˜u¨dÔ3ˆð �:�:ˆ:˜eŸkŸk˜kÜÐ Ø�z�zˆz˜eŸkŸk˜k܈KØ�z‰zˆð—;‘;“=ˆØ—L‘L“Nˆ ß —yØÔ$ä˜tŸy™y›>¨4¯9©9Ð4�Ü § ¡ ›O¨U¯Z©ZÐ7� ØÔ'ßÜ#˜ ä+Ð+ØÔ'ßÜ+Ð+ä#˜ Ü� çØ˜q”=Ü'Ð'Ø ”>Ü�Kؘq”=Ü'Ð'Ø ”>Ü�Kð"ð˜q”=Ü�KØ ”>Ü'Ð'ؘq”=Ü�KØ ”>Ü'Ð'à Œ<ÜÐ Ø Œ<܈Kà �9‰9�u—z‘zÔ !ßÜ� ä#Ð#Ø �9‰9�u—z‘zÔ !ßÜ#Ð#ä� ܈ r2c ó~€\VRR7pVP4pVP4pVPV4#)z†Compares self to other using abstract repr., ignoring sign. Like compare_total, but with operand's sign ignored and assumed to be 0. Tr)rr?r=)r7rßr8r�Úos&&& r0Úcompare_total_magÚDecimal.compare_total_magœ s6€ô ˜u¨dÔ3ˆà �M‰M‹OˆØ �N‰NÓ ˆØ�‰˜qÓ!Ð!r2c óZ€\^VPVPVP4#)z'Returns a copy with the sign set to 0. )rLrNr°r±rÚs&r0r?ÚDecimal.copy_abs¨ s!€ä  4§9¡9¨d¯i©i¸×9IÑ9IÓJÐJr2c óÖ€VP'd-\^VPVPVP4#\^VPVPVP4#)z&Returns a copy with the sign inverted.)rMrLrNr°r±rÚs&r0r@ÚDecimal.copy_negate¬ sI€à �:�:ˆ:Ü# A t§y¡y°$·)±)¸T×=MÑ=MÓNÐ Nä# A t§y¡y°$·)±)¸T×=MÑ=MÓNÐ Nr2c óˆ€\VRR7p\VPVPVPVP 4#)z$Returns self with the sign of other.Tr)rrLrMrNr°r±rçs&&&r0Ú copy_signÚDecimal.copy_sign³ s6€ä˜u¨dÔ3ˆÜ § ¡ ¨T¯Y©YØ $§ ¡ ¨4×+;Ñ+;ó=ð =r2c óš€Vf \4pVPVR7pV'dV#VP4R8Xd\#V'g\#VP4^8Xd \ V4#VP pVP4pVP^8XdRV\\VP^,^,448”d!\^RVP^,4pEM�VP^8Xd[V\\VP4)^,^,448”d%\^RVP4^, 4pEM2VP^8Xd3WC)8d,\^RRV^, ,,R,V)4pMïVP^8Xd3WC)^, 8d%\^RV^,,V)^, 4pM¬\V4pVPVP rvVP"^8XdV)p^p\%WgW8,4wršV ^^ \\V 44V, ^, ,,,'dM V^, pK^\^\V 4V 4pVP'4pVP)\*4p VP-V4pW±nV#)zReturns e ** self.rzr\rœrmrÙ)rrârÛrSr rrorïrMr¯r©rprLrbr´r™r›r\Ú_dexpr4r5rrArn) r7r8rQrøÚadjr6r7r1rrÑr›rns && r0r›Ú Decimal.exp¹ s2€ð Š?Ü “lˆGð×Ñ wÐÓ/ˆß ؈Jð × Ñ Ó  Ô #܈L÷܈Kð × Ñ Ó  Ô "ܘ4“=Ð ð �L‰LˆØ�m‰m‹oˆð �:‰:˜Œ?˜s¤S¬¨g¯l©l¸1­n¸aÕ-?Ó)@Ó%AÔAä" 1 c¨7¯<©<¸­>Ó:ŠCØ �Z‰Z˜1Œ_ ¤s¬3°·±³Ð0@ÀÕ0BÀAÕ/EÓ+FÓ'GÔ!Gä" 1 c¨7¯=©=«?¸1Õ+<Ó=ŠCØ �Z‰Z˜1Œ_  r¤ä" 1 c¨C°°1µ­I¥o¸Õ&;¸a¸RÓ@‰CØ �Z‰Z˜1Œ_  r¨!¥t¤ä" 1 c¨1¨Q­3¥i°!°°AµÓ6‰Cô˜$“ˆBØ—6‘6˜2Ÿ6™6ˆqØ�w‰w˜!Œ|Ø�B�ð ˆEØÜ" 1¨­Ó1‘ �ؘA˜b¤3¤s¨5£z£?°1Õ#4°QÕ#6Õ7Õ7×8Ô8ØØ˜• ’ä" 1¤c¨%£j°#Ó6ˆCð×'Ñ'Ó)ˆØ×(Ñ(¬Ó9ˆØ�h‰h�wÓˆØ#Ôàˆ r2c ó€R#)z«Return True if self is canonical; otherwise return False. Currently, the encoding of a Decimal instance is always canonical, so this method returns True for any Decimal. Tr.rÚs&r0Ú is_canonicalÚDecimal.is_canonical s€ñ r2c ó$€VP'*#)z…Return True if self is finite; otherwise return False. A Decimal instance is considered finite if it is neither infinite nor a NaN. )r±rÚs&r0Ú is_finiteÚDecimal.is_finite s€ð ×#Ñ#Ô#Ð#r2c ó €VPR8H#)z8Return True if self is infinite; otherwise return False.r ©r°rÚs&r0r#ÚDecimal.is_infinite ó€à�y‰y˜CÑÐr2c ó €VPR9#)z>Return True if self is a qNaN or sNaN; otherwise return False.r¥rorÚs&r0rÚDecimal.is_nan s€à�y‰y˜JÑ&Ð&r2c ó�€VP'g V'gR#Vf \4pVPVP48*#)z?Return True if self is a normal number; otherwise return False.F)r±rr�rïr;s&&r0Ú is_normalÚDecimal.is_normal s4€à × × Ð §4ÙØ Š?Ü “lˆGØ�|‰|˜tŸ}™}›Ñ.Ð.r2c ó €VPR8H#)z;Return True if self is a quiet NaN; otherwise return False.rKrorÚs&r0ræÚDecimal.is_qnan$ rqr2c ó €VP^8H#)z8Return True if self is negative; otherwise return False.)rMrÚs&r0Ú is_signedÚDecimal.is_signed( s€à�z‰z˜Q‰Ðr2c ó €VPR8H#)z?Return True if self is a signaling NaN; otherwise return False.rŸrorÚs&r0råÚDecimal.is_snan, rqr2c ó�€VP'g V'gR#Vf \4pVP4VP8#)z9Return True if self is subnormal; otherwise return False.F)r±rrïr�r;s&&r0Ú is_subnormalÚDecimal.is_subnormal0 s4€à × × Ð §4ÙØ Š?Ü “lˆGØ�}‰}‹ §¡Ñ-Ð-r2c óR€VP'*;'dVPR8H#)z6Return True if self is a zero; otherwise return False.rœrërÚs&r0Úis_zeroÚDecimal.is_zero8 s"€à×#Ñ#Ô#×8Ð8¨¯ © °SÑ(8Ð8r2c óp€VP\VP4,^, pV^8¼d*\\V^,^ ,44^, #VR8:d1\\RV, ^,^ ,44^, #\ V4pVP VP rCV^8XdJ\V^ V),, 4p\V4p\V4\V4, WV8, #V\\^ V),V, 44,^, #)z´Compute a lower bound for the adjusted exponent of self.ln(). In other words, compute r such that self.ln() >= 10**r. Assumes that self is finite and positive and that self != 1. rrÙ©r°r¯rNr©r´r™r›©r7rfr6r7r1ÚnumÚdens& r0Ú _ln_exp_boundÚDecimal._ln_exp_bound< sâ€ð�i‰iœ#˜dŸi™i›.Õ(¨1Õ,ˆØ �!Œ8ä”s˜3˜r�6 2�:“Ó'¨!Õ+Ð +Ø �"Œ9ä”s˜B˜s�F B�;¨�?Ó+Ó,¨qÕ0Ð 0Ü �d‹^ˆØ�v‰v�r—v‘vˆ1Ø �!Œ8ä�a˜˜Q˜B�•h“-ˆCÜ�a“&ˆCÜ�s“8œc #›hÕ&¨#©)Õ4Ð 4à”3”s˜2 ˜r�6 A�:“Ó'Õ'¨!Õ+Ð+r2c  ó@€Vf \4pVPVR7pV'dV#V'g\#VP4^8Xd\#V\ 8Xd\ #VP^8XdVP\R4#\V4pVPVPrTVPpW`P4, ^,p\WEV4pV^^ \!\#\%V444V, ^, ,,,'dM V^, pK_\'\V^84\#\%V44V)4pVP)4pVP+\,4p VP/V4pW‘nV#)z/Returns the natural (base e) logarithm of self.rzzln of a negative value)rrâÚ_NegativeInfinityrÛÚ _Infinityr rSrMr­r r´r™r›ror‰Ú_dlogr¯r©r³rLr4r5rrArn© r7r8rQr6r7r1rør*rÑrns && r0ÚlnÚ Decimal.lnU s`€ð Š?Ü “lˆGð×Ñ wÐÓ/ˆß ؈J÷Ü$Ð $ð × Ñ Ó  Ô "ÜÐ ð ”4Œ<܈Lð �:‰:˜Œ?Ø×'Ñ'Ô(8Ø(@óBð Bô�d‹^ˆØ�v‰v�r—v‘vˆ1Ø �L‰Lˆð×'Ñ'Ó)Õ)¨AÕ-ˆØÜ˜! Ó'ˆEà˜˜"œs¤3¤s¨5£z£?Ó3°AÕ5°aÕ7Õ8Õ8×9Ô9ØØ �a�KŠFÜœs 5¨¡7›|¬S´°U³«_¸v¸gÓFˆà×'Ñ'Ó)ˆØ×(Ñ(¬Ó9ˆØ�h‰h�wÓˆØ#ÔØˆ r2c ól€VP\VP4,^, pV^8¼d\\V44^, #VR8:d#\\RV, 44^, #\ V4pVP VP rCV^8XdX\V^ V),, 4p\^çV,4p\V4\V4, WV8, ^,#\^ V),V, 4p\V4V,VR8, ^, #)z¶Compute a lower bound for the adjusted exponent of self.log10(). In other words, find r such that self.log10() >= 10**r. Assumes that self is finite and positive and that self != 1. Ú231rrÙr…r†s& r0r ÚDecimal._log10_exp_bound‡ sä€ð�i‰iœ#˜dŸi™i›.Õ(¨1Õ,ˆØ �!Œ8ä”s˜3“x“= •?Ð "Ø �"Œ9ä”s˜2˜c�6“{Ó# AÕ%Ð %Ü �d‹^ˆØ�v‰v�r—v‘vˆ1Ø �!Œ8ä�a˜˜Q˜B�•h“-ˆCÜ�c˜!•e“*ˆCÜ�s“8œc #›hÕ&¨#©)Õ4°qÕ8Ð 8ä�"�q�b•&˜•(‹mˆÜ�3‹x˜!�|˜s U™{Õ+¨aÕ/Ð/r2c  ó.€Vf \4pVPVR7pV'dV#V'g\#VP4^8Xd\#VP ^8XdVP \R4#VP^,R8XdqVPR,R\VP4^, ,8Xd8\VP\VP4,^, 4pMÖ\V4pVPVPrTVPpW`P!4, ^,p\#WEV4pV^^ \\%\'V444V, ^, ,,,'dM V^, pK_\)\V^84\%\'V44V)4pVP+4pVP-\.4p VP1V4pW‘nV#)z&Returns the base 10 logarithm of self.rzzlog10 of a negative valuer\:r¤NNrœ)rrârŒrÛr�rMr­r rNr¯rr°r´r™r›ror Ú_dlog10r©r³rLr4r5rrArnr�s && r0Úlog10Ú Decimal.log10¥ s¥€ð Š?Ü “lˆGð×Ñ wÐÓ/ˆß ؈J÷Ü$Ð $ð × Ñ Ó  Ô "ÜÐ ð �:‰:˜Œ?Ø×'Ñ'Ô(8Ø(CóEð Eð �9‰9�Q�<˜3Ô  4§9¡9¨R¥=°C¼¸T¿Y¹Y»È!Õ9KÕ4LÔ#Lä˜$Ÿ)™)¤c¨$¯)©)£nÕ4°qÕ8Ó9‰Cô˜$“ˆBØ—6‘6˜2Ÿ6™6ˆqØ— ‘ ˆAð×,Ñ,Ó.Õ.¨qÕ0ˆFØÜ  fÓ-�à˜A˜b¤3¤s¬3¨u«:£Ó#7¸Õ#9¸!Õ#;Õ<Õ<×=Ô=ØØ˜!• ’Ü"¤3 u¨Q¡w£<´´S¸³Z³À6À'ÓJˆCà×'Ñ'Ó)ˆØ×(Ñ(¬Ó9ˆØ�h‰h�wÓˆØ#ÔØˆ r2c ó €VPVR7pV'dV#Vf \4pVP4'd\#V'gVP \ R^4#\ VP44pVPV4#)a$Returns the exponent of the magnitude of self's MSD. The result is the integer which is the exponent of the magnitude of the most significant digit of self (as though it were truncated to a single digit while maintaining the value of that digit and without limiting the resulting exponent). rzzlogb(0)) rârrÛr�r­r rrïrArBs&& r0ÚlogbÚ Decimal.logbØ s}€ð×Ñ wÐÓ/ˆß ؈Jà Š?Ü “lˆGð × Ñ × Ò ÜÐ ÷Ø×'Ñ'¬¸ À1ÓEÐ Eô �d—m‘m“oÓ&ˆØ�x‰x˜Ó Ð r2c óˆ€VP^8wgVP^8wdR#VPF pVR9gK R# R#)z·Return True if self is a logical operand. For being logical, it must be a finite number with a sign of 0, an exponent of 0, and a coefficient whose digits must all be either 0 or 1. FÚ01T)rMr°rN)r7Údigs& r0Ú _islogicalÚDecimal._islogicalö s9€ð �:‰:˜Œ?˜dŸi™i¨1œnÙØ—9”9ˆCؘ$ŽÚññr2có4€VP\V4, pV^8”dRV,V,pMV^8dW!P)RpVP\V4, pV^8”dRV,V,pW#3#V^8dW1P)RpW#3#)rJrœN)ror¯)r7r8ÚopaÚopbÚdifs&&&& r0Ú _fill_logicalÚDecimal._fill_logical sŽ€Ø�l‰lœS ›XÕ%ˆØ �Œ7Ø�c•'˜C•-‰CØ �1ŒWØ—|‘|�m�nÐ%ˆCØ�l‰lœS ›XÕ%ˆØ �Œ7Ø�c•'˜C•-ˆCðˆxˆð�1ŒWØ—|‘|�m�nÐ%ˆC؈xˆr2c  ó€Vf \4p\VRR7pVP4'dVP4'gVP\4#VP W P VP 4wr4RP\W44UUu.uF)wrV\\V4\V4,4NK+ upp4p\^VPR4;'gR^4#uuppi)zjApplies an 'and' operation between self and other's digits. Both self and other must be logical numbers. Trr—rœ© rrrŸr­r r¥rNr¸Úzipr©r™rLr²©r7rßr8r¢r£rÚbrÓs&&& r0Ú logical_andÚDecimal.logical_and óÀð Š?Ü “lˆGä˜u¨dÔ3ˆà�‰× Ò ¨×(8Ñ(8×(:Ò(:Ø×'Ñ'Ô(8Ó9Ð 9ð×'Ñ'¨·±¸E¿J¹JÓG‰ ˆð—‘¼¸C¼ ÔE¹ ±°œ#œc !›f¤S¨£V�mÖ,¹ ÒEÓFˆÜ  6§=¡=°Ó#5×#<Ð#<¸¸aÓ@Ð@ùóFóÂ/C; c óz€Vf \4pVP\^RVP,^4V4#)z9Invert all its digits. The self must be logical number. r\)rÚ logical_xorrLror;s&&r0Úlogical_invertÚDecimal.logical_invert% s;€ð Š?Ü “lˆGØ×ÑÔ 0°°3°w·|±|Õ3CÀAÓ FØ 'ó)ð )r2c  ó€Vf \4p\VRR7pVP4'dVP4'gVP\4#VP W P VP 4wr4RP\W44UUu.uF)wrV\\V4\V4,4NK+ upp4p\^VPR4;'gR^4#uuppi)ziApplies an 'or' operation between self and other's digits. Both self and other must be logical numbers. Trr—rœr¨rªs&&& r0Ú logical_orÚDecimal.logical_or/ r®r¯c  ó€Vf \4p\VRR7pVP4'dVP4'gVP\4#VP W P VP 4wr4RP\W44UUu.uF)wrV\\V4\V4, 4NK+ upp4p\^VPR4;'gR^4#uuppi)zjApplies an 'xor' operation between self and other's digits. Both self and other must be logical numbers. Trr—rœr¨rªs&&& r0r±ÚDecimal.logical_xorC r®r¯c óB€\VRR7pVf \4pVP'gVP'd€VP4pVP4pV'g V'dPV^8XdV^8XdVP V4#V^8XdV^8XdVP V4#VP W4#VP 4PVP 44pV^8XdVPV4pVR8XdTpMTpVP V4#©z8Compares the values numerically with their sign ignored.TrrÙ© rrr±rÖrArâr?rör=r>s&&& r0Úmax_magÚDecimal.max_magW së€ä˜u¨dÔ3ˆà Š?Ü “lˆGà × × Ð ˜u×0×0Ð0ð—‘“ˆBØ—‘“ˆBß—Rؘ”7˜r QœwØŸ9™9 WÓ-Ð-ؘ”7˜r QœwØ Ÿ:™: gÓ.Ð.Ø×'Ñ'¨Ó7Ð7à �M‰M‹O× Ñ  §¡Ó!1Ó 2ˆØ �Œ6Ø×"Ñ" 5Ó)ˆAà �Œ7؉CàˆCà�x‰x˜Ó Ð r2c óB€\VRR7pVf \4pVP'gVP'd€VP4pVP4pV'g V'dPV^8XdV^8XdVP V4#V^8XdV^8XdVP V4#VP W4#VP 4PVP 44pV^8XdVPV4pVR8XdTpMTpVP V4#rºr»r>s&&& r0Úmin_magÚDecimal.min_magu së€ä˜u¨dÔ3ˆà Š?Ü “lˆGà × × Ð ˜u×0×0Ð0ð—‘“ˆBØ—‘“ˆBß—Rؘ”7˜r QœwØŸ9™9 WÓ-Ð-ؘ”7˜r QœwØ Ÿ:™: gÓ.Ð.Ø×'Ñ'¨Ó7Ð7à �M‰M‹O× Ñ  §¡Ó!1Ó 2ˆØ �Œ6Ø×"Ñ" 5Ó)ˆAà �Œ7؉CàˆCà�x‰x˜Ó Ð r2c ó€Vf \4pVPVR7pV'dV#VP4R8Xd\#VP4^8Xd-\ ^RVP ,VP 44#VP4pVP\4VP4VPV4pW08wdV#VP\ ^RVP4^, 4V4#)z=Returns the largest representable number smaller than itself.rzrmr\rÙ)rrârÛrŒrLrorªr|r5rÚ_ignore_all_flagsrArVrb©r7r8rQÚnew_selfs&& r0Ú next_minusÚDecimal.next_minus“ sØ€à Š?Ü “lˆGà×Ñ wÐÓ/ˆß ؈Jà × Ñ Ó  Ô #Ü$Ð $Ø × Ñ Ó  Ô "Ü# A s¨7¯<©<Õ'7¸¿¹»ÓHÐ Hà—,‘,“.ˆØ×ÑœkÔ*Ø×!Ñ!Ô#Ø—9‘9˜WÓ%ˆØ Ô ØˆOØ�|‰|Ô,¨Q°°W·]±]³_ÀQÕ5FÓGØ#ó%ð %r2c ó€Vf \4pVPVR7pV'dV#VP4^8Xd\#VP4R8Xd-\ ^RVP ,VP 44#VP4pVP\4VP4VPV4pW08wdV#VP\ ^RVP4^, 4V4#)z=Returns the smallest representable number larger than itself.rzrmr\rÙ)rrârÛr�rLrorªr|r5rrÂrArSrbrÃs&& r0Ú next_plusÚDecimal.next_plusª sØ€à Š?Ü “lˆGà×Ñ wÐÓ/ˆß ؈Jà × Ñ Ó  Ô "ÜÐ Ø × Ñ Ó  Ô #Ü# A s¨7¯<©<Õ'7¸¿¹»ÓHÐ Hà—,‘,“.ˆØ×ÑœmÔ,Ø×!Ñ!Ô#Ø—9‘9˜WÓ%ˆØ Ô ØˆOØ�|‰|Ô,¨Q°°W·]±]³_ÀQÕ5FÓGØ#ó%ð %r2c óþ€\VRR7pVf \4pVPW4pV'dV#VPV4pV^8XdVP V4#VR8XdVP V4pMVP V4pVP4'dNVP\RVP4VP\4VP\4V#VP4VP8drVP\4VP\ 4VP\4VP\4V'gVP\"4V#)a[Returns the number closest to self, in the direction towards other. The result is the closest representable number to self (excluding self) that is in the direction towards other, unless both have the same value. If the two operands are numerically equal, then the result is a copy of self with the sign set to be the same as the sign of other. Trz Infinite result from next_towardrÙ)rrrârörbrÈrÅrÛr­rrMr r rïr�rrr )r7rßr8rQÚ comparisons&&& r0Ú next_towardÚDecimal.next_towardÁ s.€ô˜u¨dÔ3ˆà Š?Ü “lˆGà×јuÓ.ˆß ؈Jà—Y‘Y˜uÓ%ˆ Ø ˜Œ?Ø—>‘> %Ó(Ð (à ˜Ô Ø—.‘. Ó)‰Cà—/‘/ 'Ó*ˆCð �?‰?× Ò Ø × Ñ ¤Ø!CØ!$§¡ô ,ð × Ñ ¤Ô )Ø × Ñ ¤Ô )ðˆ ð�\‰\‹^˜gŸl™lÔ *Ø × Ñ ¤Ô +Ø × Ñ ¤Ô +Ø × Ñ ¤Ô )Ø × Ñ ¤Ô )÷Ø×$Ñ$¤WÔ-àˆ r2c ó¢€VP4'dR#VP4'dR#VP4pV^8XdR#VR 8XdR#VP4'dVP'dR#R#Vf \ 4pVP VR7'dVP'dR#R #VP'dR #R #) z»Returns an indication of the class of self. The class is one of the following strings: sNaN NaN -Infinity -Normal -Subnormal -Zero +Zero +Subnormal +Normal +Infinity rÞr/z +Infinityz -Infinityz-Zeroz+Zerorzz -Subnormalz +Subnormalz-Normalz+NormalrÙ)rårærÛr‚rMrr)r7r8Úinfs&& r0Ú number_classÚDecimal.number_classï sš€ð �<‰<�>Š>ÙØ �<‰<�>Š>ÙØ×ÑÓ ˆØ �!Œ8ÙØ �"Œ9ÙØ �<‰<�>Š>Ø�z�zˆzÙáØ Š?Ü “lˆGØ × Ñ  WÐ × -Ò -Ø�z�zˆzÙ#á#à �:�:ˆ:Ùár2c ó€\^ 4#)z'Just returns 10, as this is Decimal, :)ršrÚs&r0ÚradixÚ Decimal.radixs €ä�r‹{Ðr2c ó€Vf \4p\VRR7pVPW4pV'dV#VP^8wdVP \ 4#VP )\V4u;8:dVP 8:gMVP \ 4#VP4'd \V4#\V4pVPpVP \V4, pV^8”dRV,V,pM V^8dWV)RpWTRVRV,p\VPVPR4;'gRVP4#)z5Returns a rotated copy of self, value-of-other times.NTrrœ©rrrâr°r­r ror™rÛrrNr¯rLrMr²)r7rßr8rQÚtorotÚrotdigÚtopadÚrotateds&&& r0ÚrotateÚDecimal.rotates'€à Š?Ü “lˆGä˜u¨dÔ3ˆà×јuÓ.ˆß ؈Jà �:‰:˜Œ?Ø×'Ñ'Ô(8Ó9Ð 9Ø—‘� ¤ U£Ö;¨w¯|©|Ö;Ø×'Ñ'Ô(8Ó9Ð 9à × Ñ × Ò Ü˜4“=Ð ô�E“ ˆØ—‘ˆØ— ‘ œs 6›{Õ*ˆØ �1Œ9ؘ•Y Õ'‰FØ �QŒYؘF˜G�_ˆFð˜�. 6¨&¨5 >Õ1ˆÜ § ¡ Ø '§¡¨sÓ 3× :Ð :°s¸D¿I¹IóGð Gr2c ó†€Vf \4p\VRR7pVPW4pV'dV#VP^8wdVP \ 4#RVP VP,,p^VP VP,,pV\V4u;8:dV8:gMVP \ 4#VP4'd \V4#\VPVPVP\V4,4pVPV4pV#)z>Returns self operand after adding the second value to its exp.Trr)rrrâr°r­r rpror™rÛrrLrMrNrA)r7rßr8rQÚliminfÚlimsuprÒs&&& r0ÚscalebÚDecimal.scaleb>sî€à Š?Ü “lˆGä˜u¨dÔ3ˆà×јuÓ.ˆß ؈Jà �:‰:˜Œ?Ø×'Ñ'Ô(8Ó9Ð 9Ø�w—|‘| g§l¡lÕ2Õ3ˆØ�w—|‘| g§l¡lÕ2Õ3ˆØœ#˜e›*Ö.¨Ö.Ø×'Ñ'Ô(8Ó9Ð 9à × Ñ × Ò Ü˜4“=Ð ä ˜TŸZ™Z¨¯©°D·I±IÄÀEà Õ4JÓ KˆØ �F‰F�7‹OˆØˆr2c óþ€Vf \4p\VRR7pVPW4pV'dV#VP^8wdVP \ 4#VP )\V4u;8:dVP 8:gMVP \ 4#VP4'd \V4#\V4pVPpVP \V4, pV^8”dRV,V,pM V^8dWV)RpV^8dVRVpMVRV,,pWrP )Rp\VPVPR4;'gRVP4#)z5Returns a shifted copy of self, value-of-other times.NTrrœrÖ)r7rßr8rQr×rØrÙÚshifteds&&& r0rdÚ Decimal.shiftWsC€à Š?Ü “lˆGä˜u¨dÔ3ˆà×јuÓ.ˆß ؈Jà �:‰:˜Œ?Ø×'Ñ'Ô(8Ó9Ð 9Ø—‘� ¤ U£Ö;¨w¯|©|Ö;Ø×'Ñ'Ô(8Ó9Ð 9à × Ñ × Ò Ü˜4“=Ð ô�E“ ˆØ—‘ˆØ— ‘ œs 6›{Õ*ˆØ �1Œ9ؘ•Y Õ'‰FØ �QŒYؘF˜G�_ˆFð �1Œ9ؘV˜e�n‰Gà˜s 5�yÕ(ˆGØŸ|™|˜m˜nÐ-ˆGä § ¡ Ø$+§N¡N°3Ó$7×$>Ð$>¸3ÀÇ Á óKð Kr2có2€VP\V433#r-)Ú __class__r©rÚs&r0Ú __reduce__ÚDecimal.__reduce__~s€Ø—‘¤ T£  Ð-Ð-r2có`€\V4\JdV#VP\V44#r-©Útyperrær©rÚs&r0Ú__copy__ÚDecimal.__copy__�ó&€Ü �‹:œÓ ؈KØ�~‰~œc $›iÓ(Ð(r2có`€\V4\JdV#VP\V44#r-rê)r7Úmemos&&r0Ú __deepcopy__ÚDecimal.__deepcopy__†rîr2c óV€Vf \4p\WR7pVP'dS\VPV4p\ VP 44pVR,R8Xd VR, p\WVV4#VR,fRR.VP,VR&VR,R8Xd3\VPVPVP^,4pVPpVR,pVe„VR,R9dVPV^,V4pM[VR,R 9dVPV)V4pM9VR,R 9d,\VP4V8”dVPW‡4pV'g2VP^8”d!VR,R 9dVP^V4pV'g%VR ,'dVP'd^p M VPp VP\VP4,p VR,R9dV'gVe ^V, p M?^p MÕ"?Õ?ˆG؉Hà—i‘i   Ð*×1Ð1¨cˆGØ—y‘y  Ð+ˆHØÕ!ˆô˜m°hÀTÓJÐJr2)r°rNr±rM)r°rNrMr±)rœN)NNr-)FN)TN)†r<r=r>r?r@Ú __slots__r§Ú classmethodrÅr»rÖrÛrârèrìrörürrr r rrr!rÍr+r8r<rCrFrJrSÚ__radd__rVrYr_Ú__rmul__rgrmrprwrzr}r€r„r‡rŠr�r“Ú __trunc__Úpropertyr–r›ržr¢rOrAr¶r¹r½rÂrÆrÊrÍrÑr�r«r×rÚrÝrârîrrrrrÖr$rNr+r/rçÚ to_integralr9rMr%rårærïrLrOr=r[r?r@rbr›rirlr#rrurærzrårr‚r‰r�r r—ršrŸr¥r¬r²rµr±r¼r¿rÅrÈrÌrÐrÓrÛràrdrçrìrñrrArBrCs@r0rrÃsø‡€Ù6à6€Iô T@ðlñ Aóð Aðñ*óð*òX ò ôò@òB4ò-'ô@%ô$ô%ô$ô%ô)ò$(ò4Oò0òd+ô 2/ôh7ô!ô,!ô*ô,Tðl€Hô Bô4ô6ðn€Hô9!òvôB8ô"#ôH7ôô64ôI!ôV/ô89òò 7ð€Ià ñóððñóðòò$ò òZòLò'òò-ò-ò+ò+ò+ñ#Ø ØØ&Ø*Ø*Ø&Ø"Ø ô Ðô<6ò| 2ò 4ô*/ôXS4òjv?ôpVôp<ô@ô2;ôz 'ò 8òDô.ô:.ð"$€KôaôF(!ôT !òD%ò2ò òô 4ôFôR "òKòOô=ô IòVò$ò ò'ô/ò òò ô.ò9ò,ô20òd0ô<1ôf!ò< ò ôAô()ôAô(Aô(!ô<!ô<%ô.%ô.,ô\(òTôGôBô2$KòN.ò)ò )÷TKòTKr2cóh€\P\4pWnWnW$nW4nV#)z­Create a decimal instance directly, without any validation, normalization (e.g. removal of leading zeros) or argument conversion. This function is for *internal use only*. )r¦r§rrMrNr°r±)r\Ú coefficientrìÚspecialr7s&&&& r0rLrLãs,€ô �>‰>œ'Ó "€DØ„JØ„IØ„IØÔà €Kr2có6a€]tRtRtoRtRtRtRtRtVt R#)r€iûz�Context manager class to support localcontext(). Sets a copy of the supplied context in __enter__() and restores the previous decimal context in __exit__() có0€VP4VnR#r-)r|r…)r7r…s&&r0Ú__init__Ú_ContextManager.__init__s€Ø&×+Ñ+Ó-ˆÖr2cób€\4Vn\VP4VP#r-)rÚ saved_contextrr…rÚs&r0Ú __enter__Ú_ContextManager.__enter__s&€Ü'›\ˆÔÜ�4×#Ñ#Ô$Ø×ÑÐr2có0€\VP4R#r-)rr)r7ÚtÚvÚtbs&&&&r0Ú__exit__Ú_ContextManager.__exit__s€Ü�4×%Ñ%Ö&r2)r…rN) r<r=r>r?r@rrrrArBrCs@r0r€r€ûsø‡€ñò .ò ÷'ð'r2r€có&a€]tRtRtoRtRVRltRtRtRtRt R t R t R t R t R tRt]tRWRltRtRtRtRtRtRtRtRXRltRtRtRtRtRtRtRt Rt!Rt"R t#R!t$R"t%R#t&R$t'R%t(R&t)R't*R(t+R)t,R*t-R+t.R,t/R-t0R.t1R/t2R0t3R1t4R2t5R3t6R4t7R5t8R6t9R7t:R8t;R9tR<t?R=t@R>tAR?tBR@tCRAtDRBtERCtFRDtGREtHRWRFltIRGtJRHtKRItLRJtMRKtNRLtORMtPRNtQROtRRPtSRQtTRRtURStVRTtW]WtXRUtYVtZR#)Yri a£Contains the context for a Decimal instance. Contains: prec - precision (for use in rounding, division, square roots..) rounding - rounding type (how you round) traps - If traps[exception] = 1, then the exception is raised when it is caused. Otherwise, a value is substituted in. flags - When an exception is caused, flags[exception] is set. (Whether or not the trap_enabler is set) Should be reset by user of Decimal instance. Emin - Minimum exponent Emax - Maximum exponent capitals - If 1, 1*10^1 is printed as 1E+1. If 0, printed as 1e1 clamp - If 1, change exponents if too high (Default 0) Nc óaa€\p VeTM X PVnVeTM X PVnVeTM X PVnVeTM X P VnVeTM X P VnVeTM X PVnV f .VnMW�nSf!X PP4Vn MC\S\4'g'\V3Rl\S,44Vn MSVn Sf"\P\^4VnR#\S\4'g(\V3Rl\S,44VnR#SVnR# \dEL|i;i)Nc3óB<"€TFq\VS943x€K R#5ir-©r™)Ú.0r�r’s& €r0Ú Ú#Context.__init__..6óøé€ÐMÑØŒ|Ü Ð!BÀdÐRVÐE^Õ!^Ó_Ð_ðà �UŒ]ØŒ|Ü Ð!BÀdÐRVÐE^Õ!^Ó_Ð_ððŒ|˜uœ|Ü Ð!AÀTÐQUÐD]Õ!]Ó^Ð^Ü×!Ñ! $¨eÓ4Ð4r2có€\V\4'g\RV,4hVF pV\9dK\ RV,4h \FpW29dK \ RV,4h \ P WV4#)z%s must be a signal dictz%s is not a valid signal dict)r¨r�rƒr‘ÚKeyErrorr¦r.)r7r/rÒr‰s&&& r0Ú_set_signal_dictÚContext._set_signal_dictOsy€Ü˜!œT×"Ò"ÜÐ6¸Õ:Ó;Ð ;ÛˆCØœ(–?ÜÐ>ÀÕBÓCÐCñ÷ˆCØ–8ÜÐ>ÀÕBÓCÐCñô×!Ñ! $¨aÓ0Ð0r2có€VR8XdVPW^R4#VR8XdVPWR^4#VR8XdVPW^R4#VR8XdVPW^^4#VR8XdVPW^^4#VR8Xd4V\9g\RV,4h\P WV4#VR 8XgVR 8XdVP W4#VR 8Xd\P WV4#\ R V,4h) rorÏr�r-rpr4rŽrnz%s: invalid rounding moder r’r)z.'decimal.Context' object has no attribute '%s')r2Ú_rounding_modesrƒr¦r.r6ÚAttributeError)r7r/rŠs&&&r0r.ÚContext.__setattr__Zs€Ø �6Œ>Ø×*Ñ*¨4¸¸5ÓAÐ AØ �VŒ^Ø×*Ñ*¨4¸ÀÓBÐ BØ �VŒ^Ø×*Ñ*¨4¸¸5ÓAÐ AØ �ZÔ Ø×*Ñ*¨4¸¸1Ó=Ð =Ø �WŒ_Ø×*Ñ*¨4¸¸1Ó=Ð =Ø �ZÔ ØœOÔ+ô Ð ;¸eÕ CÓDÐDÜ×%Ñ% d°%Ó8Ð 8Ø �WŒ_ ¨¤Ø×(Ñ(¨Ó5Ð 5Ø Ð%Ô %Ü×%Ñ% d°%Ó8Ð 8ä Ø@À4ÕGóIð Ir2có&€\RV,4h)z%s cannot be deleted)r:)r7r/s&&r0Ú __delattr__ÚContext.__delattr__ss€ÜÐ3°dÕ:Ó;Ð;r2c ó˜€VPP4UUu.uFwrV'gKVNK pppVPP4UUu.uFwrV'gKVNK pppVPVPVP VP VPVPVPW433#uuppiuuppir-) r r�r’rærornr�rpr4rŽ)r7Úsigrr r’s& r0rçÚContext.__reduce__wsš€Ø#'§:¡:×#3Ñ#3Ô#5Ô;Ñ#5™˜¼—�Ñ#5ˆÑ;Ø#'§:¡:×#3Ñ#3Ô#5Ô;Ñ#5™˜¼—�Ñ#5ˆÑ;Ø—‘Ø—‘˜DŸM™M¨4¯9©9°d·i±iØ—‘ § ¡ ¨Eð:ð;ð ;ùó<ùÛ;sž C¯CÁ CÁ&Cc óL€.pVPR\V4,4VPP4UUu.uFwr#V'gKVPNK pppVPRRP V4,R,4VP P4UUu.uFwrSV'gKVPNK pppVPRRP V4,R,4RP V4R,#uuppiuuppi)zShow the current context.zrContext(prec=%(prec)d, rounding=%(rounding)s, Emin=%(Emin)d, Emax=%(Emax)d, capitals=%(capitals)d, clamp=%(clamp)dzflags=[ú, Ú]ztraps=[Ú))r·Úvarsr r�r<r¸r’)r7r�rÏrÚnamesrs& r0r+ÚContext.__repr__~sÜ€à ˆØ �‰ð#ô˜“:õô ð)-¯ © ×(8Ñ(8Ô(:Ô@Ñ(:¡ ¼a”�—”Ñ(:ˆÑ@Ø �‰�˜TŸY™Y uÓ-Õ-°Õ3Ô4Ø(,¯ © ×(8Ñ(8Ô(:Ô@Ñ(:¡ ¼a”�—”Ñ(:ˆÑ@Ø �‰�˜TŸY™Y uÓ-Õ-°Õ3Ô4Ø�y‰y˜‹|˜cÕ!Ð!ùó Aùã@sÁ DÁDÂ0 D ÃD c óJ€VPFp^VPV&K R#)zReset all flags to zeroN)r ©r7Úflags& r0r}ÚContext.clear_flags‹ó€à—J”JˆDØ ˆD�J‰J�tÓ ór2c óJ€VPFp^VPV&K R#)zReset all traps to zeroN)r’rJs& r0Ú clear_trapsÚContext.clear_traps�rMr2c  óà€\VPVPVPVPVP VP VPVPVP4 pV#)z!Returns a shallow copy from self.) rrornr�rpr4rŽr r’r)©r7Úncs& r0r4ÚContext._shallow_copy•sM€ä �T—Y‘Y § ¡ ¨t¯y©y¸$¿)¹)Ø—]‘] D§J¡J°· ± ¸D¿J¹JØ×(Ñ(ó*ˆðˆ r2c  ó€\VPVPVPVPVP VP VPP4VPP4VP4 pV#)zReturns a deep copy from self.) rrornr�rpr4rŽr r|r’r)rRs& r0r|Ú Context.copyœs\€ä �T—Y‘Y § ¡ ¨t¯y©y¸$¿)¹)Ø—]‘] D§J¡JØ—Z‘Z—_‘_Ó&¨¯ © ¯©Ó(9Ø×(Ñ(ó*ˆðˆ r2c ó€\PW4pW@P9dV!4P!V.VO5!#^VPV&VP V,'gV!4P!V.VO5!#V!V4h)zûHandles an error If the flag is in _ignored_flags, returns the default response. Otherwise, it sets the flag, then, if the corresponding trap_enabler is set, it reraises the exception. Otherwise, it returns the default value after setting the flag. )Ú_condition_maprwr)r9r r’)r7Ú conditionÚ explanationr/Úerrors&&&* r0r­ÚContext._raise_error¥sx€ô×"Ñ" 9Ó8ˆØ ×'Ñ'Ô 'á“7—>’> $Ð.¨Ó.Ð .àˆ� ‰ �5ÑØ�z‰z˜%× Ô á“;×%Ò% dÐ2¨TÓ2Ð 2ñ�KÓ Ð r2c ó(€VP!\#)z$Ignore all flags, if they are raised)Ú _ignore_flagsr‘rÚs&r0rÂÚContext._ignore_all_flags»s€à×!Ò!¤8Ð,Ð,r2c óZ€VP\V4,Vn\V4#)z$Ignore the flags, if they are raised)r)rµ)r7r s&*r0r^ÚContext._ignore_flags¿s%€ð $×2Ñ2´T¸%³[Õ@ˆÔÜ�E‹{Ðr2c ó¶€V'd-\V^,\\34'd V^,pVFpVPP V4K R#)z+Stop ignoring the flags, if they are raisedN)r¨r¶rµr)Úremove)r7r rKs&* r0Ú _regard_flagsÚContext._regard_flagsÆs@€ç ”Z  a¥¬5´¨,×7Ò7ؘ!•HˆEÛˆDØ × Ñ × &Ñ & tÖ ,ór2c ó\€\VPVP, ^,4#)z!Returns Etiny (= Emin - prec + 1))r™r�rorÚs&r0rbÚ Context.EtinyÐó€ä�4—9‘9˜tŸy™yÕ(¨1Õ,Ó-Ð-r2c ó\€\VPVP, ^,4#)z,Returns maximum exponent (= Emax - prec + 1))r™rprorÚs&r0rªÚ Context.EtopÔrhr2c ó*€VPpWnV#)aƒSets the rounding type. Sets the rounding type, and returns the current (previous) rounding type. Often used like: context = context.copy() # so you don't change the calling context # if an error occurs in the middle. rounding = context._set_rounding(ROUND_UP) val = self.__sub__(other, context=context) context._set_rounding(rounding) This will make it round up for that operation. )rn)r7rërns&& r0r5ÚContext._set_roundingØs€ð—=‘=ˆØŒ ؈r2c óŒ€\V\4'd2WP48wgRV9dVP\R4#\ WR7pVP 4'dL\VP4VPVP, 8”dVP\R4#VPV4#)z‹Creates a new Decimal instance but using self as context. This method implements the to-number operation of the IBM Decimal specification.r–zAtrailing or leading whitespace and underscores are not permitted.rzzdiagnostic info too long in NaN) r¨r©r«r­rrrÖr¯rNrorŽrA)r7r‡rÒs&& r0Úcreate_decimalÚContext.create_decimalësœ€ô �cœ3× Ò  S¯I©I«KÔ%7¸3À#¼:Ø×$Ñ$Ô%5ð&FóGð Gô �CÔ &ˆØ �8‰8�:Š:œ#˜aŸf™f›+¨¯ © °D·J±JÕ(>Ô>Ø×$Ñ$Ô%5Ø%FóHð Hà�v‰v�d‹|Ðr2c óN€\PV4pVPV4#)aCreates a new Decimal instance from a float but rounding using self as the context. >>> context = Context(prec=5, rounding=ROUND_DOWN) >>> context.create_decimal_from_float(3.1415926535897932) Decimal('3.1415') >>> context = Context(prec=5, traps=[Inexact]) >>> context.create_decimal_from_float(3.1415926535897932) Traceback (most recent call last): ... decimal.Inexact: None )rr»rA)r7rÏrÒs&& r0Úcreate_decimal_from_floatÚ!Context.create_decimal_from_floatüs"€ô × Ñ ˜qÓ !ˆØ�v‰v�d‹|Ðr2c ó@€\VRR7pVPVR7#)aëReturns the absolute value of the operand. If the operand is negative, the result is the same as using the minus operation on the operand. Otherwise, the result is the same as using the plus operation on the operand. >>> ExtendedContext.abs(Decimal('2.1')) Decimal('2.1') >>> ExtendedContext.abs(Decimal('-100')) Decimal('100') >>> ExtendedContext.abs(Decimal('101.5')) Decimal('101.5') >>> ExtendedContext.abs(Decimal('-101.5')) Decimal('101.5') >>> ExtendedContext.abs(-1) Decimal('1') Trrz)rrJ©r7rs&&r0r³Ú Context.abss!€ô$ ˜1 dÔ +ˆØ�y‰y ˆyÓ&Ð&r2c ó|€\VRR7pVPW R7pV\Jd\RV,4hV#)aSReturn the sum of the two operands. >>> ExtendedContext.add(Decimal('12'), Decimal('7.00')) Decimal('19.00') >>> ExtendedContext.add(Decimal('1E+2'), Decimal('1.01E+4')) Decimal('1.02E+4') >>> ExtendedContext.add(1, Decimal(2)) Decimal('3') >>> ExtendedContext.add(Decimal(8), 5) Decimal('13') >>> ExtendedContext.add(5, 5) Decimal('10') TrrzúUnable to convert %s to Decimal)rrSrûrƒ©r7rr«rls&&& r0ÚaddÚ Context.add#s>€ô ˜1 dÔ +ˆØ �I‰I�aˆIÓ &ˆØ ”Ó ÜÐ=ÀÕAÓBÐ BàˆHr2có6€\VPV44#r-)r©rArts&&r0Ú_applyÚContext._apply8s€Ü�1—6‘6˜$“<Ó Ð r2c ód€\V\4'g \R4hVP4#)zÓReturns the same Decimal object. As we do not have different encodings for the same number, the received object already is in its canonical form. >>> ExtendedContext.canonical(Decimal('2.50')) Decimal('2.50') z,canonical requires a Decimal as an argument.)r¨rrƒrLrts&&r0rLÚContext.canonical;s)€ô˜!œW×%Ò%ÜÐJÓKÐ KØ�{‰{‹}Ðr2c ó@€\VRR7pVPW R7#)a¥Compares values numerically. If the signs of the operands differ, a value representing each operand ('-1' if the operand is less than zero, '0' if the operand is zero or negative zero, or '1' if the operand is greater than zero) is used in place of that operand for the comparison instead of the actual operand. The comparison is then effected by subtracting the second operand from the first and then returning a value according to the result of the subtraction: '-1' if the result is less than zero, '0' if the result is zero or negative zero, or '1' if the result is greater than zero. >>> ExtendedContext.compare(Decimal('2.1'), Decimal('3')) Decimal('-1') >>> ExtendedContext.compare(Decimal('2.1'), Decimal('2.1')) Decimal('0') >>> ExtendedContext.compare(Decimal('2.1'), Decimal('2.10')) Decimal('0') >>> ExtendedContext.compare(Decimal('3'), Decimal('2.1')) Decimal('1') >>> ExtendedContext.compare(Decimal('2.1'), Decimal('-3')) Decimal('1') >>> ExtendedContext.compare(Decimal('-3'), Decimal('2.1')) Decimal('-1') >>> ExtendedContext.compare(1, 2) Decimal('-1') >>> ExtendedContext.compare(Decimal(1), 2) Decimal('-1') >>> ExtendedContext.compare(1, Decimal(2)) Decimal('-1') Trrz)rr©r7rr«s&&&r0rÚContext.compareHs"€ôD ˜1 dÔ +ˆØ�y‰y˜ˆyÓ)Ð)r2c ó@€\VRR7pVPW R7#)a8Compares the values of the two operands numerically. It's pretty much like compare(), but all NaNs signal, with signaling NaNs taking precedence over quiet NaNs. >>> c = ExtendedContext >>> c.compare_signal(Decimal('2.1'), Decimal('3')) Decimal('-1') >>> c.compare_signal(Decimal('2.1'), Decimal('2.1')) Decimal('0') >>> c.flags[InvalidOperation] = 0 >>> print(c.flags[InvalidOperation]) 0 >>> c.compare_signal(Decimal('NaN'), Decimal('2.1')) Decimal('NaN') >>> print(c.flags[InvalidOperation]) 1 >>> c.flags[InvalidOperation] = 0 >>> print(c.flags[InvalidOperation]) 0 >>> c.compare_signal(Decimal('sNaN'), Decimal('2.1')) Decimal('NaN') >>> print(c.flags[InvalidOperation]) 1 >>> c.compare_signal(-1, 2) Decimal('-1') >>> c.compare_signal(Decimal(-1), 2) Decimal('-1') >>> c.compare_signal(-1, Decimal(2)) Decimal('-1') Trrz)rrOr�s&&&r0rOÚContext.compare_signalms%€ô@ ˜1 dÔ +ˆØ×Ñ ÐÓ0Ð0r2c ó>€\VRR7pVPV4#)a|Compares two operands using their abstract representation. This is not like the standard compare, which use their numerical value. Note that a total ordering is defined for all possible abstract representations. >>> ExtendedContext.compare_total(Decimal('12.73'), Decimal('127.9')) Decimal('-1') >>> ExtendedContext.compare_total(Decimal('-127'), Decimal('12')) Decimal('-1') >>> ExtendedContext.compare_total(Decimal('12.30'), Decimal('12.3')) Decimal('-1') >>> ExtendedContext.compare_total(Decimal('12.30'), Decimal('12.30')) Decimal('0') >>> ExtendedContext.compare_total(Decimal('12.3'), Decimal('12.300')) Decimal('1') >>> ExtendedContext.compare_total(Decimal('12.3'), Decimal('NaN')) Decimal('-1') >>> ExtendedContext.compare_total(1, 2) Decimal('-1') >>> ExtendedContext.compare_total(Decimal(1), 2) Decimal('-1') >>> ExtendedContext.compare_total(1, Decimal(2)) Decimal('-1') Tr)rr=r�s&&&r0r=ÚContext.compare_total�s€ô4 ˜1 dÔ +ˆØ�‰˜qÓ!Ð!r2c ó>€\VRR7pVPV4#)z“Compares two operands using their abstract representation ignoring sign. Like compare_total, but with operand's sign ignored and assumed to be 0. Tr)rr[r�s&&&r0r[ÚContext.compare_total_mag­s!€ô ˜1 dÔ +ˆØ×"Ñ" 1Ó%Ð%r2c ó<€\VRR7pVP4#)zÞReturns a copy of the operand with the sign set to 0. >>> ExtendedContext.copy_abs(Decimal('2.1')) Decimal('2.1') >>> ExtendedContext.copy_abs(Decimal('-100')) Decimal('100') >>> ExtendedContext.copy_abs(-1) Decimal('1') Tr)rr?rts&&r0r?ÚContext.copy_abs¶s€ô ˜1 dÔ +ˆØ�z‰z‹|Ðr2c ó2€\VRR7p\V4#)zÜReturns a copy of the decimal object. >>> ExtendedContext.copy_decimal(Decimal('2.1')) Decimal('2.1') >>> ExtendedContext.copy_decimal(Decimal('-1.00')) Decimal('-1.00') >>> ExtendedContext.copy_decimal(1) Decimal('1') Tr)rrrts&&r0Ú copy_decimalÚContext.copy_decimalÃs€ô ˜1 dÔ +ˆÜ�q‹zÐr2c ó<€\VRR7pVP4#)zðReturns a copy of the operand with the sign inverted. >>> ExtendedContext.copy_negate(Decimal('101.5')) Decimal('-101.5') >>> ExtendedContext.copy_negate(Decimal('-101.5')) Decimal('101.5') >>> ExtendedContext.copy_negate(1) Decimal('-1') Tr)rr@rts&&r0r@ÚContext.copy_negateÐs€ô ˜1 dÔ +ˆØ�}‰}‹Ðr2c ó>€\VRR7pVPV4#)a‘Copies the second operand's sign to the first one. In detail, it returns a copy of the first operand with the sign equal to the sign of the second operand. >>> ExtendedContext.copy_sign(Decimal( '1.50'), Decimal('7.33')) Decimal('1.50') >>> ExtendedContext.copy_sign(Decimal('-1.50'), Decimal('7.33')) Decimal('1.50') >>> ExtendedContext.copy_sign(Decimal( '1.50'), Decimal('-7.33')) Decimal('-1.50') >>> ExtendedContext.copy_sign(Decimal('-1.50'), Decimal('-7.33')) Decimal('-1.50') >>> ExtendedContext.copy_sign(1, -2) Decimal('-1') >>> ExtendedContext.copy_sign(Decimal(1), -2) Decimal('-1') >>> ExtendedContext.copy_sign(1, Decimal(-2)) Decimal('-1') Tr)rrbr�s&&&r0rbÚContext.copy_signÝs€ô* ˜1 dÔ +ˆØ�{‰{˜1‹~Ðr2c ó|€\VRR7pVPW R7pV\Jd\RV,4hV#)a°Decimal division in a specified context. >>> ExtendedContext.divide(Decimal('1'), Decimal('3')) Decimal('0.333333333') >>> ExtendedContext.divide(Decimal('2'), Decimal('3')) Decimal('0.666666667') >>> ExtendedContext.divide(Decimal('5'), Decimal('2')) Decimal('2.5') >>> ExtendedContext.divide(Decimal('1'), Decimal('10')) Decimal('0.1') >>> ExtendedContext.divide(Decimal('12'), Decimal('12')) Decimal('1') >>> ExtendedContext.divide(Decimal('8.00'), Decimal('2')) Decimal('4.00') >>> ExtendedContext.divide(Decimal('2.400'), Decimal('2.0')) Decimal('1.20') >>> ExtendedContext.divide(Decimal('1000'), Decimal('100')) Decimal('10') >>> ExtendedContext.divide(Decimal('1000'), Decimal('1')) Decimal('1000') >>> ExtendedContext.divide(Decimal('2.40E+6'), Decimal('2')) Decimal('1.20E+6') >>> ExtendedContext.divide(5, 5) Decimal('1') >>> ExtendedContext.divide(Decimal(5), 5) Decimal('1') >>> ExtendedContext.divide(5, Decimal(5)) Decimal('1') Trrzrw)rrgrûrƒrxs&&& r0ÚdivideÚContext.divideõs>€ô< ˜1 dÔ +ˆØ �M‰M˜!ˆMÓ *ˆØ ”Ó ÜÐ=ÀÕAÓBÐ BàˆHr2c ó|€\VRR7pVPW R7pV\Jd\RV,4hV#)aÇDivides two numbers and returns the integer part of the result. >>> ExtendedContext.divide_int(Decimal('2'), Decimal('3')) Decimal('0') >>> ExtendedContext.divide_int(Decimal('10'), Decimal('3')) Decimal('3') >>> ExtendedContext.divide_int(Decimal('1'), Decimal('0.3')) Decimal('3') >>> ExtendedContext.divide_int(10, 3) Decimal('3') >>> ExtendedContext.divide_int(Decimal(10), 3) Decimal('3') >>> ExtendedContext.divide_int(10, Decimal(3)) Decimal('3') Trrzrw)rr‡rûrƒrxs&&& r0Ú divide_intÚContext.divide_ints>€ô ˜1 dÔ +ˆØ �N‰N˜1ˆNÓ +ˆØ ”Ó ÜÐ=ÀÕAÓBÐ BàˆHr2c ó|€\VRR7pVPW R7pV\Jd\RV,4hV#)a…Return (a // b, a % b). >>> ExtendedContext.divmod(Decimal(8), Decimal(3)) (Decimal('2'), Decimal('2')) >>> ExtendedContext.divmod(Decimal(8), Decimal(4)) (Decimal('2'), Decimal('0')) >>> ExtendedContext.divmod(8, 4) (Decimal('2'), Decimal('0')) >>> ExtendedContext.divmod(Decimal(8), 4) (Decimal('2'), Decimal('0')) >>> ExtendedContext.divmod(8, Decimal(4)) (Decimal('2'), Decimal('0')) Trrzrw)rrwrûrƒrxs&&& r0rcÚContext.divmod1s>€ô ˜1 dÔ +ˆØ �L‰L˜ˆLÓ )ˆØ ”Ó ÜÐ=ÀÕAÓBÐ BàˆHr2c ó@€\VRR7pVPVR7#)a“Returns e ** a. >>> c = ExtendedContext.copy() >>> c.Emin = -999 >>> c.Emax = 999 >>> c.exp(Decimal('-Infinity')) Decimal('0') >>> c.exp(Decimal('-1')) Decimal('0.367879441') >>> c.exp(Decimal('0')) Decimal('1') >>> c.exp(Decimal('1')) Decimal('2.71828183') >>> c.exp(Decimal('0.693147181')) Decimal('2.00000000') >>> c.exp(Decimal('+Infinity')) Decimal('Infinity') >>> c.exp(10) Decimal('22026.4658') Trrz)rr›rts&&r0r›Ú Context.expFs!€ô* ˜! TÔ *ˆØ�u‰u˜TˆuÓ"Ð"r2c óB€\VRR7pVPW#VR7#)aŒReturns a multiplied by b, plus c. The first two operands are multiplied together, using multiply, the third operand is then added to the result of that multiplication, using add, all with only one final rounding. >>> ExtendedContext.fma(Decimal('3'), Decimal('5'), Decimal('7')) Decimal('22') >>> ExtendedContext.fma(Decimal('3'), Decimal('-5'), Decimal('7')) Decimal('-8') >>> ExtendedContext.fma(Decimal('888565290'), Decimal('1557.96930'), Decimal('-86087.7578')) Decimal('1.38435736E+12') >>> ExtendedContext.fma(1, 3, 4) Decimal('7') >>> ExtendedContext.fma(1, Decimal(3), 4) Decimal('7') >>> ExtendedContext.fma(1, 3, Decimal(4)) Decimal('7') Trrz)rrâ)r7rr«r7s&&&&r0râÚ Context.fma^s#€ô( ˜1 dÔ +ˆØ�u‰u�Q 4ˆuÓ(Ð(r2c ód€\V\4'g \R4hVP4#)zêReturn True if the operand is canonical; otherwise return False. Currently, the encoding of a Decimal instance is always canonical, so this method returns True for any Decimal. >>> ExtendedContext.is_canonical(Decimal('2.50')) True z/is_canonical requires a Decimal as an argument.)r¨rrƒrirts&&r0riÚContext.is_canonicalus*€ô˜!œW×%Ò%ÜÐMÓNÐ NØ�~‰~ÓÐr2c ó<€\VRR7pVP4#)a´Return True if the operand is finite; otherwise return False. A Decimal instance is considered finite if it is neither infinite nor a NaN. >>> ExtendedContext.is_finite(Decimal('2.50')) True >>> ExtendedContext.is_finite(Decimal('-0.3')) True >>> ExtendedContext.is_finite(Decimal('0')) True >>> ExtendedContext.is_finite(Decimal('Inf')) False >>> ExtendedContext.is_finite(Decimal('NaN')) False >>> ExtendedContext.is_finite(1) True Tr)rrlrts&&r0rlÚContext.is_finite‚s€ô& ˜1 dÔ +ˆØ�{‰{‹}Ðr2c ó<€\VRR7pVP4#)a Return True if the operand is infinite; otherwise return False. >>> ExtendedContext.is_infinite(Decimal('2.50')) False >>> ExtendedContext.is_infinite(Decimal('-Inf')) True >>> ExtendedContext.is_infinite(Decimal('NaN')) False >>> ExtendedContext.is_infinite(1) False Tr)rr#rts&&r0r#ÚContext.is_infinite˜s€ô ˜1 dÔ +ˆØ�}‰}‹Ðr2c ó<€\VRR7pVP4#)zÿReturn True if the operand is a qNaN or sNaN; otherwise return False. >>> ExtendedContext.is_nan(Decimal('2.50')) False >>> ExtendedContext.is_nan(Decimal('NaN')) True >>> ExtendedContext.is_nan(Decimal('-sNaN')) True >>> ExtendedContext.is_nan(1) False Tr)rrrts&&r0rÚContext.is_nan§s€ô ˜1 dÔ +ˆØ�x‰x‹zÐr2c ó@€\VRR7pVPVR7#)agReturn True if the operand is a normal number; otherwise return False. >>> c = ExtendedContext.copy() >>> c.Emin = -999 >>> c.Emax = 999 >>> c.is_normal(Decimal('2.50')) True >>> c.is_normal(Decimal('0.1E-999')) False >>> c.is_normal(Decimal('0.00')) False >>> c.is_normal(Decimal('-Inf')) False >>> c.is_normal(Decimal('NaN')) False >>> c.is_normal(1) True Trrz)rrurts&&r0ruÚContext.is_normal·s!€ô( ˜1 dÔ +ˆØ�{‰{ 4ˆ{Ó(Ð(r2c ó<€\VRR7pVP4#)aReturn True if the operand is a quiet NaN; otherwise return False. >>> ExtendedContext.is_qnan(Decimal('2.50')) False >>> ExtendedContext.is_qnan(Decimal('NaN')) True >>> ExtendedContext.is_qnan(Decimal('sNaN')) False >>> ExtendedContext.is_qnan(1) False Tr)rrærts&&r0ræÚContext.is_qnanÎs€ô ˜1 dÔ +ˆØ�y‰y‹{Ðr2c ó<€\VRR7pVP4#)a)Return True if the operand is negative; otherwise return False. >>> ExtendedContext.is_signed(Decimal('2.50')) False >>> ExtendedContext.is_signed(Decimal('-12')) True >>> ExtendedContext.is_signed(Decimal('-0')) True >>> ExtendedContext.is_signed(8) False >>> ExtendedContext.is_signed(-8) True Tr)rrzrts&&r0rzÚContext.is_signedÝs€ô ˜1 dÔ +ˆØ�{‰{‹}Ðr2c ó<€\VRR7pVP4#)aReturn True if the operand is a signaling NaN; otherwise return False. >>> ExtendedContext.is_snan(Decimal('2.50')) False >>> ExtendedContext.is_snan(Decimal('NaN')) False >>> ExtendedContext.is_snan(Decimal('sNaN')) True >>> ExtendedContext.is_snan(1) False Tr)rrårts&&r0råÚContext.is_snanîs€ô ˜1 dÔ +ˆØ�y‰y‹{Ðr2c ó@€\VRR7pVPVR7#)atReturn True if the operand is subnormal; otherwise return False. >>> c = ExtendedContext.copy() >>> c.Emin = -999 >>> c.Emax = 999 >>> c.is_subnormal(Decimal('2.50')) False >>> c.is_subnormal(Decimal('0.1E-999')) True >>> c.is_subnormal(Decimal('0.00')) False >>> c.is_subnormal(Decimal('-Inf')) False >>> c.is_subnormal(Decimal('NaN')) False >>> c.is_subnormal(1) False Trrz)rrrts&&r0rÚContext.is_subnormalþs!€ô& ˜1 dÔ +ˆØ�~‰~ dˆ~Ó+Ð+r2c ó<€\VRR7pVP4#)aReturn True if the operand is a zero; otherwise return False. >>> ExtendedContext.is_zero(Decimal('0')) True >>> ExtendedContext.is_zero(Decimal('2.50')) False >>> ExtendedContext.is_zero(Decimal('-0E+2')) True >>> ExtendedContext.is_zero(1) False >>> ExtendedContext.is_zero(0) True Tr)rr‚rts&&r0r‚ÚContext.is_zeros€ô ˜1 dÔ +ˆØ�y‰y‹{Ðr2c ó@€\VRR7pVPVR7#)a~Returns the natural (base e) logarithm of the operand. >>> c = ExtendedContext.copy() >>> c.Emin = -999 >>> c.Emax = 999 >>> c.ln(Decimal('0')) Decimal('-Infinity') >>> c.ln(Decimal('1.000')) Decimal('0') >>> c.ln(Decimal('2.71828183')) Decimal('1.00000000') >>> c.ln(Decimal('10')) Decimal('2.30258509') >>> c.ln(Decimal('+Infinity')) Decimal('Infinity') >>> c.ln(1) Decimal('0') Trrz)rr�rts&&r0r�Ú Context.ln%s!€ô& ˜1 dÔ +ˆØ�t‰t˜DˆtÓ!Ð!r2c ó@€\VRR7pVPVR7#)a÷Returns the base 10 logarithm of the operand. >>> c = ExtendedContext.copy() >>> c.Emin = -999 >>> c.Emax = 999 >>> c.log10(Decimal('0')) Decimal('-Infinity') >>> c.log10(Decimal('0.001')) Decimal('-3') >>> c.log10(Decimal('1.000')) Decimal('0') >>> c.log10(Decimal('2')) Decimal('0.301029996') >>> c.log10(Decimal('10')) Decimal('1') >>> c.log10(Decimal('70')) Decimal('1.84509804') >>> c.log10(Decimal('+Infinity')) Decimal('Infinity') >>> c.log10(0) Decimal('-Infinity') >>> c.log10(1) Decimal('0') Trrz)rr—rts&&r0r—Ú Context.log10;s!€ô2 ˜1 dÔ +ˆØ�w‰w˜tˆwÓ$Ð$r2c ó@€\VRR7pVPVR7#)a›Returns the exponent of the magnitude of the operand's MSD. The result is the integer which is the exponent of the magnitude of the most significant digit of the operand (as though the operand were truncated to a single digit while maintaining the value of that digit and without limiting the resulting exponent). >>> ExtendedContext.logb(Decimal('250')) Decimal('2') >>> ExtendedContext.logb(Decimal('2.50')) Decimal('0') >>> ExtendedContext.logb(Decimal('0.03')) Decimal('-2') >>> ExtendedContext.logb(Decimal('0')) Decimal('-Infinity') >>> ExtendedContext.logb(1) Decimal('0') >>> ExtendedContext.logb(10) Decimal('1') >>> ExtendedContext.logb(100) Decimal('2') Trrz)rršrts&&r0ršÚ Context.logbWs!€ô. ˜1 dÔ +ˆØ�v‰v˜dˆvÓ#Ð#r2c ó@€\VRR7pVPW R7#)aôApplies the logical operation 'and' between each operand's digits. The operands must be both logical numbers. >>> ExtendedContext.logical_and(Decimal('0'), Decimal('0')) Decimal('0') >>> ExtendedContext.logical_and(Decimal('0'), Decimal('1')) Decimal('0') >>> ExtendedContext.logical_and(Decimal('1'), Decimal('0')) Decimal('0') >>> ExtendedContext.logical_and(Decimal('1'), Decimal('1')) Decimal('1') >>> ExtendedContext.logical_and(Decimal('1100'), Decimal('1010')) Decimal('1000') >>> ExtendedContext.logical_and(Decimal('1111'), Decimal('10')) Decimal('10') >>> ExtendedContext.logical_and(110, 1101) Decimal('100') >>> ExtendedContext.logical_and(Decimal(110), 1101) Decimal('100') >>> ExtendedContext.logical_and(110, Decimal(1101)) Decimal('100') Trrz)rr¬r�s&&&r0r¬ÚContext.logical_andqó!€ô0 ˜1 dÔ +ˆØ�}‰}˜Qˆ}Ó-Ð-r2c ó@€\VRR7pVPVR7#)a«Invert all the digits in the operand. The operand must be a logical number. >>> ExtendedContext.logical_invert(Decimal('0')) Decimal('111111111') >>> ExtendedContext.logical_invert(Decimal('1')) Decimal('111111110') >>> ExtendedContext.logical_invert(Decimal('111111111')) Decimal('0') >>> ExtendedContext.logical_invert(Decimal('101010101')) Decimal('10101010') >>> ExtendedContext.logical_invert(1101) Decimal('111110010') Trrz)rr²rts&&r0r²ÚContext.logical_invertŒs$€ô ˜1 dÔ +ˆØ×ѨÐÓ-Ð-r2c ó@€\VRR7pVPW R7#)aïApplies the logical operation 'or' between each operand's digits. The operands must be both logical numbers. >>> ExtendedContext.logical_or(Decimal('0'), Decimal('0')) Decimal('0') >>> ExtendedContext.logical_or(Decimal('0'), Decimal('1')) Decimal('1') >>> ExtendedContext.logical_or(Decimal('1'), Decimal('0')) Decimal('1') >>> ExtendedContext.logical_or(Decimal('1'), Decimal('1')) Decimal('1') >>> ExtendedContext.logical_or(Decimal('1100'), Decimal('1010')) Decimal('1110') >>> ExtendedContext.logical_or(Decimal('1110'), Decimal('10')) Decimal('1110') >>> ExtendedContext.logical_or(110, 1101) Decimal('1111') >>> ExtendedContext.logical_or(Decimal(110), 1101) Decimal('1111') >>> ExtendedContext.logical_or(110, Decimal(1101)) Decimal('1111') Trrz)rrµr�s&&&r0rµÚContext.logical_orŸs!€ô0 ˜1 dÔ +ˆØ�|‰|˜Aˆ|Ó,Ð,r2c ó@€\VRR7pVPW R7#)aøApplies the logical operation 'xor' between each operand's digits. The operands must be both logical numbers. >>> ExtendedContext.logical_xor(Decimal('0'), Decimal('0')) Decimal('0') >>> ExtendedContext.logical_xor(Decimal('0'), Decimal('1')) Decimal('1') >>> ExtendedContext.logical_xor(Decimal('1'), Decimal('0')) Decimal('1') >>> ExtendedContext.logical_xor(Decimal('1'), Decimal('1')) Decimal('0') >>> ExtendedContext.logical_xor(Decimal('1100'), Decimal('1010')) Decimal('110') >>> ExtendedContext.logical_xor(Decimal('1111'), Decimal('10')) Decimal('1101') >>> ExtendedContext.logical_xor(110, 1101) Decimal('1011') >>> ExtendedContext.logical_xor(Decimal(110), 1101) Decimal('1011') >>> ExtendedContext.logical_xor(110, Decimal(1101)) Decimal('1011') Trrz)rr±r�s&&&r0r±ÚContext.logical_xorºrºr2c ó@€\VRR7pVPW R7#)amax compares two values numerically and returns the maximum. If either operand is a NaN then the general rules apply. Otherwise, the operands are compared as though by the compare operation. If they are numerically equal then the left-hand operand is chosen as the result. Otherwise the maximum (closer to positive infinity) of the two operands is chosen as the result. >>> ExtendedContext.max(Decimal('3'), Decimal('2')) Decimal('3') >>> ExtendedContext.max(Decimal('-10'), Decimal('3')) Decimal('3') >>> ExtendedContext.max(Decimal('1.0'), Decimal('1')) Decimal('1') >>> ExtendedContext.max(Decimal('7'), Decimal('NaN')) Decimal('7') >>> ExtendedContext.max(1, 2) Decimal('2') >>> ExtendedContext.max(Decimal(1), 2) Decimal('2') >>> ExtendedContext.max(1, Decimal(2)) Decimal('2') Trrz)rrMr�s&&&r0rMÚ Context.maxÕó!€ô0 ˜1 dÔ +ˆØ�u‰u�QˆuÓ%Ð%r2c ó@€\VRR7pVPW R7#)aoCompares the values numerically with their sign ignored. >>> ExtendedContext.max_mag(Decimal('7'), Decimal('NaN')) Decimal('7') >>> ExtendedContext.max_mag(Decimal('7'), Decimal('-10')) Decimal('-10') >>> ExtendedContext.max_mag(1, -2) Decimal('-2') >>> ExtendedContext.max_mag(Decimal(1), -2) Decimal('-2') >>> ExtendedContext.max_mag(1, Decimal(-2)) Decimal('-2') Trrz)rr¼r�s&&&r0r¼ÚContext.max_magðó!€ô ˜1 dÔ +ˆØ�y‰y˜ˆyÓ)Ð)r2c ó@€\VRR7pVPW R7#)amin compares two values numerically and returns the minimum. If either operand is a NaN then the general rules apply. Otherwise, the operands are compared as though by the compare operation. If they are numerically equal then the left-hand operand is chosen as the result. Otherwise the minimum (closer to negative infinity) of the two operands is chosen as the result. >>> ExtendedContext.min(Decimal('3'), Decimal('2')) Decimal('2') >>> ExtendedContext.min(Decimal('-10'), Decimal('3')) Decimal('-10') >>> ExtendedContext.min(Decimal('1.0'), Decimal('1')) Decimal('1.0') >>> ExtendedContext.min(Decimal('7'), Decimal('NaN')) Decimal('7') >>> ExtendedContext.min(1, 2) Decimal('1') >>> ExtendedContext.min(Decimal(1), 2) Decimal('1') >>> ExtendedContext.min(1, Decimal(29)) Decimal('1') Trrz)rr%r�s&&&r0r%Ú Context.minrÃr2c ó@€\VRR7pVPW R7#)alCompares the values numerically with their sign ignored. >>> ExtendedContext.min_mag(Decimal('3'), Decimal('-2')) Decimal('-2') >>> ExtendedContext.min_mag(Decimal('-3'), Decimal('NaN')) Decimal('-3') >>> ExtendedContext.min_mag(1, -2) Decimal('1') >>> ExtendedContext.min_mag(Decimal(1), -2) Decimal('1') >>> ExtendedContext.min_mag(1, Decimal(-2)) Decimal('1') Trrz)rr¿r�s&&&r0r¿ÚContext.min_magrÆr2c ó@€\VRR7pVPVR7#)a~Minus corresponds to unary prefix minus in Python. The operation is evaluated using the same rules as subtract; the operation minus(a) is calculated as subtract('0', a) where the '0' has the same exponent as the operand. >>> ExtendedContext.minus(Decimal('1.3')) Decimal('-1.3') >>> ExtendedContext.minus(Decimal('-1.3')) Decimal('1.3') >>> ExtendedContext.minus(1) Decimal('-1') Trrz)rrCrts&&r0ÚminusÚ Context.minus-ó!€ô ˜1 dÔ +ˆØ�y‰y ˆyÓ&Ð&r2c ó|€\VRR7pVPW R7pV\Jd\RV,4hV#)a8multiply multiplies two operands. If either operand is a special value then the general rules apply. Otherwise, the operands are multiplied together ('long multiplication'), resulting in a number which may be as long as the sum of the lengths of the two operands. >>> ExtendedContext.multiply(Decimal('1.20'), Decimal('3')) Decimal('3.60') >>> ExtendedContext.multiply(Decimal('7'), Decimal('3')) Decimal('21') >>> ExtendedContext.multiply(Decimal('0.9'), Decimal('0.8')) Decimal('0.72') >>> ExtendedContext.multiply(Decimal('0.9'), Decimal('-0')) Decimal('-0.0') >>> ExtendedContext.multiply(Decimal('654321'), Decimal('654321')) Decimal('4.28135971E+11') >>> ExtendedContext.multiply(7, 7) Decimal('49') >>> ExtendedContext.multiply(Decimal(7), 7) Decimal('49') >>> ExtendedContext.multiply(7, Decimal(7)) Decimal('49') Trrzrw)rr_rûrƒrxs&&& r0ÚmultiplyÚContext.multiply>s>€ô2 ˜1 dÔ +ˆØ �I‰I�aˆIÓ &ˆØ ”Ó ÜÐ=ÀÕAÓBÐ BàˆHr2c ó@€\VRR7pVPVR7#)a²Returns the largest representable number smaller than a. >>> c = ExtendedContext.copy() >>> c.Emin = -999 >>> c.Emax = 999 >>> ExtendedContext.next_minus(Decimal('1')) Decimal('0.999999999') >>> c.next_minus(Decimal('1E-1007')) Decimal('0E-1007') >>> ExtendedContext.next_minus(Decimal('-1.00000003')) Decimal('-1.00000004') >>> c.next_minus(Decimal('Infinity')) Decimal('9.99999999E+999') >>> c.next_minus(1) Decimal('0.999999999') Trrz)rrÅrts&&r0rÅÚContext.next_minus^s!€ô" ˜1 dÔ +ˆØ�|‰| Dˆ|Ó)Ð)r2c ó@€\VRR7pVPVR7#)a¯Returns the smallest representable number larger than a. >>> c = ExtendedContext.copy() >>> c.Emin = -999 >>> c.Emax = 999 >>> ExtendedContext.next_plus(Decimal('1')) Decimal('1.00000001') >>> c.next_plus(Decimal('-1E-1007')) Decimal('-0E-1007') >>> ExtendedContext.next_plus(Decimal('-1.00000003')) Decimal('-1.00000002') >>> c.next_plus(Decimal('-Infinity')) Decimal('-9.99999999E+999') >>> c.next_plus(1) Decimal('1.00000001') Trrz)rrÈrts&&r0rÈÚContext.next_plusrs!€ô" ˜1 dÔ +ˆØ�{‰{ 4ˆ{Ó(Ð(r2c ó@€\VRR7pVPW R7#)aÔReturns the number closest to a, in direction towards b. The result is the closest representable number from the first operand (but not the first operand) that is in the direction towards the second operand, unless the operands have the same value. >>> c = ExtendedContext.copy() >>> c.Emin = -999 >>> c.Emax = 999 >>> c.next_toward(Decimal('1'), Decimal('2')) Decimal('1.00000001') >>> c.next_toward(Decimal('-1E-1007'), Decimal('1')) Decimal('-0E-1007') >>> c.next_toward(Decimal('-1.00000003'), Decimal('0')) Decimal('-1.00000002') >>> c.next_toward(Decimal('1'), Decimal('0')) Decimal('0.999999999') >>> c.next_toward(Decimal('1E-1007'), Decimal('-100')) Decimal('0E-1007') >>> c.next_toward(Decimal('-1.00000003'), Decimal('-10')) Decimal('-1.00000004') >>> c.next_toward(Decimal('0.00'), Decimal('-0.0000')) Decimal('-0.00') >>> c.next_toward(0, 1) Decimal('1E-1007') >>> c.next_toward(Decimal(0), 1) Decimal('1E-1007') >>> c.next_toward(0, Decimal(1)) Decimal('1E-1007') Trrz)rrÌr�s&&&r0rÌÚContext.next_toward†s"€ô@ ˜1 dÔ +ˆØ�}‰}˜Qˆ}Ó-Ð-r2c ó@€\VRR7pVPVR7#)a+normalize reduces an operand to its simplest form. Essentially a plus operation with all trailing zeros removed from the result. >>> ExtendedContext.normalize(Decimal('2.1')) Decimal('2.1') >>> ExtendedContext.normalize(Decimal('-2.0')) Decimal('-2') >>> ExtendedContext.normalize(Decimal('1.200')) Decimal('1.2') >>> ExtendedContext.normalize(Decimal('-120')) Decimal('-1.2E+2') >>> ExtendedContext.normalize(Decimal('120.00')) Decimal('1.2E+2') >>> ExtendedContext.normalize(Decimal('0.00')) Decimal('0') >>> ExtendedContext.normalize(6) Decimal('6') Trrz)rrrts&&r0rÚContext.normalize©s!€ô* ˜1 dÔ +ˆØ�{‰{ 4ˆ{Ó(Ð(r2c ó@€\VRR7pVPVR7#)aŠReturns an indication of the class of the operand. The class is one of the following strings: -sNaN -NaN -Infinity -Normal -Subnormal -Zero +Zero +Subnormal +Normal +Infinity >>> c = ExtendedContext.copy() >>> c.Emin = -999 >>> c.Emax = 999 >>> c.number_class(Decimal('Infinity')) '+Infinity' >>> c.number_class(Decimal('1E-10')) '+Normal' >>> c.number_class(Decimal('2.50')) '+Normal' >>> c.number_class(Decimal('0.1E-999')) '+Subnormal' >>> c.number_class(Decimal('0')) '+Zero' >>> c.number_class(Decimal('-0')) '-Zero' >>> c.number_class(Decimal('-0.1E-999')) '-Subnormal' >>> c.number_class(Decimal('-1E-10')) '-Normal' >>> c.number_class(Decimal('-2.50')) '-Normal' >>> c.number_class(Decimal('-Infinity')) '-Infinity' >>> c.number_class(Decimal('NaN')) 'NaN' >>> c.number_class(Decimal('-NaN')) 'NaN' >>> c.number_class(Decimal('sNaN')) 'sNaN' >>> c.number_class(123) '+Normal' Trrz)rrÐrts&&r0rÐÚContext.number_classÁs"€ô^ ˜1 dÔ +ˆØ�~‰~ dˆ~Ó+Ð+r2c ó@€\VRR7pVPVR7#)aoPlus corresponds to unary prefix plus in Python. The operation is evaluated using the same rules as add; the operation plus(a) is calculated as add('0', a) where the '0' has the same exponent as the operand. >>> ExtendedContext.plus(Decimal('1.3')) Decimal('1.3') >>> ExtendedContext.plus(Decimal('-1.3')) Decimal('-1.3') >>> ExtendedContext.plus(-1) Decimal('-1') Trrz)rrFrts&&r0ÚplusÚ Context.plusórÎr2c ó~€\VRR7pVPW#VR7pV\Jd\RV,4hV#)aÿRaises a to the power of b, to modulo if given. With two arguments, compute a**b. If a is negative then b must be integral. The result will be inexact unless b is integral and the result is finite and can be expressed exactly in 'precision' digits. With three arguments, compute (a**b) % modulo. For the three argument form, the following restrictions on the arguments hold: - all three arguments must be integral - b must be nonnegative - at least one of a or b must be nonzero - modulo must be nonzero and have at most 'precision' digits The result of pow(a, b, modulo) is identical to the result that would be obtained by computing (a**b) % modulo with unbounded precision, but is computed more efficiently. It is always exact. >>> c = ExtendedContext.copy() >>> c.Emin = -999 >>> c.Emax = 999 >>> c.power(Decimal('2'), Decimal('3')) Decimal('8') >>> c.power(Decimal('-2'), Decimal('3')) Decimal('-8') >>> c.power(Decimal('2'), Decimal('-3')) Decimal('0.125') >>> c.power(Decimal('1.7'), Decimal('8')) Decimal('69.7575744') >>> c.power(Decimal('10'), Decimal('0.301029996')) Decimal('2.00000000') >>> c.power(Decimal('Infinity'), Decimal('-1')) Decimal('0') >>> c.power(Decimal('Infinity'), Decimal('0')) Decimal('1') >>> c.power(Decimal('Infinity'), Decimal('1')) Decimal('Infinity') >>> c.power(Decimal('-Infinity'), Decimal('-1')) Decimal('-0') >>> c.power(Decimal('-Infinity'), Decimal('0')) Decimal('1') >>> c.power(Decimal('-Infinity'), Decimal('1')) Decimal('-Infinity') >>> c.power(Decimal('-Infinity'), Decimal('2')) Decimal('Infinity') >>> c.power(Decimal('0'), Decimal('0')) Decimal('NaN') >>> c.power(Decimal('3'), Decimal('7'), Decimal('16')) Decimal('11') >>> c.power(Decimal('-3'), Decimal('7'), Decimal('16')) Decimal('-11') >>> c.power(Decimal('-3'), Decimal('8'), Decimal('16')) Decimal('1') >>> c.power(Decimal('3'), Decimal('7'), Decimal('-16')) Decimal('11') >>> c.power(Decimal('23E12345'), Decimal('67E189'), Decimal('123456789')) Decimal('11729830') >>> c.power(Decimal('-0'), Decimal('17'), Decimal('1729')) Decimal('-0') >>> c.power(Decimal('-23'), Decimal('0'), Decimal('65537')) Decimal('1') >>> ExtendedContext.power(7, 7) Decimal('823543') >>> ExtendedContext.power(Decimal(7), 7) Decimal('823543') >>> ExtendedContext.power(7, Decimal(7), 2) Decimal('1') Trrzrw)rrrûrƒ)r7rr«rérls&&&& r0ÚpowerÚ Context.powersA€ôR ˜1 dÔ +ˆØ �I‰I�a¨ˆIÓ .ˆØ ”Ó ÜÐ=ÀÕAÓBÐ BàˆHr2c ó@€\VRR7pVPW R7#)a�Returns a value equal to 'a' (rounded), having the exponent of 'b'. The coefficient of the result is derived from that of the left-hand operand. It may be rounded using the current rounding setting (if the exponent is being increased), multiplied by a positive power of ten (if the exponent is being decreased), or is unchanged (if the exponent is already equal to that of the right-hand operand). Unlike other operations, if the length of the coefficient after the quantize operation would be greater than precision then an Invalid operation condition is raised. This guarantees that, unless there is an error condition, the exponent of the result of a quantize is always equal to that of the right-hand operand. Also unlike other operations, quantize will never raise Underflow, even if the result is subnormal and inexact. >>> ExtendedContext.quantize(Decimal('2.17'), Decimal('0.001')) Decimal('2.170') >>> ExtendedContext.quantize(Decimal('2.17'), Decimal('0.01')) Decimal('2.17') >>> ExtendedContext.quantize(Decimal('2.17'), Decimal('0.1')) Decimal('2.2') >>> ExtendedContext.quantize(Decimal('2.17'), Decimal('1e+0')) Decimal('2') >>> ExtendedContext.quantize(Decimal('2.17'), Decimal('1e+1')) Decimal('0E+1') >>> ExtendedContext.quantize(Decimal('-Inf'), Decimal('Infinity')) Decimal('-Infinity') >>> ExtendedContext.quantize(Decimal('2'), Decimal('Infinity')) Decimal('NaN') >>> ExtendedContext.quantize(Decimal('-0.1'), Decimal('1')) Decimal('-0') >>> ExtendedContext.quantize(Decimal('-0'), Decimal('1e+5')) Decimal('-0E+5') >>> ExtendedContext.quantize(Decimal('+35236450.6'), Decimal('1e-2')) Decimal('NaN') >>> ExtendedContext.quantize(Decimal('-35236450.6'), Decimal('1e-2')) Decimal('NaN') >>> ExtendedContext.quantize(Decimal('217'), Decimal('1e-1')) Decimal('217.0') >>> ExtendedContext.quantize(Decimal('217'), Decimal('1e-0')) Decimal('217') >>> ExtendedContext.quantize(Decimal('217'), Decimal('1e+1')) Decimal('2.2E+2') >>> ExtendedContext.quantize(Decimal('217'), Decimal('1e+2')) Decimal('2E+2') >>> ExtendedContext.quantize(1, 2) Decimal('1') >>> ExtendedContext.quantize(Decimal(1), 2) Decimal('1') >>> ExtendedContext.quantize(1, Decimal(2)) Decimal('1') Trrz)rrÖr�s&&&r0rÖÚContext.quantizeTs"€ôn ˜1 dÔ +ˆØ�z‰z˜!ˆzÓ*Ð*r2c ó€\^ 4#)zSJust returns 10, as this is Decimal, :) >>> ExtendedContext.radix() Decimal('10') ršrÚs&r0rÓÚ Context.radixŽs€ô �r‹{Ðr2c ó|€\VRR7pVPW R7pV\Jd\RV,4hV#)aFReturns the remainder from integer division. The result is the residue of the dividend after the operation of calculating integer division as described for divide-integer, rounded to precision digits if necessary. The sign of the result, if non-zero, is the same as that of the original dividend. This operation will fail under the same conditions as integer division (that is, if integer division on the same two operands would fail, the remainder cannot be calculated). >>> ExtendedContext.remainder(Decimal('2.1'), Decimal('3')) Decimal('2.1') >>> ExtendedContext.remainder(Decimal('10'), Decimal('3')) Decimal('1') >>> ExtendedContext.remainder(Decimal('-10'), Decimal('3')) Decimal('-1') >>> ExtendedContext.remainder(Decimal('10.2'), Decimal('1')) Decimal('0.2') >>> ExtendedContext.remainder(Decimal('10'), Decimal('0.3')) Decimal('0.1') >>> ExtendedContext.remainder(Decimal('3.6'), Decimal('1.3')) Decimal('1.0') >>> ExtendedContext.remainder(22, 6) Decimal('4') >>> ExtendedContext.remainder(Decimal(22), 6) Decimal('4') >>> ExtendedContext.remainder(22, Decimal(6)) Decimal('4') Trrzrw)rr}rûrƒrxs&&& r0reÚContext.remainder–s>€ô> ˜1 dÔ +ˆØ �I‰I�aˆIÓ &ˆØ ”Ó ÜÐ=ÀÕAÓBÐ BàˆHr2c ó@€\VRR7pVPW R7#)aoReturns to be "a - b * n", where n is the integer nearest the exact value of "x / b" (if two integers are equally near then the even one is chosen). If the result is equal to 0 then its sign will be the sign of a. This operation will fail under the same conditions as integer division (that is, if integer division on the same two operands would fail, the remainder cannot be calculated). >>> ExtendedContext.remainder_near(Decimal('2.1'), Decimal('3')) Decimal('-0.9') >>> ExtendedContext.remainder_near(Decimal('10'), Decimal('6')) Decimal('-2') >>> ExtendedContext.remainder_near(Decimal('10'), Decimal('3')) Decimal('1') >>> ExtendedContext.remainder_near(Decimal('-10'), Decimal('3')) Decimal('-1') >>> ExtendedContext.remainder_near(Decimal('10.2'), Decimal('1')) Decimal('0.2') >>> ExtendedContext.remainder_near(Decimal('10'), Decimal('0.3')) Decimal('0.1') >>> ExtendedContext.remainder_near(Decimal('3.6'), Decimal('1.3')) Decimal('-0.3') >>> ExtendedContext.remainder_near(3, 11) Decimal('3') >>> ExtendedContext.remainder_near(Decimal(3), 11) Decimal('3') >>> ExtendedContext.remainder_near(3, Decimal(11)) Decimal('3') Trrz)rr„r�s&&&r0r„ÚContext.remainder_near¼s$€ô> ˜1 dÔ +ˆØ×Ñ ÐÓ0Ð0r2c ó@€\VRR7pVPW R7#)ažReturns a rotated copy of a, b times. The coefficient of the result is a rotated copy of the digits in the coefficient of the first operand. The number of places of rotation is taken from the absolute value of the second operand, with the rotation being to the left if the second operand is positive or to the right otherwise. >>> ExtendedContext.rotate(Decimal('34'), Decimal('8')) Decimal('400000003') >>> ExtendedContext.rotate(Decimal('12'), Decimal('9')) Decimal('12') >>> ExtendedContext.rotate(Decimal('123456789'), Decimal('-2')) Decimal('891234567') >>> ExtendedContext.rotate(Decimal('123456789'), Decimal('0')) Decimal('123456789') >>> ExtendedContext.rotate(Decimal('123456789'), Decimal('+2')) Decimal('345678912') >>> ExtendedContext.rotate(1333333, 1) Decimal('13333330') >>> ExtendedContext.rotate(Decimal(1333333), 1) Decimal('13333330') >>> ExtendedContext.rotate(1333333, Decimal(1)) Decimal('13333330') Trrz)rrÛr�s&&&r0rÛÚContext.rotateÞs!€ô4 ˜1 dÔ +ˆØ�x‰x˜ˆxÓ(Ð(r2c ó>€\VRR7pVPV4#)aUReturns True if the two operands have the same exponent. The result is never affected by either the sign or the coefficient of either operand. >>> ExtendedContext.same_quantum(Decimal('2.17'), Decimal('0.001')) False >>> ExtendedContext.same_quantum(Decimal('2.17'), Decimal('0.01')) True >>> ExtendedContext.same_quantum(Decimal('2.17'), Decimal('1')) False >>> ExtendedContext.same_quantum(Decimal('Inf'), Decimal('-Inf')) True >>> ExtendedContext.same_quantum(10000, -1) True >>> ExtendedContext.same_quantum(Decimal(10000), -1) True >>> ExtendedContext.same_quantum(10000, Decimal(-1)) True Tr)rr$r�s&&&r0r$ÚContext.same_quantumûs€ô* ˜1 dÔ +ˆØ�~‰~˜aÓ Ð r2c ó@€\VRR7pVPW R7#)aËReturns the first operand after adding the second value its exp. >>> ExtendedContext.scaleb(Decimal('7.50'), Decimal('-2')) Decimal('0.0750') >>> ExtendedContext.scaleb(Decimal('7.50'), Decimal('0')) Decimal('7.50') >>> ExtendedContext.scaleb(Decimal('7.50'), Decimal('3')) Decimal('7.50E+3') >>> ExtendedContext.scaleb(1, 4) Decimal('1E+4') >>> ExtendedContext.scaleb(Decimal(1), 4) Decimal('1E+4') >>> ExtendedContext.scaleb(1, Decimal(4)) Decimal('1E+4') Trrz)rràr�s&&&r0ràÚContext.scalebs!€ô ˜1 dÔ +ˆØ�x‰x˜ˆxÓ(Ð(r2c ó@€\VRR7pVPW R7#)aÃReturns a shifted copy of a, b times. The coefficient of the result is a shifted copy of the digits in the coefficient of the first operand. The number of places to shift is taken from the absolute value of the second operand, with the shift being to the left if the second operand is positive or to the right otherwise. Digits shifted into the coefficient are zeros. >>> ExtendedContext.shift(Decimal('34'), Decimal('8')) Decimal('400000000') >>> ExtendedContext.shift(Decimal('12'), Decimal('9')) Decimal('0') >>> ExtendedContext.shift(Decimal('123456789'), Decimal('-2')) Decimal('1234567') >>> ExtendedContext.shift(Decimal('123456789'), Decimal('0')) Decimal('123456789') >>> ExtendedContext.shift(Decimal('123456789'), Decimal('+2')) Decimal('345678900') >>> ExtendedContext.shift(88888888, 2) Decimal('888888800') >>> ExtendedContext.shift(Decimal(88888888), 2) Decimal('888888800') >>> ExtendedContext.shift(88888888, Decimal(2)) Decimal('888888800') Trrz)rrdr�s&&&r0rdÚ Context.shift&s!€ô6 ˜1 dÔ +ˆØ�w‰w�qˆwÓ'Ð'r2c ó@€\VRR7pVPVR7#)aÞSquare root of a non-negative number to context precision. If the result must be inexact, it is rounded using the round-half-even algorithm. >>> ExtendedContext.sqrt(Decimal('0')) Decimal('0') >>> ExtendedContext.sqrt(Decimal('-0')) Decimal('-0') >>> ExtendedContext.sqrt(Decimal('0.39')) Decimal('0.624499800') >>> ExtendedContext.sqrt(Decimal('100')) Decimal('10') >>> ExtendedContext.sqrt(Decimal('1')) Decimal('1') >>> ExtendedContext.sqrt(Decimal('1.0')) Decimal('1.0') >>> ExtendedContext.sqrt(Decimal('1.00')) Decimal('1.0') >>> ExtendedContext.sqrt(Decimal('7')) Decimal('2.64575131') >>> ExtendedContext.sqrt(Decimal('10')) Decimal('3.16227766') >>> ExtendedContext.sqrt(2) Decimal('1.41421356') >>> ExtendedContext.prec 9 Trrz)rr9rts&&r0r9Ú Context.sqrtDs!€ô: ˜1 dÔ +ˆØ�v‰v˜dˆvÓ#Ð#r2c ó|€\VRR7pVPW R7pV\Jd\RV,4hV#)a¾Return the difference between the two operands. >>> ExtendedContext.subtract(Decimal('1.3'), Decimal('1.07')) Decimal('0.23') >>> ExtendedContext.subtract(Decimal('1.3'), Decimal('1.30')) Decimal('0.00') >>> ExtendedContext.subtract(Decimal('1.3'), Decimal('2.07')) Decimal('-0.77') >>> ExtendedContext.subtract(8, 5) Decimal('3') >>> ExtendedContext.subtract(Decimal(8), 5) Decimal('3') >>> ExtendedContext.subtract(8, Decimal(5)) Decimal('3') Trrzrw)rrVrûrƒrxs&&& r0ÚsubtractÚContext.subtractds>€ô ˜1 dÔ +ˆØ �I‰I�aˆIÓ &ˆØ ”Ó ÜÐ=ÀÕAÓBÐ BàˆHr2c ó@€\VRR7pVPVR7#)aíConvert to a string, using engineering notation if an exponent is needed. Engineering notation has an exponent which is a multiple of 3. This can leave up to 3 digits to the left of the decimal place and may require the addition of either one or two trailing zeros. The operation is not affected by the context. >>> ExtendedContext.to_eng_string(Decimal('123E+1')) '1.23E+3' >>> ExtendedContext.to_eng_string(Decimal('123E+3')) '123E+3' >>> ExtendedContext.to_eng_string(Decimal('123E-10')) '12.3E-9' >>> ExtendedContext.to_eng_string(Decimal('-123E-12')) '-123E-12' >>> ExtendedContext.to_eng_string(Decimal('7E-7')) '700E-9' >>> ExtendedContext.to_eng_string(Decimal('7E+1')) '70' >>> ExtendedContext.to_eng_string(Decimal('0E+1')) '0.00E+3' Trrz)rr<rts&&r0r<ÚContext.to_eng_string{s!€ô2 ˜1 dÔ +ˆØ�‰ tˆÓ,Ð,r2c ó@€\VRR7pVPVR7#)ziConverts a number to a string, using scientific notation. The operation is not affected by the context. Trrz)rr8rts&&r0Ú to_sci_stringÚContext.to_sci_string—s!€ô ˜1 dÔ +ˆØ�y‰y ˆyÓ&Ð&r2c ó@€\VRR7pVPVR7#)a³Rounds to an integer. When the operand has a negative exponent, the result is the same as using the quantize() operation using the given operand as the left-hand-operand, 1E+0 as the right-hand-operand, and the precision of the operand as the precision setting; Inexact and Rounded flags are allowed in this operation. The rounding mode is taken from the context. >>> ExtendedContext.to_integral_exact(Decimal('2.1')) Decimal('2') >>> ExtendedContext.to_integral_exact(Decimal('100')) Decimal('100') >>> ExtendedContext.to_integral_exact(Decimal('100.0')) Decimal('100') >>> ExtendedContext.to_integral_exact(Decimal('101.5')) Decimal('102') >>> ExtendedContext.to_integral_exact(Decimal('-101.5')) Decimal('-102') >>> ExtendedContext.to_integral_exact(Decimal('10E+5')) Decimal('1.0E+6') >>> ExtendedContext.to_integral_exact(Decimal('7.89E+77')) Decimal('7.89E+77') >>> ExtendedContext.to_integral_exact(Decimal('-Inf')) Decimal('-Infinity') Trrz)rr/rts&&r0r/ÚContext.to_integral_exactŸs$€ô6 ˜1 dÔ +ˆØ×"Ñ"¨4Ð"Ó0Ð0r2c ó@€\VRR7pVPVR7#)aœRounds to an integer. When the operand has a negative exponent, the result is the same as using the quantize() operation using the given operand as the left-hand-operand, 1E+0 as the right-hand-operand, and the precision of the operand as the precision setting, except that no flags will be set. The rounding mode is taken from the context. >>> ExtendedContext.to_integral_value(Decimal('2.1')) Decimal('2') >>> ExtendedContext.to_integral_value(Decimal('100')) Decimal('100') >>> ExtendedContext.to_integral_value(Decimal('100.0')) Decimal('100') >>> ExtendedContext.to_integral_value(Decimal('101.5')) Decimal('102') >>> ExtendedContext.to_integral_value(Decimal('-101.5')) Decimal('-102') >>> ExtendedContext.to_integral_value(Decimal('10E+5')) Decimal('1.0E+6') >>> ExtendedContext.to_integral_value(Decimal('7.89E+77')) Decimal('7.89E+77') >>> ExtendedContext.to_integral_value(Decimal('-Inf')) Decimal('-Infinity') Trrz)rrçrts&&r0rçÚContext.to_integral_value½s$€ô4 ˜1 dÔ +ˆØ×"Ñ"¨4Ð"Ó0Ð0r2) rpr�r)r4rŽr rornr’) NNNNNNNNNr-)rœ)[r<r=r>r?r@rr2r6r.r=rçr+r}rOr4r|rìr­rÂr^rdrrbrªr5rnrqr³ryr|rLrrOr=r[r?rŒr@rbr“r–rcr›rârirlr#rrurærzrårr‚r�r—ršr¬r²rµr±rMr¼r%r¿rÌrÐrÅrÈrÌrrÐrÝràrÖrÓrer„rÛr$ràrdr9rõr<rúr/rçr rArBrCs@r0rr sÂø‡€ñô$"òH 5ò 1òIò2<ò;ò "ò!ò !ò òð€Hô!ò,-òò-ð€Hò.ò.òô&ò"ò$'ò*ò*!ò ò#*òJ!1òF"ò:&ò ò ò òò0#òJò.ò*#ò0)ò.  òò, òò )ò. òò"ò ,ò,ò""ò,%ò8$ò4.ò6.ò&-ò6.ò6&ò6*ò"&ò6*ò"'ò"ò@*ò()ò(!.òF)ò00,òd'ô"Nò`8+òtò$òL 1òD)ò:!ò0)ò&(ò<$ò@ò.-ò8'ò1ò<1ð<$†Kr2có4a€]tRtRtoRtRRltRtRtVtR#)r´iÝNcó8€VfRVn^VnRVnR#\V\4'd?VP Vn\VP 4VnVPVnR#V^,VnV^,VnV^,VnR#r-)r\r™r›r¨rrMrNr°)r7rŠs&&r0rÚ_WorkRep.__init__ãsq€Ø Š=؈DŒI؈DŒH؈DŽHÜ ˜œw× 'Ò 'ØŸ ™ ˆDŒIܘ5Ÿ:™:“ˆDŒHØ—z‘zˆDŽHð˜a�ˆDŒIؘQ•xˆDŒHؘQ•xˆDŽHr2có\€RVP: RVP: RVP: R2#)Ú(rCrE©r\r™r›rÚs&r0r+Ú_WorkRep.__repr__òs�Ø!%§¤¨D¯H¬H°d·h´hÐ?Ð?r2)r›r™r\rr-) r<r=r>r?rrr+rArBrCs@r0r´r´Ýsø‡€Ø$€Iô  ÷@ð@r2r´có €VPVP8dTpTpMTpTp\\VP44p\\VP44pVP\ RWR, ^, 4,pWdP,^, V8d^VnWtnV;P^ VPVP, ,,unVPVnW3#)z[Normalizes op1, op2 to have the same exp and length of coefficient. Done during addition. rÙ)r›r¯r©r™r%)rQrRroÚtmprßÚtmp_lenÚ other_lenr›s&&& r0rOrO÷s¼€ð  ‡w�w�—‘ÔØˆØ‰àˆØˆô”#�c—g‘g“,Ó€GÜ”C˜Ÿ ™ “NÓ#€IØ �'‰'”C˜˜G�N¨QÕ.Ó/Õ /€CØ—9‘9Õ˜qÕ  3Ô&؈Œ ØŒ à‡G‚Gˆr�c—g‘g § ¡ Õ)Õ*Õ*…GØ�i‰i€C„GØ ˆ8€Or2cóò€V^8Xd^#V^8¼dV^ V,,#\\V44p\V4\VPR44, pW1)8dR#V^ V),,#)zýGiven integers n and e, return n * 10**e if it's an integer, else None. The computation is designed to avoid computing large powers of 10 unnecessarily. >>> _decimal_lshift_exact(3, 4) 30000 >>> _decimal_lshift_exact(300, -999999999) # returns None rœN)r©r³r¯Úrstrip)rKr1Ústr_nÚval_ns&& r0rörösi€ð ˆA„vÙØ ˆaŒØ�2�q•5�yÐô”C˜“F“ ˆÜ�E“ œS §¡¨cÓ!2Ó3Õ3ˆØ˜r”zˆtÐ2 q¨B°°­F¥{Ð2r2có|€V^8:gV^8:d \R4h^pW8wdYV)V,, ^, rK V#)zãClosest integer to the square root of the positive integer n. a is an initial approximation to the square root. Any positive integer will do for a, but the closer a is to the square root of n the faster convergence will be. z3Both arguments to _sqrt_nearest should be positive.)rŒ)rKrr«s&& r0Ú _sqrt_nearestr,s?€ð ˆA„v��a”ÜÐNÓOÐOà€AØ Œ&Ø�Q�B˜•E•'˜1•*Š1Ø €Hr2có~€^V,W, r2V^W^, ,,V^,,V8„,#)z�Given an integer x and a nonnegative integer shift, return closest integer to x / 2**shift; use round-to-even in case of a tie. r.)rùrdr«rks&& r0Ú_rshift_nearestr;s4€ð ��:�q•z€qØ ��1˜!�•9•   1¥Õ%¨Ñ)Õ *Ð*r2có^€\W4wr#V^V,V^,,V8„,#)zYClosest integer to a/b, a and b positive integers; rounds to even in the case of a tie. )rc)rr«rkrls&& r0Ú _div_nearestrCs*€ô �!‹<�D€AØ ��!•�q˜•s• ˜a‘Õ Ð r2c óh€W, p^pWB8:d\V4W$, ,V8¼g$WB8”di\V4WB, , V8¼dL\W,^,V\W\W44,,V4,4pV^, pK‘\ R\ \ V44,^V,,4)p\W44p\W4p\V^, ^R4F%p\W4\Wg,V4, pK' \Ws,V4#)a­Integer approximation to M*log(x/M), with absolute error boundable in terms only of x/M. Given positive integers x and M, return an integer approximation to M * log(x/M). For L = 8 and 0.1 <= x/M <= 10 the difference between the approximation and the exact result is at most 22. For L = 8 and 1.0 <= x/M <= 10.0 the difference is at most 15. In both cases these are upper bounds on the error; it will usually be much smaller.éöÿÿÿrÙ)r³rrrr™r¯r©rè) rùÚMÚLrüÚRÚTÚyshiftÚwrÐs &&& r0Ú_ilogrKsì€ð< �€Aà €AØ Œ6”c˜!“f ¥•m qÔ(Ø Œ5”S˜“V˜q�s•] aÔ'Ü ˜!�# !�Øœ]¨1´ÀÓ0EÕ.EÕ+FÈÓJÕJó Lˆà ˆQ�Šô ˆS””S˜“V“�_˜q �sÕ #Ó $Ð$€AÜ ˜QÓ "€FÜ�QÓ€AÜ �1�Q•3˜˜2Ö ˆÜ ˜Ó ¤¨f­h¸Ó!:Õ :Šñô ˜�˜QÓ Ðr2có´€V^, p\\V44pW,W,^8¬, pV^8”dv^ V,pW,V, pV^8¼dV^ V,,pM\V^ V),4p\W4p\ V4p\Wu,V4pWE,p M^p\V^ V),4p \W—,^d4#)z¶Given integers c, e and p with c > 0, p >= 0, compute an integer approximation to 10**p * log10(c*10**e), with an absolute error of at most 1. Assumes that c*10**e is not exactly 1.)r¯r©rrÚ _log10_digits) r7r1rør8rÏrrÐÚlog_dÚlog_10Ú log_tenpowers &&& r0r–r–{s¾€ðˆ…F€Aô ŒC�‹F‹ €AØ �ˆq�s�a‰xÕ€Aàˆ1„uØ ��EˆØ �C��EˆØ �Œ6Ø ��Q•�J‰Aä˜Q  Q B¥Ó'ˆAä�a“ ˆÜ˜qÓ!ˆÜ˜U�W fÓ-ˆØ•s‰ àˆÜ# A r¨A¨2¥vÓ.ˆ ä ˜ Õ*¨CÓ 0Ð0r2có€V^, p\\V44pW,W,^8¬, pV^8”dPW,V, pV^8¼dV^ V,,pM\V^ V),4p\V^ V,4pM^pV'd_\\\ V444^, pW',^8¼d+\V\ W',4,^ V,4pM^pM^p\W†,^d4#)z¬Given integers c, e and p with c > 0, compute an integer approximation to 10**p * log(c*10**e), with an absolute error of at most 1. Assumes that c*10**e is not exactly 1.)r¯r©rrr³r) r7r1rør8rÏrÐr rÚ f_log_tens &&& r0rŽrŽ�s߀ðˆ…F€Aô ŒC�‹F‹ €AØ �ˆq�s�a‰xÕ€Að ˆ1„uØ �C��EˆØ �Œ6Ø ��Q•�J‰Aä˜Q  Q B¥Ó'ˆAô�a˜˜Q�“‰ðˆ÷ Ü”Cœ˜A›“KÓ  Õ"ˆØ �9˜Œ>ô% Q¤}°QµWÓ'=Õ%=¸rÀ5½yÓI‰Ià‰Iàˆ ô ˜ Õ)¨3Ó /Ð/r2có0a€]tRtRtoRtRtRtRtVtR#)Ú _Log10MemoizeiÉz¶Class to compute, store, and allow retrieval of, digits of the constant log(10) = 2.302585.... This constant is needed by Decimal.ln, Decimal.log10, Decimal.exp and Decimal.__pow__.có€RVnR#)Ú/23025850929940456840179914546843642076011014886N©rÀrÚs&r0rÚ_Log10Memoize.__init__Ís €ØGˆŽ r2c ó‚€V^8d \R4hV\VP48¼dv^p^ W,^,,p\\ \ ^ V,V4^d44pWB)RRV,8wdM V^, pKZVP R4RRVn\VPRV^,4#)zdGiven an integer p >= 0, return floor(10**p)*log(10). For example, self.getdigits(3) returns 2302. zp should be nonnegativeNrœrÙ)rŒr¯rÀr©rrr r™)r7rørrrÀs&& r0Ú getdigitsÚ_Log10Memoize.getdigitsÐs­€ð ˆqŒ5ÜÐ6Ó7Ð 7à ”�D—K‘KÓ Ô ðˆEØà˜� �•O�Üœ\¬%°°1µ°a«.¸#Ó>Ó?�ؘ&˜'�? c¨%¥iÔ/ØØ˜• ’ð!Ÿ-™-¨Ó,¨S¨bÐ1ˆDŒKÜ�4—;‘;˜t  !¥Ð$Ó%Ð%r2r)N) r<r=r>r?r@rr,rArBrCs@r0r&r&Ésø‡€ñCòH÷&ð&r2r&cóÈ€\W,V,4p\R\\V44,^V,,4)p\ W4pW,p\ V^, ^R4F"p\ WV,,Wg,4pK$ \ V^, RR4F+pW^,,p\ WUV,,V4pK- W,#)zßGiven integers x and M, M > 0, such that x/M is small in absolute value, compute an integer approximation to M*exp(x/M). For 0 <= x/M <= 2.4, the absolute error in the result is bounded by 60 (and is usually much smaller).rrÙ)rõr™r¯r©rrè) rùrrrrrüÚMshiftrírÐs &&& r0Ú_iexpr0îs³€ô* �•�q�yÓ€Aô ˆS””S˜“V“�_˜q �sÕ #Ó $Ð$€AÜ�QÓ€AØ �T€FÜ �1�Q•3˜˜2Ö ˆÜ ˜ Q�J�¨­Ó 4Šñô�1�Q•3˜˜BÖ ˆØ�q•S•ˆÜ ˜˜f�H� vÓ .Šñ ð �3€Jr2c óŠ€V^, p\^V\\V44,^, 4pW#,pW,pV^8¼dV^ V,,pMV^ V),,p\V\ V44wrx\ V^ V,4p\ \ V^ V,4R4Wr, ^,3#)a°Compute an approximation to exp(c*10**e), with p decimal places of precision. Returns integers d, f such that: 10**(p-1) <= d <= 10**p, and (d-1)*10**f < exp(c*10**e) < (d+1)*10**f In other words, d*10**f is an approximation to exp(c*10**e) with p digits of precision, and with an error in d of at most 1. This is almost, but not quite, the same as the error being < 1ulp: when d = 10**(p-1) the error could be up to 10 ulp.iè)rMr¯r©rcrrr0) r7r1rørrkrdÚcshiftÚquotrs &&& r0reres©€ðˆ…F€Aô ��1”sœ3˜q›6“{•? QÕ&Ó '€EØ � €Að �C€EØ �„zØ�2�u•9•‰à�B˜˜•J•ˆÜ�vœ}¨QÓ/Ó0�I€Dô �s˜B �IÓ &€Cô œ˜c 2 q¥5Ó)¨4Ó 0°$µ(¸Qµ,Ð >Ð>r2có0€\\\V444V,p\WWE,^,4pW5, pV^8¼dWb,^ V,,pM\ Wb,^ V),4pV^8Xd_\\V44V,^8¬V^8„8Xd#^ V^, ,^,^V, r©Wš3#^ V,^, V)r©Wš3#\ W„^,)V^,4wrš\ V ^ 4p V ^, p Wš3#)aGiven integers xc, xe, yc and ye representing Decimals x = xc*10**xe and y = yc*10**ye, compute x**y. Returns a pair of integers (c, e) such that: 10**(p-1) <= c <= 10**p, and (c-1)*10**e < x**y < (c+1)*10**e in other words, c*10**e is an approximation to x**y with p digits of precision, and with an error in c of at most 1. (This is almost, but not quite, the same as the error being < 1ulp: when c == 10**(p-1) we can only guarantee error < 10ulp.) We assume that: x is positive and not equal to 1, and y is nonzero. )r¯r©r³rŽrre) rúrûrýrþrør«ÚlxcrdÚpcrÑr›s &&&&& r0r r 7sÿ€ô ŒC”�B“‹LÓ˜BÕ€Aô �˜�˜A�Ó €Cð �D€EØ �„zØ �V�B˜•IÕ ‰ä ˜#�& " u f¥*Ó -ˆà ˆQ„wô”�R“‹\˜BÕ  !Ñ #¨¨a©Ô 0ؘa �c� 1� a¨¥c�3ð ˆ:Ðð ˜Q�˜q� 1 "‘3ð ˆ:Ðô ˜2 1¥˜v q¨¥sÓ+‰ ˆÜ˜U BÓ'ˆØ ˆq�ˆà ˆ:Ðr2r\Ú2Ú3Ú4Ú5Ú6Ú7Ú8rmcóˆ€V^8:d \R4h\V4p^d\V4,W^,,, #)z@Compute a lower bound for 100*log10(c) for a positive integer c.z0The argument to _log10_lb should be nonnegative.)rŒr©r¯)r7Ú correctionÚstr_cs&& r0r÷r÷as:€ð ˆA„vÜÐKÓLÐLÜ �‹F€EØ Œs�5‹z�>˜J¨Q¥xÕ0Õ 0Ð0r2có€\V\4'dV#\V\4'd \V4#V'd,\V\4'd\P V4#V'd\ RV,4h\ #)zÉConvert other to Decimal. Verifies that it's ok to use in an implicit construction. If allow_float is true, allow conversion from float; this is used in the comparison methods (__eq__ and friends). rw)r¨rr™rºr»rƒrû)rßrÚ allow_floats&&&r0rrlsg€ô�%œ×!Ò!؈ Ü�%œ×ÒÜ�u‹~Ðß”z %¬×/Ò/Ü×!Ñ! %Ó(Ð(çÜÐ9¸EÕAÓBÐBÜ Ðr2cóÖ€\V\4'dW3#\V\P4'dxVP'gO\ VP \\VP4VP,4VP4pV\VP43#V'd>\V\P4'dVP^8Xd VPp\V\ 4'dT\#4pV'd^VP$\&&MVP)\&R4V\P+V43#\,\,3#)zÄGiven a Decimal instance self and a Python object other, return a pair (s, o) of Decimal instances such that "s op o" is equivalent to "self op other" for any of the 6 comparison operators "op". r¡)r¨rÚ_numbersÚRationalr±rLrMr©r™rNÚ denominatorr°Ú numeratorÚComplexr›r–rºrr rr­r»rû)r7rßrùr8s&&& r0rúrús€ô�%œ×!Ò!؈{Ðô �%œ×*Ñ*×+Ò+Ø××ÐÜ# D§J¡JÜ$'¬¨D¯I©I«¸×9JÑ9JÕ(JÓ$KØ$(§I¡Ió/ˆDð”W˜UŸ_™_Ó-Ð-Ð-÷ ”z %¬×)9Ñ)9×:Ò:¸u¿z¹zÈQ¼Ø— ‘ ˆÜ�%œ×ÒÜ“,ˆß Ø,-ˆG�M‰Mœ.Ò )à × Ñ ¤ØMô Oà”W×'Ñ'¨Ó.Ð.Ð.Ü œ>Ð )Ð)r2i?B)rornr’r rpr�r4rŽ)rornr’r a· # A numeric string consists of: # \s* (?P[-+])? # an optional sign, followed by either... ( (?=\d|\.\d) # ...a number (with at least one digit) (?P\d*) # having a (possibly empty) integer part (\.(?P\d*))? # followed by an optional fractional part (E(?P[-+]?\d+))? # followed by an optional exponent, or... | Inf(inity)? # ...an infinity, or... | (?Ps)? # ...an (optionally signaling) NaN # NaN (?P\d*) # with (possibly empty) diagnostic info. ) # \s* \z z0*$z50*$a*\A (?: (?P.)? (?P[<>=^]) )? (?P[-+ ])? (?Pz)? (?P\#)? (?P0)? (?P\d+)? (?P[,_])? (?:\. (?=[\d,_]) # lookahead for digit or separator (?P\d+)? (?P[,_])? )? (?P[eEfFgGn%])? \z có˜€\PV4pVf\RV,4hVP4pVR,pVR,pVR,RJVR&VR,'d-Ve\RV,4hVe\RV,4hT;'gRVR&T;'gR VR&VR ,fR VR &\ VR ,;'gR 4VR &VR,e\ VR,4VR&VR,^8XdVR,eVR,R9d^VR&VR,R8XdaRVR&Vf\ P !4pVR,e\RV,4hVR,VR&VR,VR&VR,VR&MVR,fRVR&^^.VR&RVR&VR,fRVR&V#)a¢Parse and validate a format specifier. Turns a standard numeric format specifier into a dict, with the following entries: fill: fill character to pad field to minimum width align: alignment type, either '<', '>', '=' or '^' sign: either '+', '-' or ' ' minimumwidth: nonnegative integer giving minimum width zeropad: boolean, indicating whether to pad with zeros thousands_sep: string to use as thousands separator, or '' grouping: grouping for thousands separators, in format used by localeconv decimal_point: string to use for decimal point precision: nonnegative integer giving precision, or None type: one of the characters 'eEfFgG%', or None NzInvalid format specifier: ÚfillÚalignÚzeropadz7Fill character conflicts with '0' in format specifier: z2Alignment conflicts with '0' in format specifier: Ú Ú>r\r˜Ú minimumwidthrœrørëÚgGnrKröÚ thousands_sepzJExplicit thousands separator conflicts with 'n' type in format specifier: ÚgroupingÚ decimal_pointr—r0Úfrac_separators)Ú_parse_format_specifier_regexÚmatchrŒÚ groupdictr™Ú_localeÚ localeconv)Ú format_specrôr½Ú format_dictrJrKs&& r0rürüs$€ô& &×+Ñ+¨KÓ8€AØ‚yÜÐ5¸ ÕCÓDÐDð—+‘+“-€Kð �vÕ €DØ ˜Õ €EØ)¨)Õ4¸DÐ@€K� ÑØ�9×ÔØ Ò Üð6Ø8CõDóEð Eà Ò Üð2Ø4?õ@óAð AàŸ+˜+ #€K�Ñð!Ÿ<˜< C€K�Ñð�6ÕÒ"Ø!ˆ �FÑô#& k°.Õ&A×&HÐ&HÀSÓ"I€K�ÑØ�;ÕÒ+Ü#& {°;Õ'?Ó#@ˆ �KÑ ð�;Õ 1Ô$Ø �vÕ Ò &¨+°fÕ*=ÀÔ*FØ'(ˆK˜ Ñ $ð�6Õ˜cÔ!à!ˆ �FÑØ Ò Ü!×,Ò,Ó.ˆKØ �Õ 'Ò 3Üð>Ø@KõLóMð Mà'2°?Õ'Cˆ �OÑ$Ø"-¨jÕ"9ˆ �JÑØ'2°?Õ'Cˆ �OÒ$à �Õ 'Ò /Ø+-ˆK˜Ñ (Ø#$ a &ˆ �JÑØ'*ˆ �OÑ$àÐ$Õ%Ò-Ø)+ˆ Ð%Ñ&à Ðr2cóœ€VR,pVR,pWC\V4, \V4, ,pVR,pVR8XdW,V,pV#VR8XdWP,V,pV#VR8XdW,V,pV#VR8Xd1\V4^,pVRVV,V,WXR,pV#\R 4h) zÌGiven an unpadded, non-aligned numeric string 'body' and sign string 'sign', add padding and alignment conforming to the given format specifier dictionary 'spec' (as produced by parse_format_specifier). rOrJrKÚˆð €MôÐ7Ó8Ð8r2cóì€^RIHpHpV'g.#VR,^8Xd*\V4^8¼dV!VRRV!VR,44#VR,\P 8XdVRR#\ R4h)zqConvert a localeconv-style grouping into a (possibly infinite) iterable of integers representing group lengths. )ÚchainÚrepeatNz unrecognised format for groupingrÙr)Ú itertoolsrcrdr¯rXÚCHAR_MAXrŒ)rRrcrds& r0Ú_group_lengthsrgsl€÷(ß Øˆ Ø �"�˜Ô œs 8›}°Ô1Ù�X˜c˜r�]¡F¨8°B­<Ó$8Ó9Ð9Ø �"�œ×)Ñ)Ô )ؘ˜ˆ}ÐäÐ;Ó<ÐÓ?Ð ?ä ””C˜“K ¨AÓ.°Ó 2ˆØ� ‰ �c˜1œs 6›{�?Õ+¨f°R°S¨kÕ9Ô:ؘ˜!˜�ˆØ�ˆ ߘ) qœ.Ù Ø”S˜“XÕŠ ñ&ô ”�F“ ˜Y¨Ó *ˆØ� ‰ �c˜1œs 6›{�?Õ+¨f°R°S¨kÕ9Ô:Ø �8‰8”H˜VÓ$Ó %Ð%r2cóH€V'dR#VR,R9d VR,#R#)zDetermine sign character.r˜r\z +r—r.)Ú is_negativers&&r0rýrý»s#€÷ÙØ ˆf�˜Ô Ø�F�|Ðár2c óda€\W4pVR,pS'd8V'd0VPV3Rl\^\S4^444oS'gVR,'dVR,S,oV^8wgVR,R9d1RRRRR RR R/VR,,pSR P Ws4, oVR,R 8Xd SR , oVR ,'d+VR,\S4, \V4, pM^p\ WV4p\ WQS,V4#)a/Format a number, given the following data: is_negative: true if the number is negative, else false intpart: string of digits that must appear before the decimal point fracpart: string of digits that must come after the point exp: exponent, as an integer spec: dictionary resulting from parsing the format specifier This function uses the information in spec to: insert separators (decimal separator and thousands separators) format the sign format the exponent add trailing '%' for the '%' type zero-pad if necessary fill and align if necessary rTc3ó:<"€TFpSW^,x€K R#5i)éNr.)r"Úposr¿s& €r0r#Ú!_format_number..Ûs"øé€ð!HÙ,F Sð"*¨#°A­gÕ!6Û,FùsƒÚaltrSrërùr2r1r÷röz{0}{1:+}rõrLrO)rýr¸rèr¯Úformatrmrþ) ror¾r¿r›rr\Úfrac_sepÚecharrjs &&f&& r0rÿrÿÅs ø€ô$ ˜ Ó *€DàÐ%Õ&€Hß—HØ—=‘=ô!HÜ,1°!´S¸³]ÀAÔ,Fó!HóHˆ÷�4˜—;”;ؘÕ(¨8Õ3ˆà ˆa„x�4˜•< 4Ô'Ø�c˜3  S¨#¨s°CÐ8¸¸f½ÕFˆØ�J×%Ñ% eÓ1Õ1ˆØ ˆF…|�sÔØ�C�ˆà ˆI‡„ؘÕ(¬3¨x«=Õ8¼3¸t»9ÕD‰ àˆ Ü# G°9Ó=€Gä ˜ xÕ/°Ó 6Ð6r2ÚInfz-Infr/lÿÿÿÿlüÿÿÿÿÇNÎZoiÀ«æ)ror�rpr4rŽrnr r’r-rÿr™)rô)FFiÁ½ðÿ)r¤rÙ)~r@Ú__all__r<Ú __xname__Ú __version__Ú__libmpdec_version__ÚmathrÈÚnumbersrDÚsysÚ collectionsr*Ú _namedtuplerÚ ImportErrorrrrrrrrrr'r(Úmaxsizer"r#r$r&r%ÚArithmeticErrorrr r rÚZeroDivisionErrorr rrr rr rrrrƒrr‘rXr9Ú contextvarsÚ ContextVarrvÚ frozensetr‚rrr r!r¦rrLÚNumberÚregisterr€rr´rOr™rÎrõrörrrrr–rŽr&r,rr0rer r÷rrúrrrÚreÚcompileÚVERBOSEÚ IGNORECASErVrªr´rÁÚDOTALLrUÚlocalerXrürþrgrmrýrÿr�rŒrPrSr rRrZÚ hash_infoÚmodulusrrÏrr�Ú _PyHASH_NANrrr.r2r0Úr•srðñ 'ð! à ð! àð! ð ð ! ðð! ð%ð! ð'8ð! ðð! ð"ð! ð$6ð! ð8Hð! ðð! ðð! ð&ð! ð(2ð! ð4?ð! ðð! ð ð!! ð +ð!! ð -?ð!! ð ATð!! ð&ð'! ð&"ð'! ð&$5ð'! ð&7Fð'! ð(ð)! ð(ð)! ð( 1ð)! ð(3?ð)! ð.ð/! ð.ð/! ð.!/ð/! ð.1>ð/! ð4ð5! ð4ð5! ð4(ð5! ð4*5ð5! ð47Nð5! ð:ð;! ð@ðA! €ðF € Ø €Ø€ àÐãÛÛ ð&Ý5Ù˜~Ð/EÈiÔX€Lð € Ø€ Ø#€Ø€ Ø€ Ø €Ø#€Ø € ð€ Ø€Ø‡;�;�'ÔØ!€HØ!€HØ"€HØÑà€HØ€HØ€HØÐà ˜ � Õ #€ ô �ô ô. Ðô ôÐ'ôô:Ð'ôô%Ð%Ð'8ô%ô Ð)ô ô Ð(Ð*;ô ô Ðô ô Ð%ô ô Ðô ô Ð ô ô#:ˆw˜ô#:ôL �˜ )ô ôÐ% yôð" �^ W¨h¸Ø Ð'¨°Nð D€ð#Ð#3Ø$Ð%5Ø#Ð$4Ø Ð!1ð3€ð ˜}¨o¸}Ø ¨/¸:ðG€óà"×-Ò-Ð.?Ó@ÐáÚOóÐò ò&ðô+ò\ô6^4Kˆfô^4Kô@ið& ‡�×јÔ!ô '�fô 'ôQ$ˆfôQ$ôf6@ˆvô@ô4ð< �‰€ò3ò*  ò+ò!ô. ò` 1òD*0ôX!&�Fô!&ñF“×)Ñ)€ ô#òJ"?òH(ðV ˆS�#�r˜3  C¨¨S°"Ø ˆR��b˜#˜r 3¨ð+ô1ôô&"*ñTØ ˜/ؘxÐ)9Ð:ØØ Ø ØØô€ñØ ˜Ø˜xÐ)9¸7ÀIÐNØô€ ñ Ø ˜ØØô€ó* Ø �*Š*ðð"‡Z�Z�"—-‘-Õó# !÷""'¡ð#ð&�ZŠZ˜Ó × $Ñ $€ Ø�jŠj˜Ó ×&Ñ&€ ð!#§ ¢ ð,ð$‡Z�Z�— ‘ Õó%!Ðð(ð  ÛôQòfò6=ô.#&òJò(7ñ\ �E‹N€ Ù˜F“OÐÙˆuƒ~€Ù�‹ €Ùˆqƒz€Ù�r‹{€ ðÐ/Ð0€ð—-‘-×'Ñ'€à�m‰m×Ñ€ Ø�m‰m×Ñ€ ñ�B˜¨!Õ+¨_Ó=€ ÚøðIFô&Ù%ƒLð&ûðX~ô Ùð ús$Á(O"Ì>O3Ï" O0Ï/O0Ï3O=Ï<O=