grthtrhthjhtyjytjytkergtrhtrjytjerhrfh4:24 29/09/2026ó vo›²uÏêã ó•Sr/SQr\rSrSrSrSSKrSSKr SSK r SSK J r \ "SS SS 9rS rS rSrSrSrSrSrSrSrSr\ R4S:XaSrSrSrOSrSrSr\\S- - r"SS\5r "SS\ 5r!"SS \ 5r""S!S"\"5r#"S#S$\ \$5r%"S%S&\"5r&"S'S(\"\$5r'"S)S*\ 5r("S+S,\"5r)"S-S.\ 5r*"S/S0\ 5r+"S1S2\(\*5r,"S3S4\(\*\+5r-"S5S6\ \.5r/\!\%\(\,\*\-\"\+\// r0\#\"\&\"\'\"\)\"0r1\\\\\\\\4r2SSK3r3\3Rh"S75r5\6"/S8Q5r7S9r8S:r9C3StS;jr:"S<S=\;5rjr=\ R|R\<5 "S?S@\;5r@"SASB\;5rA"SCSD\;5rBSvSEjrC\DRŠrFSFrGSGrHSHrISIrJSwSJjrKSKrLSLrM"SMSN\;5rN\N"5RžrPSwSOjrQSPrRSQrSSRSSSTSUSVSWSXSYSZS[. 4S\jrTSxS]jrUSuS^jrV\A"S_\\%\,\"//S`SaSSSb9rW\A"Sc\\%\,\"\!\-//Sd9rX\A"Sc\//Sd9rYSSKZrZ\ZR¶"Se\ZR¸\ZRº-5R¼r_\ZR¶"Sf5R¼r`\ZR¶"Sg5R¼ra\ZR¶"Sh\ZR¸\ZRÄ-5rcCZSSKdreStSijrfSjrgSkrhSySljriSmrjSnrk\<"So5rl\<"Sp5rm\<"Sq5rn\<"S5ro\<"S5rp\<"Sr5rq\l\m4rr\ RæRèru\ RæRìrw\ RæRðry\z"SY\uSs- \u5r{C g!\a S rGNGf=f!\a N³f=f)zz Python decimal arithmetic module)%ÚDecimalÚContextÚ DecimalTupleÚDefaultContextÚ BasicContextÚExtendedContextÚDecimalExceptionÚClampedÚInvalidOperationÚDivisionByZeroÚInexactÚRoundedÚ SubnormalÚOverflowÚ UnderflowÚFloatOperationÚDivisionImpossibleÚInvalidContextÚConversionSyntaxÚDivisionUndefinedÚ ROUND_DOWNÚ ROUND_HALF_UPÚROUND_HALF_EVENÚ ROUND_CEILINGÚ ROUND_FLOORÚROUND_UPÚROUND_HALF_DOWNÚ ROUND_05UPÚ setcontextÚ getcontextÚ localcontextÚMAX_PRECÚMAX_EMAXÚMIN_EMINÚ MIN_ETINYÚ HAVE_THREADSÚHAVE_CONTEXTVARÚdecimalz1.70z2.4.2éN)Ú namedtuplerzsign digits exponent)Úmodulecó•U$©N©)Úargss Ú1/opt/alt/python313/lib64/python3.13/_pydecimal.pyÚr0Cs€¡órrrrrrrrTlÿÿÿÿlÿÇNÎZolüÿÿÿÿÇNÎZoi@üTiÀ«æécó•\rSrSrSrSrSrg)ré_aú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ó•gr,r-©ÚselfÚcontextr.s r/ÚhandleÚDecimalException.handlers€Ø r1r-N©Ú__name__Ú __module__Ú __qualname__Ú__firstlineno__Ú__doc__r9Ú__static_attributes__r-r1r/rr_s †ñõ$ r1rcó•\rSrSrSrSrg)r éva 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-r1r/r r vó†ô r1r có•\rSrSrSrSrSrg)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óŽ•U(a9[USRUSRSS5nURU5$[$)Nr(ÚnT)Ú_dec_from_tripleÚ_signÚ_intÚ_fix_nanÚ_NaN)r7r8r.Úanss r/r9ÚInvalidOperation.handle™s9€Þ Ü" 4¨¡7§=¡=°$°q±'·,±,ÀÀTÓJˆCØ—<‘< Ó(Ð (܈ r1r-Nr;r-r1r/r r ‚s †ñõ,r1r có•\rSrSrSrSrSrg)réŸzÌ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,©rNr6s r/r9ÚConversionSyntax.handle¦ó€Üˆ r1r-Nr;r-r1r/rrŸs †ñõ r1rcó•\rSrSrSrSrSrg)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ó•[U$r,)Ú_SignedInfinity©r7r8Úsignr.s r/r9ÚDivisionByZero.handle¶s €Ü˜tÑ$Ð$r1r-Nr;r-r1r/r r ©s †ñ õ%r1r có•\rSrSrSrSrSrg)ré¹zã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,rTr6s r/r9ÚDivisionImpossible.handleÁrVr1r-Nr;r-r1r/rr¹ó †ñõr1rcó•\rSrSrSrSrSrg)réÄzÞ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,rTr6s r/r9ÚDivisionUndefined.handleÌrVr1r-Nr;r-r1r/rrÄrbr1rcó•\rSrSrSrSrg)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-NrDr-r1r/r r ÏrEr1r có•\rSrSrSrSrSrg)réÛaÐ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,rTr6s r/r9ÚInvalidContext.handleçrVr1r-Nr;r-r1r/rrÛs †ñ õr1rcó•\rSrSrSrSrg)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-NrDr-r1r/r r êrEr1r có•\rSrSrSrSrg)réöa€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-NrDr-r1r/rrös†ôr1rcó•\rSrSrSrSrSrg)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óº•UR[[[[4;a [ U$US:XaQUR[ :Xa [ U$[USUR-URUR- S-5$US:XaQUR[:Xa [ U$[USUR-URUR- S-5$g)Nr(Ú9r2) ÚroundingrrrrrZrrJÚprecÚEmaxrr[s r/r9Ú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ó:ð :ð r1r-Nr;r-r1r/rrs †ñõ* :r1rcó•\rSrSrSrSrg)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-NrDr-r1r/rr's†ô r1rcó•\rSrSrSrSrg)ri6auEnable 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-NrDr-r1r/rr6s†ô r1rÚdecimal_context)ruÚEminrvÚcapitalsÚclamprtÚflagsÚtrapscóŽ•[R5$![a$ [5n[R U5 Us$f=f)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 r/rras?€ðÜ#×'Ñ'Ó)Ð)øÜ óÜ“)ˆÜ× Ñ  Ô)ØŠðús‚–+AÁAcó˜•U[[[4;a UR5nUR 5 [ R U5 g)z%Set this thread's context to context.N)rrrÚcopyÚ clear_flagsr�r„r…s r/rros6€à”>¤<´ÐAÓAØ—,‘,“.ˆØ×ÑÔÜ×јWÕ%r1c óÆ•Uc [5n[U5nUR5H4up4U[;a[ SUS35e[ UR X45 M6 U$)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 r/r r xsc€ðH �{Ü‹lˆÜ! #Ó&€KØ—l‘l–n‰ ˆØ Ô)Ó )ܘa ˜uÐ$VÐWÓXÐ XÜ� ×'Ñ'¨Ö4ñ%ð Ðr1c ó•\rSrSrSrSrS|Sjr\S5rSr Sr S}S jr S r S r S rS~S jrS~SjrS~SjrS~SjrS~SjrS~SjrSrSrSrSrSSjrS~SjrS~SjrS~SjrS€SjrS~Sjr\rS~Sjr S~Sjr!S~Sjr"\"r#S~S jr$S!r%S~S"jr&S~S#jr'S~S$jr(S~S%jr)S~S&jr*S~S'jr+S~S(jr,S~S)jr-S*r.S+r/\/r0\1S,5r2\1S-5r3S.r4S/r5S0r6S1r7S2r8S3r9S4r:S5r;S6rS9r?\@"\8\9\:\;\<\=\>\?S:9rAS~S;jrBS<rCS=rDS~S>jrES~S?jrFS@rGS}SAjrHS~SBjrIS~SCjrJS}SDjrKS~SEjrLSFrMSGrNS}SHjrOS}SIjrP\PrQS~SJjrRS~SKjrSS~SLjrTSMrUSNrVSOrWSPrXS~SQjrYS~SRjrZS~SSjr[STr\SUr]S~SVjr^S~SWjr_SXr`SYraSZrbS[rcS~S\jrdS]reS^rfS_rgS~S`jrhSariSbrjS~ScjrkSdrlS~SejrmS~SfjrnSgroShrpS~SijrqS~SjjrrS~SkjrsS~SljrtS~SmjruS~SnjrvS~SojrwS~SpjrxS~SqjryS~SrjrzSsr{S~Stjr|S~Sujr}S~Svjr~SwrSxr€Syr�S}Szjr‚S{rƒg)�ri¬z,Floating-point class for decimal arithmetic.)Ú_exprLrKÚ _is_specialNcóÞ •[RU5n[U[5(Ga€[ UR 5R SS55nUc&Uc [5nUR[SU-5$URS5S:XaSUl OSUl URS5nUbtURS 5=(d Sn[URS 5=(d S 5n[[XV-55Ul U[U5- UlS UlU$URS 5nUbW[[U=(d S 55R#S 5Ul URS5(aSUlOSUlOS Ul SUlSUlU$[U[5(a>US:¼aSUl OSUl SUl[[%U55Ul S UlU$[U[&5(aFURUlURUl URUl UR UlU$[U[(5(aNUR*Ul [UR5Ul [UR,5UlS UlU$[U[.[045(Gau[U5S:wa [3S5e[US[5(a USS;d [3S5eUSUl USS:XaS Ul USUlSUlU$/n USHSn [U [5(a2SU s=::aS::a%O O"U (dU S:waU R5U 5 MHMJ[3S5e USS;a7SR7[9[U 55Ul USUlSUlU$[US[5(aASR7[9[U =(d S/55Ul USUlS UlU$[3S5e[U[:5(a~Uc [5nUR[<S5 [&R?U5nURUlURUl URUl UR UlU$[ASU-5e)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\Ú-r2r(ÚintÚfracÚexpÚ0FÚdiagÚsignalÚNrIÚFTéztInvalid tuple size in creation of Decimal from list or tuple. The list or tuple should have exactly three elements.©r(r2z|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.©rIr£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 enabledzCannot convert %r to Decimal)!ÚobjectÚ__new__Ú isinstanceÚstrÚ_parserÚstripÚreplacerÚ _raise_errorrÚgrouprKr�rLÚlenr—r˜ÚlstripÚabsrÚ_WorkRepr\rŸÚlistÚtupleÚ ValueErrorÚappendÚjoinÚmapÚfloatrÚ from_floatrŽ) Úclsr•r8r7ÚmÚintpartÚfracpartrŸr¡ÚdigitsÚdigits r/r¬ÚDecimal.__new__µsY€ô.�~‰~˜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¨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�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¸Ñ>Ó?Ð?r1có<•[U[5(a!US:¼aSOSnSn[[U55nOÇ[U[5(a§[ R "U5(d[ R"U5(aU"[U55$[ R"SU5S:XaSnOSn[U5R5upVUR5S- n[USU--5nO [S5e[X$U*5nU[LaU$U"U5$)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') r(r2gð?ézargument must be int or float.)r­r�r®r¶r¾Ú_mathÚisinfÚisnanÚreprÚcopysignÚas_integer_ratioÚ bit_lengthrŽrJr)rÀÚfr\ÚkÚcoeffrIÚdÚresults r/r¿ÚDecimal.from_floatKsæ€ô, �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“;Ð r1cóZ•UR(aURnUS:XagUS:Xagg)zRReturns whether the number is not actually one. 0 if a number 1 if NaN 2 if sNaN rIr2r£r§r()r˜r—)r7rŸs r/Ú_isnanÚDecimal._isnanxs-€ð × × Ø—)‘)ˆCØ�c‹zØØ˜“ØØr1cóJ•URS:XaUR(aggg)zYReturns whether the number is infinite 0 if finite or not a number 1 if +INF -1 if -INF r¤éÿÿÿÿr2r()r—rK©r7s r/Ú _isinfinityÚDecimal._isinfinity‡s €ð �9‰9˜Ó Ø�z�zØØØr1cóL•UR5nUcSnOUR5nU(dU(apUc [5nUS:XaUR[SU5$US:XaUR[SU5$U(aUR U5$UR U5$g)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. Fr§ÚsNaNr()r×rr²r rM)r7Úotherr8Ú self_is_nanÚ other_is_nans r/Ú _check_nansÚDecimal._check_nans”sŸ€ð—k‘k“mˆ Ø ‰=Ø ‰Là Ÿ<™<›>ˆLæ ž,؉Ü$›,�à˜aÓØ×+Ñ+Ô,<¸fØ(,ó.ð.à˜qÓ Ø×+Ñ+Ô,<¸fØ(-ó/ð/æØ—}‘} WÓ-Ð-à—>‘> 'Ó*Ð *Ør1có•Uc [5nUR(dUR(a°UR5(aUR[SU5$UR5(aUR[SU5$UR 5(aUR[SU5$UR 5(aUR[SU5$g)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 NaNr()rr˜Úis_snanr²r Úis_qnan©r7ràr8s r/Ú_compare_check_nansÚDecimal._compare_check_nans´sÈ€ð ‰?Ü “lˆGà × × ˜u×0×0Ø�|‰|�~‰~Ø×+Ñ+Ô,<Ø,GØ,0ó2ð2ð—‘—‘Ø×+Ñ+Ô,<Ø,GØ,1ó3ð3ð—‘—‘Ø×+Ñ+Ô,<Ø,FØ,0ó2ð2ð—‘—‘Ø×+Ñ+Ô,<Ø,FØ,1ó3ð3ðr1cóF•UR=(d URS:g$)zeReturn True if self is nonzero; otherwise return False. NaNs and infinities are considered nonzero. r ©r˜rLrÛs r/Ú__bool__ÚDecimal.__bool__Õs€ð ×Ñ×3 4§9¡9°Ñ#3Ð3r1có•UR(dUR(a-UR5nUR5nX#:XagX#:aggU(dU(dgSUR-*$U(dSUR-$URUR:agURUR:agUR5nUR5nXE:Xa|URSUR UR - --nURSUR UR - --nXg:XagXg:aSUR-*$SUR-$XE:”aSUR-$SUR-*$)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Úr2r )r˜rÜrKÚadjustedrLr—)r7ràÚself_infÚ other_infÚ self_adjustedÚother_adjustedÚ self_paddedÚ other_paddeds r/Ú_cmpÚ Decimal._cmpÜsQ€ð × × ˜u×0×0Ø×'Ñ'Ó)ˆHØ×)Ñ)Ó+ˆIØÓ$ØØÓ%ØàöÞØà˜uŸ{™{Ñ*Ð+Ð+ÞØ˜Ÿ™Ñ#Ð #ð �;‰;˜Ÿ™Ó #ØØ �:‰:˜Ÿ ™ Ó #ØàŸ ™ ›ˆ ØŸ™Ó)ˆØ Ó *ØŸ)™) 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Ÿ:™:Ñ%Ð&Ð &r1có†•[XSS9upU[LaU$URX5(agURU5S:H$)NT)Ú equality_opFr()Ú_convert_for_comparisonÚNotImplementedrãr÷rès r/Ú__eq__ÚDecimal.__eq__sE€Ü-¨dÀtÑL‰ ˆØ ”NÒ "؈LØ × Ñ ˜E× +Ñ +ØØ�y‰y˜Ó 1Ñ$Ð$r1cóŒ•[X5upU[LaU$URX5nU(agURU5S:$©NFr(©rûrürér÷©r7ràr8rOs r/Ú__lt__ÚDecimal.__lt__$óE€Ü-¨dÓ:‰ ˆØ ”NÒ "؈LØ×&Ñ& uÓ6ˆÞ ØØ�y‰y˜Ó !Ñ#Ð#r1cóŒ•[X5upU[LaU$URX5nU(agURU5S:*$rrrs r/Ú__le__ÚDecimal.__le__-óE€Ü-¨dÓ:‰ ˆØ ”NÒ "؈LØ×&Ñ& uÓ6ˆÞ ØØ�y‰y˜Ó 1Ñ$Ð$r1cóŒ•[X5upU[LaU$URX5nU(agURU5S:„$rrrs r/Ú__gt__ÚDecimal.__gt__6rr1cóŒ•[X5upU[LaU$URX5nU(agURU5S:¬$rrrs r/Ú__ge__ÚDecimal.__ge__?r r1cóЕ[USS9nUR(dU(a+UR(aURX5nU(aU$[UR U55$)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 r/ÚcompareÚDecimal.compareHsQ€ô˜u¨dÑ3ˆð × × ¦¨%×*;×*;Ø×"Ñ" 5Ó2ˆCÞØ� ä�t—y‘y Ó'Ó(Ð(r1cóô•UR(ahUR5(a [S5eUR5(a[R U5$UR (a[*$[$URS:¼a[SUR[5nO [[UR*[5n[UR5U-[-nUS:¼aUOU*nUS:XaS$U$)zx.__hash__() <==> hash(x)z"Cannot hash a signaling NaN value.r(é rÚéþÿÿÿ)r˜rærŽÚis_nanr«Ú__hash__rKÚ _PyHASH_INFr—ÚpowÚ_PyHASH_MODULUSÚ _PyHASH_10INVr�rL)r7Úexp_hashÚhash_rOs r/rÚDecimal.__hash__Zs»€ð × × Ø�|‰|�~‰~ÜÐ 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Ð'r1c ó†•[UR[[[UR 55UR 5$)zURepresents the number as a triple tuple. To show the internals exactly as they are. )rrKr¹r½r�rLr—rÛs r/Úas_tupleÚDecimal.as_tuplets+€ô ˜DŸJ™J¬¬c´#°t·y±yÓ.AÓ(BÀDÇIÁIÓNÐNr1có •UR(a+UR5(a [S5e[S5eU(dg[ UR 5nUR S:¼aUSUR --Sp!O{UR *nUS:”a$US-S:XaUS-nUS-nUS:”a US-S:XaMUR *n[X*-R5S- U5nU(aX-nXE-nSU-U-nUR(aU*nX4$)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(rr2rÈ) r˜rrºÚ OverflowErrorr�rLr—ÚminrÏrK)r7rIrÓÚd5Úd2Úshift2s r/rÎÚDecimal.as_integer_ratio{s€ð × × Ø�{‰{�}‰}Ü Ð!FÓGÐGä#Ð$NÓOÐOæØô �— ‘ ‹NˆØ �9‰9˜‹>à�r˜4Ÿ9™9‘}Ñ$ a‰qð—)‘)�ˆBØ�q“&˜Q ™U a›ZØ�a‘�Ø�a‘�ð�q“&˜Q ™U a�Zð —)‘)�ˆBܘ!˜b™&×,Ñ,Ó.°Ñ2°BÓ7ˆFÞØ‘ �Ø‘ �à�2‘˜‘ ˆAà �:�:Ø�ˆA؈tˆ r1có•S[U5-$)z0Represents the number as an instance of Decimal.z Decimal('%s'))r®rÛs r/Ú__repr__ÚDecimal.__repr__­s€ð¤ T£Ñ*Ð*r1có(•SS/URnUR(aIURS:XaUS-$URS:XaUS-UR-$US-UR-$UR[ UR5-nURS::a US :”aUnO1U(dS nO'URS :Xa US -S -S - nO US - S -S -nUS::aS nS S U*--UR-nOeU[ UR5:¼a+URS U[ UR5- --nSnO!URSUnS URUS-nXE:XaSnO&Uc [ 5nSS/UR SXE- --nX6-U-U-$)z†Return string representation of the number in scientific notation. Captures all of the information in the underlying representation. r›rœr¤ÚInfinityrIÚNaNrßr(éúÿÿÿr2r r¥Ú.NÚeÚEz%+d)rKr˜r—rLr´rr|) r7Úengr8r\Ú leftdigitsÚdotplacerÂrÃrŸs r/Ú__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Ñ.Ð.r1có"•URSUS9$)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)r6r8)r9©r7r8s r/Ú to_eng_stringÚDecimal.to_eng_stringæs€ð�|‰| ¨gˆ|Ð6Ð6r1có•UR(aURUS9nU(aU$Uc [5nU(d%UR[:waUR 5nOUR 5nURU5$)zBReturns a copy with the sign switched. Rounds, if it has reason. r…)r˜rãrrtrÚcopy_absÚ copy_negateÚ_fix©r7r8rOs r/Ú__neg__ÚDecimal.__neg__ïsn€ð × × Ø×"Ñ"¨7Ð"Ð3ˆCÞØ� à ‰?Ü “lˆGæ˜×(Ñ(¬KÓ7ð—-‘-“/‰Cà×"Ñ"Ó$ˆCà�x‰x˜Ó Ð r1cóþ•UR(aURUS9nU(aU$Uc [5nU(d%UR[:waUR 5nO [ U5nURU5$)zXReturns a copy, unless it is a sNaN. Rounds the number (if more than precision digits) r…)r˜rãrrtrr@rrBrCs r/Ú__pos__ÚDecimal.__pos__sg€ð × × Ø×"Ñ"¨7Ð"Ð3ˆCÞØ� à ‰?Ü “lˆGæ˜×(Ñ(¬KÓ7à—-‘-“/‰Cä˜$“-ˆCà�x‰x˜Ó Ð r1cóè•U(dUR5$UR(aURUS9nU(aU$UR(aUR US9nU$UR US9nU$)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(). r…)r@r˜rãrKrDrG)r7Úroundr8rOs r/Ú__abs__ÚDecimal.__abs__sl€öØ—=‘=“?Ð "à × × Ø×"Ñ"¨7Ð"Ð3ˆCÞØ� à �:�:Ø—,‘, w�,Ð/ˆCðˆ ð—,‘, w�,Ð/ˆCàˆ r1có®•[U5nU[LaU$Uc [5nUR(dUR(aŸUR X5nU(aU$UR 5(aPUR UR :wa+UR 5(aUR[S5$[U5$UR 5(a [U5$[URUR5nSnUR[:XaUR UR :waSnU(dPU(dI[UR UR 5nU(aSn[USU5nURU5nU$U(dS[!XARUR"- S- 5nUR%XBR5nURU5nU$U(dS[!X@RUR"- S- 5nUR%XBR5nURU5nU$['U5n['U5n[)XxUR"5upx['5n UR*UR*:wa™UR,UR,:Xa [USU5nURU5nU$UR,UR,:aX‡p‡UR*S:Xa+SU lUR*UR*sUlUlO6SU lO.UR*S:XaSU lSuUlUlOSU lUR*S:XaUR,UR,-U lOUR,UR,- U lUR.U l[U 5nURU5nU$)zRReturns self + other. -INF + INF (or the reverse) cause InvalidOperation errors. z -INF + INFr(r2r )r(r()rrürr˜rãrÜrKr²r rr'r—rtrrJrBÚmaxruÚ_rescaler·Ú _normalizer\r�rŸ) r7ràr8rOrŸÚ negativezeror\Úop1Úop2rÔs r/Ú__add__ÚDecimal.__add__0sò€ô ˜uÓ%ˆØ ”NÒ "؈Là ‰?Ü “lˆGà × × ˜u×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Ø!'Ñ ˆ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ӈ؈ r1cóÞ•[U5nU[LaU$UR(dUR(aURXS9nU(aU$UR UR 5US9$)zReturn self - otherr…)rrür˜rãrTrArs r/Ú__sub__ÚDecimal.__sub__ˆsc€ä˜uÓ%ˆØ ”NÒ "؈Là × × ˜u×0×0Ø×"Ñ" 5Ð"Ð:ˆCÞØ� ð�|‰|˜E×-Ñ-Ó/¸ˆ|ÐAÐAr1cóL•[U5nU[LaU$URXS9$)zReturn other - selfr…)rrürWrès r/Ú__rsub__ÚDecimal.__rsub__–s*€ä˜uÓ%ˆØ ”NÒ "؈Là�}‰}˜Tˆ}Ð3Ð3r1cóü•[U5nU[LaU$Uc [5nURUR- nUR(dUR(a�UR X5nU(aU$UR 5(a&U(dUR[S5$[U$UR 5(a&U(dUR[S5$[U$URUR-nU(aU(d [USU5nURU5nU$URS:Xa)[X1RU5nURU5nU$URS:Xa)[X0RU5nURU5nU$[U5n[U5n[U[UR UR -5U5nURU5nU$)zLReturn self * other. (+-) INF * 0 (or its reverse) raise InvalidOperation. z (+-)INF * 0z 0 * (+-)INFr Ú1)rrürrKr˜rãrÜr²r rZr—rJrBrLr·r®r�)r7ràr8Ú resultsignrOÚ resultexprRrSs r/Ú__mul__ÚDecimal.__mul__žs£€ô ˜uÓ%ˆØ ”NÒ "؈Là ‰?Ü “lˆGà—Z‘Z %§+¡+Ñ-ˆ à × × ˜u×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Óˆàˆ r1có†•[U5nU[La[$Uc [5nURUR- nUR(dUR(a¾UR X5nU(aU$UR 5(a+UR 5(aUR[S5$UR 5(a [U$UR 5(a1UR[S5 [USUR55$U(d4U(dUR[S5$UR[SU5$U(dURUR- nSnGO[!UR"5[!UR"5- UR$-S-nURUR- U- n['U5n['U5n US:¼a)[)UR*SU--U R*5upjO)[)UR*U R*SU*--5upjU (aUS -S:XaUS- nOAURUR- n X[:a#US-S:XaUS-nUS- nX[:a US-S:XaM[U[-U5U5nUR/U5$) zReturn self / other.z(+-)INF/(+-)INFzDivision by infinityr z0 / 0zx / 0r(r2rrÈ)rrürrKr˜rãrÜr²r rZr rJÚEtinyrr r—r´rLrur·Údivmodr�r®rB) r7ràr8r\rOrŸrÒÚshiftrRrSÚ remainderÚ ideal_exps r/Ú __truediv__ÚDecimal.__truediv__×sL€ä˜uÓ%ˆØ ”NÒ "Ü!Ð !à ‰?Ü “lˆGà�z‰z˜EŸK™KÑ'ˆà × × ˜u×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ð“o¨%°"©*¸­/ô˜t¤S¨£Z°Ó5ˆØ�x‰x˜Ó Ð r1cóÒ•URUR- nUR5(a URnO [URUR5nUR 5UR 5- nU(aUR5(dUS::a([ USS5UR XBR54$XRR::aú[U5n[U5nURUR:¼a0U=RSURUR- --sl O/U=RSURUR- --sl [URUR5up‰USUR-:a6[ U[U5S5[ UR[U 5U54$UR[S5n Xª4$)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. rr r(rz%quotient too large in //, % or divmod)rKrÜr—r'rðrJrOrtrur·rŸr�rdr®r²r) r7ràr8r\rgÚexpdiffrRrSÚqÚrrOs r/Ú_divideÚDecimal._divides}€ð �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ˆr1cóL•[U5nU[LaU$URXS9$)z)Swaps self/other and returns __truediv__.r…)rrürhrès r/Ú __rtruediv__ÚDecimal.__rtruediv__3s-€ä˜uÓ%ˆØ ”NÒ "؈LØ× Ñ  Ð Ð7Ð7r1cój•[U5nU[LaU$Uc [5nURX5nU(aX34$URUR- nUR 5(aMUR 5(aUR [S5nX34$[UUR [S54$U(dMU(dUR [S5nX34$UR [SU5UR [S54$URX5upVURU5nXV4$)z& Return (self // other, self % other) zdivmod(INF, INF)úINF % xz divmod(0, 0)úx // 0úx % 0) rrürrãrKrÜr²r rZrr rnrB)r7ràr8rOr\Úquotientrfs r/Ú __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Ó+ˆ ØÐ"Ð"r1cóL•[U5nU[LaU$URXS9$)z(Swaps self/other and returns __divmod__.r…)rrürxrès r/Ú __rdivmod__ÚDecimal.__rdivmod__^s-€ä˜uÓ%ˆØ ”NÒ "؈LØ×Ñ ÐÐ6Ð6r1có”•[U5nU[LaU$Uc [5nURX5nU(aU$UR 5(aUR [ S5$U(d3U(aUR [ S5$UR [S5$URX5SnURU5nU$)z self % other rtrvz0 % 0r2) rrürrãrÜr²r rrnrB)r7ràr8rOrfs r/Ú__mod__ÚDecimal.__mod__es·€ô˜uÓ%ˆØ ”NÒ "؈Là ‰?Ü “lˆGà×јuÓ.ˆÞ ؈Jà × Ñ × Ñ Ø×'Ñ'Ô(8¸)ÓDÐ DÞÞØ×+Ñ+Ô,<¸gÓFÐFà×+Ñ+Ô,=¸wÓGÐGà—L‘L Ó0°Ñ3ˆ Ø—N‘N 7Ó+ˆ ØÐr1cóL•[U5nU[LaU$URXS9$)z%Swaps self/other and returns __mod__.r…)rrür~rès r/Ú__rmod__ÚDecimal.__rmod__€ó*€ä˜uÓ%ˆØ ”NÒ "؈LØ�}‰}˜Tˆ}Ð3Ð3r1có®•Uc [5n[USS9nURX5nU(aU$UR5(aUR [ S5$U(d3U(aUR [ S5$UR [ S5$UR5(a[U5nURU5$[URUR5nU(d([URSU5nURU5$UR5UR5- nXRRS-:¼aUR [5$US::a,UR!XBR"5nURU5$[%U5n[%U5nUR&UR&:¼a0U=R(S UR&UR&- --slO/U=R(S UR&UR&- --sl[+UR(UR(5up‰S U -US--UR(:”aX—R(-n US- nUS UR-:¼aUR [5$URn U S :aSU - n U *n [U [-U 5U5nURU5$) z9 Remainder nearest to 0- abs(remainder-near) <= other/2 Trzremainder_near(infinity, x)zremainder_near(x, 0)zremainder_near(0, 0)r r2rrr§r()rrrãrÜr²r rrrBr'r—rJrKrðrurrOrtr·rŸr�rdr®) r7ràr8rOÚideal_exponentrkrRrSrlrmr\s r/Ú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˜Ó Ð r1có•[U5nU[LaU$Uc [5nURX5nU(aU$UR 5(aKUR 5(aUR [ S5$[URUR- $U(dKU(a.UR [SURUR- 5$UR [S5$URX5S$)z self // otherz INF // INFruz0 // 0r() rrürrãrÜr²r rZrKr rrnrs r/Ú __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Ñ.Ð.r1cóL•[U5nU[LaU$URXS9$)z*Swaps self/other and returns __floordiv__.r…)rrür‰rès r/Ú __rfloordiv__ÚDecimal.__rfloordiv__îs-€ä˜uÓ%ˆØ ”NÒ "؈LØ×!Ñ! $Ð!Ð8Ð8r1cóÄ•UR5(a6UR5(a [S5eUR(aSOSnO [ U5n[ U5$)zFloat representation.z%Cannot convert signaling NaN to floatz-nanÚnan)r×rærºrKr®r¾©r7Úss r/Ú __float__ÚDecimal.__float__õsC€à �;‰;�=‰=Ø�|‰|�~‰~Ü Ð!HÓIÐIØŸ*Ÿ*‘¨%‰Aä�D“ ˆAÜ�Q‹xˆr1cóŽ•UR(a@UR5(a [S5eUR5(a [ S5eSUR -nUR S:¼a(U[UR5-SUR --$U[URSUR =(d S5-$)z1Converts self to an int, truncating if necessary.zCannot convert NaN to integerz"Cannot convert infinity to integerrÚr(rNr ) r˜r×rºrÜr&rKr—r�rLr�s r/Ú__int__ÚDecimal.__int__ÿsš€à × × Ø�{‰{�}‰}Ü Ð!@ÓAÐAØ×!Ñ!×#Ñ#Ü#Ð$HÓIÐIØ �$—*‘*Ñ ˆØ �9‰9˜‹>Ø”S˜Ÿ™“^Ñ# B¨¯ © ¡MÑ1Ð 1à”S˜Ÿ™ : D§I¡IÐ.×5°#Ó6Ñ6Ð 6r1có•U$r,r-rÛs r/ÚrealÚ Decimal.reals€àˆ r1có•[S5$)Nr(©rrÛs r/ÚimagÚ Decimal.imags €ä�q‹zÐr1có•U$r,r-rÛs r/Ú conjugateÚDecimal.conjugates€Øˆ r1có*•[[U55$r,)Úcomplexr¾rÛs r/Ú __complex__ÚDecimal.__complex__s€Ü”u˜T“{Ó#Ð#r1có•URnURUR- n[U5U:”aAU[U5U- SR S5n[ UR X RS5$[U5$)z2Decapitate the payload of a NaN to fit the contextNr T) rLrur}r´rµrJrKr—r)r7r8ÚpayloadÚmax_payload_lens r/rMÚDecimal._fix_nansm€à—)‘)ˆð"Ÿ,™,¨¯©Ñ6ˆÜ ˆw‹<˜/Ó )Øœc '›l¨?Ñ:Ð;Ð<×CÑCÀCÓHˆGÜ# D§J¡J°¿¹ÀDÓIÐ IÜ�t‹}Ðr1cóL•UR(a1UR5(aURU5$[U5$UR 5nUR 5nU(d�UR U/URn[[URU5U5nXPR:wa,UR[5 [URSU5$[U5$[UR 5UR-UR"- nXc:”aMUR[$SUR5nUR[&5 UR[(5 U$Xb:nU(aUnURU:Ga‹[UR 5UR-U- n U S:a[URSUS- 5nSn UR*UR,n U "X 5n UR SU =(d Sn U S:”a:[/[1U 5S-5n [U 5UR":”a U SSn US- nXc:”a"UR[$SUR5nO[URXÆ5nU (aU(aUR[25 U(aUR[45 U (aUR[&5 UR[(5 U(dUR[5 U$U(aUR[45 URS:XaZURU:”aJUR[5 UR SURU- --n [URXÓ5$[U5$)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(r]r2NrÚ)r˜r×rMrrcÚEtoprvr}r'rNr—r²r rJrKr´rLrurr r Ú_pick_rounding_functionrtr®r�rr)r7r8rcr«Úexp_maxÚnew_expÚexp_minrOÚself_is_subnormalrÄÚrounding_methodÚchangedrÒrõs r/rBÚ Decimal._fix(sÙ€ð × × Ø�{‰{�}‰}à—}‘} 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‹}Ðr1có<•[URU5(agg)z(Also known as round-towards-0, truncate.r(rÚ)Ú _all_zerosrL©r7rus r/Ú _round_downÚDecimal._round_downŽs€ä �d—i‘i × &Ñ &Øàr1có&•URU5*$)zRounds away from 0.)r·r¶s r/Ú _round_upÚDecimal._round_up•s€à× Ñ  Ó&Ð&Ð&r1cód•URUS;ag[URU5(agg)zRounds 5 up (away from 0)Ú56789r2r(rÚ)rLrµr¶s r/Ú_round_half_upÚDecimal._round_half_up™s,€à �9‰9�T‰?˜gÓ %ØÜ ˜Ÿ ™  4× (Ñ (Øàr1có\•[URU5(agURU5$)z Round 5 downrÚ©Ú _exact_halfrLr¾r¶s r/Ú_round_half_downÚDecimal._round_half_down¢s'€ä �t—y‘y $× 'Ñ 'Øà×&Ñ& tÓ,Ð ,r1có”•[URU5(aUS:XdURUS- S;agURU5$)z!Round 5 to even, rest to nearest.r(r2Ú02468rÚrÁr¶s r/Ú_round_half_evenÚDecimal._round_half_even©sB€ä �t—y‘y $× 'Ñ 'ؘ“˜dŸi™i¨¨Q©Ñ/°7Ó:Øà×&Ñ& tÓ,Ð ,r1cój•UR(aURU5$URU5*$)z(Rounds up (not away from 0 if negative.)©rKr·r¶s r/Ú_round_ceilingÚDecimal._round_ceiling±s.€à �:�:Ø×#Ñ# DÓ)Ð )à×$Ñ$ TÓ*Ð*Ð *r1cój•UR(dURU5$URU5*$)z'Rounds down (not towards 0 if negative)rÊr¶s r/Ú _round_floorÚDecimal._round_floor¸s.€à�z�zØ×#Ñ# DÓ)Ð )à×$Ñ$ TÓ*Ð*Ð *r1có‚•U(a'URUS- S;aURU5$URU5*$)z)Round down unless digit prec-1 is 0 or 5.r2Ú05)rLr·r¶s r/Ú _round_05upÚDecimal._round_05up¿s>€æ �D—I‘I˜d 1™fÑ%¨TÓ1Ø×#Ñ# DÓ)Ð )à×$Ñ$ TÓ*Ð*Ð *r1)rrrrrrrrcó<•Ub?[U[5(d [S5e[SSU*5nUR U5$UR (a+UR 5(a [S5e[S5e[URS[55$)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(r]úcannot round a NaNúcannot round an infinity) r­r�rŽrJÚquantizer˜rrºr&rOr)r7rIrŸs r/Ú __round__ÚDecimal.__round__Ñs†€ð^ ‰=ä˜a¤×%Ñ%ÜÐ MÓNÐNÜ" 1 c¨A¨2Ó.ˆCØ—=‘= Ó%Ð %ð × × Ø�{‰{�}‰}Ü Ð!5Ó6Ð6ä#Ð$>Ó?Ð?Ü�4—=‘= ¤OÓ4Ó5Ð5r1có¸•UR(a+UR5(a [S5e[S5e[ UR S[ 55$)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()r˜rrºr&r�rOrrÛs r/Ú __floor__ÚDecimal.__floor__sF€ð × × Ø�{‰{�}‰}Ü Ð!5Ó6Ð6ä#Ð$>Ó?Ð?Ü�4—=‘= ¤KÓ0Ó1Ð1r1có¸•UR(a+UR5(a [S5e[S5e[ UR S[ 55$)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()r˜rrºr&r�rOrrÛs r/Ú__ceil__ÚDecimal.__ceil__sF€ð × × Ø�{‰{�}‰}Ü Ð!5Ó6Ð6ä#Ð$>Ó?Ð?Ü�4—=‘= ¤MÓ2Ó3Ð3r1c óª•[USS9n[USS9nUR(dUR(GaUc [5nURS:XaUR [ SU5$URS:XaUR [ SU5$URS:XaUnGOURS:XaUnGO URS:Xa>U(dUR [ S5$[ URUR- nO»URS:Xa=U(dUR [ S5$[ URUR- nOm[URUR- [[UR5[UR5-5URUR-5nWRX#5$) 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ßrIr¤zINF * 0 in fmaz0 * INF in fma) rr˜rr—r²r rZrKrJr®r�rLrT)r7ràÚthirdr8Úproducts r/ÚfmaÚ Decimal.fma-s~€ô˜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Ó.Ð.r1cóÌ•[U5nU[LaU$[U5nU[LaU$Uc [5nUR5nUR5nUR5nU(dU(dU(a˜US:XaUR [ SU5$US:XaUR [ SU5$US:XaUR [ SU5$U(aUR U5$U(aUR U5$UR U5$UR5(a*UR5(aUR5(dUR [ S5$US:aUR [ S5$U(dUR [ S5$UR5UR:¼aUR [ S5$U(dU(dUR [ S5$UR5(aSnO URn[[U55n[UR55n[UR55n URU-[!S UR"U5-U-n[%U R"5Hn [!US U5nM [!X‰RU5n['U[)U5S5$) z!Three argument version of __pow__r§rßz@pow() 3rd argument not allowed unless all arguments are integersr(zApow() 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 definedr)rrürr×r²r rMÚ _isintegerrðruÚ_isevenrKr¶r�r·Úto_integral_valuerrŸÚrangerJr®) r7ràÚmodulor8rárâÚ modulo_is_nanr\ÚbaseÚexponentÚis r/Ú _power_moduloÚDecimal._power_moduloYs¤€ô˜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Ð3r1có •[U5nURURpTUS-S:XaUS-nUS- nUS-S:XaM[U5nURURp‡US-S:XaUS-nUS- nUS-S:XaMUS:XaªXW-nUS-S:XaUS-nUS- nUS-S:XaMUS:agUSU--n URS:XaU *n UR 5(a:UR S:Xa*UR [U5-n [Xš- US- 5n OSn [SSSU --X›- 5$URS:XGa@US-n U S;ahXD*-U:wag[U5S- n US-S -nU[[U55:¼ag[X×-U5n [XW-U5nU bUcgXÞ:”agS U -nOŸU S :Xa˜[U5S -S -n [S U -U5upOU(agUS -S:XaUS -nU S-n US -S:XaMUS-S -nU[[U55:¼ag[X×-U5n [XW-U5nU bUcgXÞ:”agS U -nOg[U5n[U5U:”agU *U- n[SUU5$US:¼a USU--SnnOÒUS:wa%[[[Xu-555U*::ag[U5n[[[U5U-55U*::agUSU*-nnUS -US -s=:XaS:Xa$O O!US -nUS -nUS -US -s=:XaS:XaMO US -US -s=:XaS:Xa$O O!US -nUS -nUS -US -s=:XaS:XaMO US:”alWU::ag[UU5unnUS:wagS[U5*U-*-n[UUUS- -5unnUU::aOUUS- -U-U-nM,UU:XaUS:XdgUnUS:”aUUS-[U5-:”agUU-nUU-n[U5n[U5U:”agUR 5(aCUR S:Xa3UR [U5-n [XZ- U[U5- 5n OSn [SUSU --X[- 5$)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.rr(r2Nr]r )r§éééé]éArÈér¥r§éd)r·r�rŸr\rærKr—r'rJÚ_nbitsr´r®Ú_decimal_lshift_exactrdr¶Ú _log10_lb)r7ràÚpÚxÚxcÚxeÚyÚycÚyerír…ÚzerosÚ last_digitr4ÚemaxrfÚstrxcrÁrIÚxc_bitsÚremÚarlrmÚstr_xcs r/Ú _power_exactÚDecimal._power_exact®s€ôt �T‹NˆØ—‘˜Ÿ™ˆBØ�2‰g˜‹lØ �2‰IˆBØ �!‰GˆBð�2‰g˜�lô �U‹OˆØ—‘˜Ÿ™ˆBØ�2‰g˜‹lØ �2‰IˆBØ �!‰GˆBð�2‰g˜�lð �‹7Ø ‰HˆBà�r‘'˜Q“,Ø�r‘ �Ø�a‘�ð�r‘'˜Q•,ð�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ð˜1‘f •kð˜‘t˜Q‘w�ØœœS ›Y›Ó'Øä)¨!©&°"Ó5�Ü*¨2©7°BÓ7�Ø‘9 ¡ Øà“8ØØ˜‘T‘àô˜“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‘%˜1˜q™5Õ% AÖ%Ø�a‘�Ø�a‘�ð�a‘%˜1˜q™5Õ% 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‰ˆô �R“ˆÜ ˆv‹;˜‹?Øð × Ñ × Ñ  %§+¡+°Ó"2Ø!ŸY™Y¤s¨5£zÑ1ˆNܘÑ)¨1¬S°«[©=Ó9‰EàˆEÜ  6¨#¨e©)Ñ#3°R±XÓ>Ð>r1có" •UbURXU5$[U5nU[LaU$Uc [5nUR X5nU(aU$U(d#U(dUR [ S5$[$SnURS:XaZUR5(aUR5(dSnOU(aUR [ S5$UR5nU(d&URS:Xa [USS5$[U$UR5(a&URS:Xa [U$[USS5$U[:XaãUR5(a�URS:XaSnO'XR:”a URnO [!U5nUR"U-nUSUR- :a$SUR- nUR [$5 O9UR [&5 UR [$5 SUR- n[USSU*--U5$UR)5nUR5(a,URS:HUS::Xa [USS5$[U$SnSn UR+5UR)5-n US:¬URS:H:Xa=U [-[/UR055:¼a[USUR0S-5nO9UR35n U [-[/U *55:¼a[USU S- 5nUcJUR5XRS-5nUb)US:Xa![SUR6UR"5nS n UcÁURn [9U5n U R U R:pþ[9U5nUR UR:nnUR<S:XaU*nS n[?XïUUU U-5unnUS S [-[/U55U - S- ---(aOUS - nMD[U[/U5U5nU (Ga¥UR5(Gd�[-UR65UR::aYURS-[-UR65- n[URUR6SU--UR"U- 5nURA5nURC5 [DHnSURFU'M URIU5nUR [&5 URJ[L(aUR [N5 URJ[P(a!UR [PS UR5 [N[L[&[$[R4H*nURJU(dMUR U5 M, U$URIU5nU$)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 ** 0r(r2z+x ** y with x negative and y not an integerr r]FTr¥rÈrrª)*rïrrürrãr²r Ú_OnerKrærçrArJrZrÜrur�r—r r rðÚ_log10_exp_boundr´r®rvrcr rLr·rŸr\Ú_dpowerr‡rˆÚ_signalsrrBr~rrrr )r7ràrêr8rOÚ result_signÚ multiplierrŸÚself_adjÚexactÚboundrcrürýrþrÿrrrÚextrarÒrkÚ newcontextÚ exceptions r/Ú__pow__ÚDecimal.__pow__¦sI€ð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ØØ˜‘ �ñ ô # ;´°E³ ¸CÓ@ˆC÷ ˜×)Ñ)×+Ò+ô�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àˆ r1cóL•[U5nU[LaU$URXS9$)z%Swaps self/other and returns __pow__.r…)rrürrès r/Ú__rpow__ÚDecimal.__rpow__~ rƒr1cóZ•Uc [5nUR(aURUS9nU(aU$URU5nUR 5(aU$U(d[ UR SS5$URUR5/URn[UR5nURnURUS- S:Xa,Xd:a'US- nUS-nURUS- S:XaXd:aM'[ UR URSUU5$)z?Normalize- strip trailing 0s, change anything equal to 0 to 0e0Nr…r r(r2) rr˜rãrBrÜrJrKrvr«r}r´rLr—)r7r8rOÚdupr­ÚendrŸs r/Ú 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ð�h‰h�s˜1‘u‰o Ó$¨­ô  § ¡ ¨3¯8©8°D°S¨>¸3Ó?Ð?r1có•[USS9nUc [5nUc URnUR(dUR(a�UR X5nU(aU$UR 5(dUR 5(aKUR 5(a UR 5(a [ U5$UR[S5$UR5URs=::aUR::dO UR[S5$U(d2[URSUR5nURU5$UR5nXSR:”aUR[S5$XQR- S-UR :”aUR[S5$UR#URU5nUR5UR:”aUR[S5$[%UR&5UR :”aUR[S5$U(a3UR5UR(:aUR[*5 URUR:”a/X@:waUR[,5 UR[.5 URU5nU$) 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 contextr2z7quantize result has too many digits for current context)rrrtr˜rãrÜrr²r rcr—rvrJrKrBrðrurOr´rLr{rr r )r7rŸrtr8rOrós r/r×ÚDecimal.quantizež sP€ô ˜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ӈ؈ r1có6•[USS9nUR(dUR(aUUR5=(a UR5=(d' UR5=(a UR5$URUR:H$)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 r/Ú same_quantumÚDecimal.same_quantumÛ sm€ô˜u¨dÑ3ˆØ × × ˜u×0×0Ø—K‘K“M×4 e§l¡l£n÷?Ø×$Ñ$Ó&×>¨5×+<Ñ+<Ó+>ð @à�y‰y˜EŸJ™JÑ&Ð&r1cóP•UR(a [U5$U(d[URSU5$URU:¼a4[URUR SURU- --U5$[ UR 5UR-U- nUS:a[URSUS- 5nSnURUnU"X5nUR SU=(d SnUS:Xa[[U5S-5n[URXa5$)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(r]r2N) r˜rrJrKr—rLr´r¬r®r�)r7rŸrtrÄÚ this_functionr²rÒs r/rOÚ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Ð7r1cóJ•US::a [S5eUR(dU(d [U5$URUR 5S-U- U5nUR 5UR 5:wa&URUR 5S-U- U5nU$)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. r(z'argument should be at least 1 in _roundr2)rºr˜rrOrð)r7ÚplacesrtrOs r/Ú_roundÚDecimal._round s‡€ð �Q‹;ÜÐFÓGÐ GØ × × ¦4ܘ4“=Ð Ø�m‰m˜DŸM™M›O¨AÑ-¨fÑ4°hÓ?ˆð �<‰<‹>˜TŸ]™]›_Ó ,Ø—,‘,˜sŸ|™|›~¨aÑ/°Ñ6¸ÓAˆC؈ r1cóš•UR(a#URUS9nU(aU$[U5$URS:¼a [U5$U(d[ UR SS5$Uc [ 5nUc URnURSU5nX0:waUR[5 UR[5 U$)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. r…r(r ) r˜rãrr—rJrKrrtrOr²r r ©r7rtr8rOs r/Úto_integral_exactÚDecimal.to_integral_exact# s°€ð × × Ø×"Ñ"¨7Ð"Ð3ˆCÞØ� ܘ4“=Ð Ø �9‰9˜‹>ܘ4“=Ð ÞÜ# D§J¡J°°QÓ7Ð 7Ø ‰?Ü “lˆGØ Ñ Ø×'Ñ'ˆHØ�m‰m˜A˜xÓ(ˆØ ‹;Ø × Ñ ¤Ô )Ø×ÑœWÔ%؈ r1cóü•Uc [5nUc URnUR(a#URUS9nU(aU$[ U5$UR S:¼a [ U5$UR SU5$)z@Rounds to the nearest integer, without raising inexact, rounded.r…r()rrtr˜rãrr—rOr2s r/rèÚDecimal.to_integral_value@ ss€à ‰?Ü “lˆGØ Ñ Ø×'Ñ'ˆHØ × × Ø×"Ñ"¨7Ð"Ð3ˆCÞØ� ܘ4“=Ð Ø �9‰9˜‹>ܘ4“=Ð à—=‘=  HÓ-Ð -r1cór•Uc [5nUR(aHURUS9nU(aU$UR5(aURS:Xa [ U5$U(d5[ URSURS-5nURU5$URS:XaUR[S5$URS-n[U5nURS- nURS-(a+URS-n[UR 5S- S-nO'URn[UR 5S-S- nX7- nUS:¼a USU--nS n O[#USU*-5upjU (+n XX-nSU-n Xk-n X¼::aO X¼-S- n MU =(a X»-U:Hn U (aUS:¼a U SU--n O U SU*--n XX- nOU S -S:XaU S- n [ S[%U 5U5nUR'5nUR)[*5n URU5nXÑlU$) zReturn the square root of self.r…r(r r§r2zsqrt(-x), x > 0rrøTrÈ)rr˜rãrÜrKrrJr—rBr²r rur·rŸr�r´rLrdr®Ú _shallow_copyÚ _set_roundingrrt)r7r8rOruÚopr4ÚcÚlrerrfrIrlrts r/ÚsqrtÚ Decimal.sqrtS 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ÓˆØ#Ôàˆ r1cóî•[USS9nUc [5nUR(dUR(ayUR5nUR5nU(dU(aKUS:XaUS:XaUR U5$US:XaUS:XaUR U5$UR X5$UR U5nUS:XaURU5nUS:XaUnOUnUR U5$)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. Trr2r(rÚ©rrr˜r×rBrãr÷Ú compare_total©r7ràr8ÚsnÚonr;rOs r/rNÚ Decimal.max¶ sÚ€ô ˜u¨dÑ3ˆà ‰?Ü “lˆGà × × ˜u×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˜Ó Ð r1cóî•[USS9nUc [5nUR(dUR(ayUR5nUR5nU(dU(aKUS:XaUS:XaUR U5$US:XaUS:XaUR U5$UR X5$UR U5nUS:XaURU5nUS:XaUnOUnUR U5$)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. Trr2r(rÚr@rBs r/r'Ú Decimal.minà sØ€ô ˜u¨dÑ3ˆà ‰?Ü “lˆGà × × ˜u×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˜Ó Ð r1cóœ•UR(agURS:¼agURURSnUS[U5-:H$)z"Returns whether self is an integerFr(TNr )r˜r—rLr´)r7Úrests r/ræÚDecimal._isinteger sC€à × × ØØ �9‰9˜‹>ØØ�y‰y˜Ÿ™˜Ð$ˆØ�sœ3˜t›9‘}Ñ$Ð$r1cóp•U(aURS:”agURSUR-S;$)z:Returns True if self is even. Assumes self is an integer.r(TrÚrÆ)r—rLrÛs r/rçÚDecimal._iseven s.€æ�t—y‘y 1“}ØØ�y‰y˜˜DŸI™I™Ñ&¨'Ñ1Ð1r1cón•UR[UR5-S- $![a gf=f)z$Return the adjusted exponent of selfr2r()r—r´rLrŽrÛs r/rðÚDecimal.adjusted s5€ð Ø—9‘9œs 4§9¡9›~Ñ-°Ñ1Ð 1øäó Ùð ús ‚$'§ 4³4có•U$)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 r/Ú canonicalÚDecimal.canonical s €ð ˆ r1cóh•[USS9nURX5nU(aU$URXS9$)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. Trr…)rrérrs r/Úcompare_signalÚDecimal.compare_signal! s9€ô ˜u°Ñ5ˆØ×&Ñ& uÓ6ˆÞ ؈JØ�|‰|˜Eˆ|Ð3Ð3r1cóà•[USS9nUR(aUR(d[$UR(dUR(a[$URnUR 5nUR 5nU(dU(aåXE:Xax[ UR 5UR 4n[ UR 5UR 4nXg:aU(a[$[$Xg:”aU(a[$[$[$U(a1US:Xa[$US:Xa[$US:Xa[$US:Xa[$O0US:Xa[$US:Xa[$US:Xa[$US:Xa[$X:a[$X:”a[$URUR:aU(a[$[$URUR:”aU(a[$[$[$)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. Trr2r§) rrKÚ _NegativeOnerr×r´rLÚ_Zeror—)r7ràr8r\Úself_nanÚ other_nanÚself_keyÚ other_keys r/rAÚDecimal.compare_total- s€€ô˜u¨dÑ3ˆð �:�:˜eŸkŸkÜÐ Ø�z�z˜eŸ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Ó !ÞÜ#Ð#ä� ܈ r1cóx•[USS9nUR5nUR5nURU5$)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@rA)r7ràr8r‘Úos r/Úcompare_total_magÚDecimal.compare_total_magv s6€ô ˜u¨dÑ3ˆà �M‰M‹OˆØ �N‰NÓ ˆØ�‰˜qÓ!Ð!r1cóZ•[SURURUR5$)z'Returns a copy with the sign set to 0. r()rJrLr—r˜rÛs r/r@ÚDecimal.copy_abs‚ s!€ä  4§9¡9¨d¯i©i¸×9IÑ9IÓJÐJr1cóÔ•UR(a,[SURURUR5$[SURURUR5$)z&Returns a copy with the sign inverted.r(r2)rKrJrLr—r˜rÛs r/rAÚDecimal.copy_negate† sG€à �:�:Ü# A t§y¡y°$·)±)¸T×=MÑ=MÓNÐ Nä# A t§y¡y°$·)±)¸T×=MÑ=MÓNÐ Nr1có‚•[USS9n[URURURUR 5$)z$Returns self with the sign of other.Tr)rrJrKrLr—r˜rès r/Ú copy_signÚDecimal.copy_sign� s6€ä˜u¨dÑ3ˆÜ § ¡ ¨T¯Y©YØ $§ ¡ ¨4×+;Ñ+;ó=ð =r1cóÌ•Uc [5nURUS9nU(aU$UR5S:Xa[$U(d[$UR5S:Xa [ U5$UR nUR5nURS:XaDU[[URS-S-55:”a[SSURS-5nGOLURS:XaLU[[UR5*S-S-55:”a[SSUR5S- 5nOðURS:Xa!XC*:a[SSSUS- --S-U*5nO¿URS:Xa!XC*S- :a[SSUS--U*S- 5nOŽ[U5nURUR pvUR"S:XaU*nSn[%XgX8-5upšU S S [[U 55U- S- ---(aOUS- nM@[S[U 5U 5nUR'5nUR)[*5n UR-U5nX±lU$) zReturns e ** self.r…rÚr2r(r¥r]r rsrÈr)rrãrÜrWrrrurðrKr´r®rvrJrcr·r�rŸr\Ú_dexpr8r9rrBrt) r7r8rOrüÚadjr:r;r4rrÒrŸrts r/rŸÚ Decimal.exp“ s6€ð ‰?Ü “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ØØ˜‘ �ñ ô # 1¤c¨%£j°#Ó6ˆCð×'Ñ'Ó)ˆØ×(Ñ(¬Ó9ˆØ�h‰h�wÓˆØ#Ôàˆ r1có•g)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 r/Ú is_canonicalÚDecimal.is_canonicalÞ s€ð r1có$•UR(+$)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 r/Ú is_finiteÚDecimal.is_finiteæ s€ð ×#Ñ#Ô#Ð#r1có •URS:H$)z8Return True if self is infinite; otherwise return False.r¤©r—rÛs r/r'ÚDecimal.is_infiniteî ó€à�y‰y˜CÑÐr1có •URS;$)z>Return True if self is a qNaN or sNaN; otherwise return False.r©rsrÛs r/rÚDecimal.is_nanò s€à�y‰y˜JÑ&Ð&r1cóˆ•UR(dU(dgUc [5nURUR5:*$)z?Return True if self is a normal number; otherwise return False.F)r˜rr{rðr<s r/Ú is_normalÚDecimal.is_normalö s1€à × × ¦4ØØ ‰?Ü “lˆGØ�|‰|˜tŸ}™}›Ñ.Ð.r1có •URS:H$)z;Return True if self is a quiet NaN; otherwise return False.rIrsrÛs r/rçÚDecimal.is_qnanþ rur1có •URS:H$)z8Return True if self is negative; otherwise return False.r2)rKrÛs r/Ú is_signedÚDecimal.is_signed s€à�z‰z˜Q‰Ðr1có •URS:H$)z?Return True if self is a signaling NaN; otherwise return False.r£rsrÛs r/ræÚDecimal.is_snan rur1cóˆ•UR(dU(dgUc [5nUR5UR:$)z9Return True if self is subnormal; otherwise return False.F)r˜rrðr{r<s r/Ú is_subnormalÚDecimal.is_subnormal s1€à × × ¦4ØØ ‰?Ü “lˆGØ�}‰}‹ §¡Ñ-Ð-r1cóP•UR(+=(a URS:H$)z6Return True if self is a zero; otherwise return False.r rìrÛs r/Úis_zeroÚDecimal.is_zero s€à×#Ñ#Ô#×8¨¯ © °SÑ(8Ð8r1cóâ•UR[UR5-S- nUS:¼a[[US-S-55S- $US::a [[SU- S-S-55S- $[ U5nUR UR pCUS:Xa9[USU*-- 5n[U5n[U5[U5- XV:- $U[[SU*-U- 55-S- $)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. r2érrrÚr(©r—r´rLr®r·r�rŸ©r7rjr:r;r4ÚnumÚdens r/Ú _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™:“Ó'Ñ'¨!Ñ+Ð+r1c óì•Uc [5nURUS9nU(aU$U(d[$UR5S:Xa[$U[ :Xa[ $URS:XaUR[S5$[U5nURURpTURnX`R5- S-n[XEU5nUSS[![#[%U555U- S- ---(aOUS- nME['[US:5[#[%U55U*5nUR)5nUR+[,5n UR/U5nX‘lU$) z/Returns the natural (base e) logarithm of self.r…r2zln of a negative valuer§rÈrr¥r()rrãÚ_NegativeInfinityrÜÚ _InfinityrrWrKr²r r·r�rŸrurŽÚ_dlogr´r®r¶rJr8r9rrBrt© r7r8rOr:r;r4rür.rÒrts r/ÚlnÚ Decimal.ln/ sd€ð ‰?Ü “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ØØ �a‰KˆFñ ô œs 5¨¡7›|¬S´°U³«_¸v¸gÓFˆà×'Ñ'Ó)ˆØ×(Ñ(¬Ó9ˆØ�h‰h�wÓˆØ#ÔØˆ r1cóæ•UR[UR5-S- nUS:¼a[[U55S- $US::a[[SU- 55S- $[ U5nUR UR pCUS:Xa?[USU*-- 5n[SU-5n[U5[U5- XV:- S-$[SU*-U- 5n[U5U-US:- S- $) 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. r2rrÚr(réçr§Ú231rŠr‹s r/rÚDecimal._log10_exp_bounda 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Ñ/Ð/r1c ó¨•Uc [5nURUS9nU(aU$U(d[$UR5S:Xa[$UR S:XaUR [S5$URSS:Xa[URSSS[UR5S- -:Xa/[UR[UR5-S- 5nOµ[U5nURURpTURnX`R!5- S-n[#XEU5nUS S [[%['U555U- S- ---(aOUS - nME[)[US:5[%['U55U*5nUR+5nUR-[.5n UR1U5nX‘lU$) z&Returns the base 10 logarithm of self.Nr…r2zlog10 of a negative valuer(r]r r§rÈrr¥)rrãr‘rÜr’rKr²r rLr´rr—r·r�rŸrurÚ_dlog10r®r¶rJr8r9rrBrtr”s r/Úlog10Ú Decimal.log10 s«€ð ‰?Ü “lˆGð×Ñ wÐÐ/ˆÞ ؈JöÜ$Ð $ð × Ñ Ó  Ó "ÜÐ ð �:‰:˜‹?Ø×'Ñ'Ô(8Ø(CóEð Eð �9‰9�Q‰<˜3Ó  4§9¡9¨Q¨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ÓˆØ#ÔØˆ r1có•URUS9nU(aU$Uc [5nUR5(a[$U(dUR [ SS5$[ UR55nURU5$)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). r…zlogb(0)r2) rãrrÜr’r²r rrðrBrCs r/ÚlogbÚ Decimal.logb² s}€ð×Ñ wÐÐ/ˆÞ ؈Jà ‰?Ü “lˆGð × Ñ × Ñ ÜÐ öØ×'Ñ'¬¸ À1ÓEÐ Eô �d—m‘m“oÓ&ˆØ�x‰x˜Ó Ð r1có|•URS:wdURS:wagURH nUS;dM g g)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. r(FÚ01T)rKr—rL)r7Údigs r/Ú _islogicalÚDecimal._islogicalÐ s9€ð �:‰:˜‹?˜dŸi™i¨1›nØØ—9”9ˆCؘ$�Ùñðr1cóü•UR[U5- nUS:”a SU-U-nOUS:aX!R*SnUR[U5- nUS:”a SU-U-nX#4$US:aX1R*SnX#4$)Nr(r )rur´)r7r8ÚopaÚopbÚdifs r/Ú _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ˆr1c óî•Uc [5n[USS9nUR5(aUR5(dUR[5$UR X R UR 5up4SR[X45VVs/sH%upV[[U5[U5-5PM' snn5n[SURS5=(d SS5$s snnf)zjApplies an 'and' operation between self and other's digits. Both self and other must be logical numbers. Trr›r(r © rrr¥r²r r«rLr¼Úzipr®r�rJrµ©r7ràr8r¨r©r ÚbrÔs r/Ú 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óÂ,C1 cóp•Uc [5nUR[SSUR-S5U5$)z9Invert all its digits. The self must be logical number. r(r])rÚ logical_xorrJrur<s r/Úlogical_invertÚDecimal.logical_invertÿ s;€ð ‰?Ü “lˆGØ×ÑÔ 0°°3°w·|±|Ñ3CÀAÓ FØ 'ó)ð )r1c óî•Uc [5n[USS9nUR5(aUR5(dUR[5$UR X R UR 5up4SR[X45VVs/sH%upV[[U5[U5-5PM' snn5n[SURS5=(d SS5$s snnf)ziApplies an 'or' operation between self and other's digits. Both self and other must be logical numbers. Trr›r(r r®r°s r/Ú logical_orÚDecimal.logical_or r´rµc óî•Uc [5n[USS9nUR5(aUR5(dUR[5$UR X R UR 5up4SR[X45VVs/sH%upV[[U5[U5- 5PM' snn5n[SURS5=(d SS5$s snnf)zjApplies an 'xor' operation between self and other's digits. Both self and other must be logical numbers. Trr›r(r r®r°s r/r·ÚDecimal.logical_xor r´rµcó&•[USS9nUc [5nUR(dUR(ayUR5nUR5nU(dU(aKUS:XaUS:XaUR U5$US:XaUS:XaUR U5$UR X5$UR 5RUR 55nUS:XaURU5nUS:XaUnOUnUR U5$©z8Compares the values numerically with their sign ignored.Trr2r(rÚ© rrr˜r×rBrãr@r÷rArBs r/Úmax_magÚDecimal.max_mag1 så€ä˜u¨dÑ3ˆà ‰?Ü “lˆGà × × ˜u×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˜Ó Ð r1có&•[USS9nUc [5nUR(dUR(ayUR5nUR5nU(dU(aKUS:XaUS:XaUR U5$US:XaUS:XaUR U5$UR X5$UR 5RUR 55nUS:XaURU5nUS:XaUnOUnUR U5$rÀrÁrBs r/Úmin_magÚDecimal.min_magO så€ä˜u¨dÑ3ˆà ‰?Ü “lˆGà × × ˜u×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˜Ó Ð r1cóî•Uc [5nURUS9nU(aU$UR5S:Xa[$UR5S:Xa([ SSUR -UR 55$UR5nUR[5 UR5 URU5nX0:waU$UR[ SSUR5S- 5U5$)z=Returns the largest representable number smaller than itself.r…rÚr2r(rsr])rrãrÜr‘rJrur«r‡r9rÚ_ignore_all_flagsrBrWrc©r7r8rOÚnew_selfs r/Ú next_minusÚDecimal.next_minusm sØ€à ‰?Ü “lˆGà×Ñ wÐÐ/ˆÞ ؈Jà × Ñ Ó  Ó #Ü$Ð $Ø × Ñ Ó  Ó "Ü# A s¨7¯<©<Ñ'7¸¿¹»ÓHÐ Hà—,‘,“.ˆØ×ÑœkÔ*Ø×!Ñ!Ô#Ø—9‘9˜WÓ%ˆØ Ó ØˆOØ�|‰|Ô,¨Q°°W·]±]³_ÀQÑ5FÓGØ#ó%ð %r1cóî•Uc [5nURUS9nU(aU$UR5S:Xa[$UR5S:Xa([ SSUR -UR 55$UR5nUR[5 UR5 URU5nX0:waU$UR[ SSUR5S- 5U5$)z=Returns the smallest representable number larger than itself.r…r2rÚrsr(r])rrãrÜr’rJrur«r‡r9rrÈrBrTrcrÉs r/Ú 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Ø#ó%ð %r1cóê•[USS9nUc [5nURX5nU(aU$URU5nUS:XaUR U5$US:XaUR U5nOUR U5nUR5(aMUR[SUR5 UR[5 UR[5 U$UR5UR:apUR[5 UR[ 5 UR[5 UR[5 U(dUR["5 U$)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. Trr(rÚz Infinite result from next_toward)rrrãr÷rfrÎrËrÜr²rrKr r rðr{rrr )r7ràr8rOÚ comparisons r/Ú next_towardÚDecimal.next_toward› s.€ô˜u¨dÑ3ˆà ‰?Ü “lˆGà×јuÓ.ˆÞ ؈Jà—Y‘Y˜uÓ%ˆ Ø ˜‹?Ø—>‘> %Ó(Ð (à ˜Ó Ø—.‘. Ó)‰Cà—/‘/ 'Ó*ˆCð �?‰?× Ñ Ø × Ñ ¤Ø!CØ!$§¡ô ,ð × Ñ ¤Ô )Ø × Ñ ¤Ô )ðˆ ð�\‰\‹^˜gŸl™lÓ *Ø × Ñ ¤Ô +Ø × Ñ ¤Ô +Ø × Ñ ¤Ô )Ø × Ñ ¤Ô )öØ×$Ñ$¤WÔ-àˆ r1cót•UR5(agUR5(agUR5nUS:XagUS:XagUR5(aUR(aggUc [ 5nUR US 9(aUR(ag g UR(ag g )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ßr1r2z +InfinityrÚz -Infinityz-Zeroz+Zeror…z -Subnormalz +Subnormalz-Normalz+Normal)rærçrÜr†rKrrƒ)r7r8Úinfs r/Ú number_classÚDecimal.number_classÉ s‘€ð �<‰<�>‰>ØØ �<‰<�>‰>ØØ×ÑÓ ˆØ �!‹8ØØ �"‹9ØØ �<‰<�>‰>Ø�z�zØàØ ‰?Ü “lˆGØ × Ñ  WÐ Ö -Ø�z�zØ#à#à �:�:Øàr1có•[S5$)z'Just returns 10, as this is Decimal, :)rr›rÛs r/ÚradixÚ Decimal.radixó s €ä�r‹{Ðr1cóŠ•Uc [5n[USS9nURX5nU(aU$URS:waUR [ 5$UR *[U5s=::aUR ::dO UR [ 5$UR5(a [U5$[U5nURnUR [U5- nUS:”a SU-U-nO US:aXV*SnXTSUSU-n[URURS5=(d SUR5$)z5Returns a rotated copy of self, value-of-other times.NTrr(r ©rrrãr—r²r rur�rÜrrLr´rJrKrµ)r7ràr8rOÚtorotÚrotdigÚtopadÚrotateds r/ÚrotateÚDecimal.rotate÷ s$€à ‰?Ü “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ð Gr1cóL•Uc [5n[USS9nURX5nU(aU$URS:waUR [ 5$SUR UR--nSUR UR--nU[U5s=::aU::dO UR [ 5$UR5(a [U5$[URURUR[U5-5nURU5nU$)z>Returns self operand after adding the second value to its exp.Trr(rr§)rrrãr—r²r rvrur�rÜrrJrKrLrB)r7ràr8rOÚliminfÚlimsuprÓs r/ÚscalebÚDecimal.scalebsî€à ‰?Ü “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ˆØˆr1có¼•Uc [5n[USS9nURX5nU(aU$URS:waUR [ 5$UR *[U5s=::aUR ::dO UR [ 5$UR5(a [U5$[U5nURnUR [U5- nUS:”a SU-U-nO US:aXV*SnUS:aUSUnOUSU--nXrR *Sn[URURS5=(d SUR5$)z5Returns a shifted copy of self, value-of-other times.NTrr(r rÜ)r7ràr8rOrÝrÞrßÚshifteds r/reÚ Decimal.shift1s@€à ‰?Ü “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ð Kr1có2•UR[U544$r,)Ú __class__r®rÛs r/Ú __reduce__ÚDecimal.__reduce__Xs€Ø—‘¤ T£  Ð-Ð-r1có^•[U5[LaU$UR[U55$r,©Útyperrìr®rÛs r/Ú__copy__ÚDecimal.__copy__[ó&€Ü �‹:œÒ ؈KØ�~‰~œc $›iÓ(Ð(r1có^•[U5[LaU$UR[U55$r,rð)r7Úmemos r/Ú __deepcopy__ÚDecimal.__deepcopy__`rôr1có\•Uc [5n[XS9nUR(aI[URU5n[ UR 55nUSS:XaUS- n[XVU5$UScSS/URUS'USS:Xa.[URURURS-5nURnUSnUboUSS ;aURUS -U5nOPUSS ;aURU*U5nO3USS ;a*[UR5U:”aURX‡5nU(d+URS :”aUSS ;aURS U5nU(dUS(aUR(aS n O URn UR[UR5-n USS ;aU(d UbS U- n O3S n O0USS ;aU n O$USS ;aURS ::a U S:”aU n OS n W S :aSn SU *-UR-n OkU [UR5:”a+URSU [UR5- --n Sn O'URSU =(d Sn URU Sn X«- n[!XœXÞU5$)aLFormat a Decimal instance according to the given specifier. The specifier should be a standard format specifier, with the form described in PEP 3101. Formatting types 'e', 'E', 'f', 'F', 'g', 'G', 'n' and '%' are supported. If the formatting type is omitted it defaults to 'g' or 'G', depending on the value of context.capitals. N)Ú _localeconvrñÚ%ÚgÚGr§Ú precisionÚeEr2zfF%ÚgGr(Úno_neg_0r2r r›)rÚ_parse_format_specifierr˜Ú _format_signrKr®r@Ú _format_alignr|rJrLr—rtr/rOr´Ú_format_number)r7Ú specifierr8rúÚspecr\ÚbodyrtrþÚ adjusted_signr7r8rÂrÃrŸs r/Ú __format__ÚDecimal.__format__gsŠ€ð ‰?Ü “lˆGä& yÑJˆð × × Ü § ¡ ¨DÓ1ˆDÜ�t—}‘}“Ó'ˆDØ�F‰|˜sÓ"ؘ‘ �Ü  ¨TÓ2Ð 2ð �‰<Ñ Ø ˜: g×&6Ñ&6Ñ7ˆD�‰Lð �‰<˜3Ó Ü# D§J¡J°· ± ¸4¿9¹9ÀQ¹;ÓGˆDð×#Ñ#ˆØ˜Ñ%ˆ Ø Ñ Ø�F‰|˜tÓ#Ø—{‘{ 9¨Q¡;°Ó9‘Ø�f‘ Ó&Ø—}‘} i Z°Ó:‘Ø�f‘ Ó%¬#¨d¯i©i«.¸9Ó*DØ—{‘{ 9Ó7�ö˜Ÿ ™  A› ¨$¨v©,¸%Ó*?Ø—=‘=  HÓ-ˆDÞ˜˜Z×(¨T¯Z¯Z؉Mà ŸJ™JˆMð—Y‘Y¤ T§Y¡Y£Ñ/ˆ Ø �‰<˜4Ó Þ˜IÑ1ؘy™=‘à‘Ø �&‰\˜UÓ "Ø!‰HØ �&‰\˜TÓ !Ø�y‰y˜A‹~ *¨r£/Ø%‘à�ð �a‹<؈GؘX˜I‘¨¯©Ñ2‰HØ œ˜DŸI™I›Ó &Ø—i‘i # x´°D·I±I³Ñ'>Ñ"?Ñ?ˆG؉Hà—i‘i   Ð*×1¨cˆGØ—y‘y  Ð+ˆHØÑ!ˆô˜m°hÀTÓJÐJr1)r—rLr˜rK)r N)NNr,)FN)TN)„r<r=r>r?r@Ú __slots__r¬Ú classmethodr¿r×rÜrãrérír÷rýrrr rrrr#rÎr-r9r=rDrGrKrTÚ__radd__rWrZr`Ú__rmul__rhrnrqrxr{r~r�r†r‰rŒr’r•Ú __trunc__Úpropertyr˜rœrŸr£rMrBr·rºr¾rÃrÇrËrÎrÒÚdictr¬rØrÛrÞrãrïr rrr"r×r(rOr/r3rèÚ to_integralr=rNr'rærçrðrPrSrAr_r@rArfrŸrmrpr'rryrçr~rærƒr†rŽr•rr�r r¥r«r²r¸r»r·rÂrÅrËrÎrÒrÖrÙráræreríròr÷r rAr-r1r/rr¬sö†Ù6à6€Iô T@ðlñ*óð*ò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ôp4ô@ô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.ò)ò )÷TKr1rcóh•[R[5nXlXlX$lX4lU$)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¬rrKrLr—r˜)r\Ú coefficientríÚspecialr7s r/rJrJ½s,€ô �>‰>œ'Ó "€DØ„JØ„IØ„IØÔà €Kr1có*•\rSrSrSrSrSrSrSrg)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ó.•UR5Ulgr,)r‡r�)r7r�s r/Ú__init__Ú_ContextManager.__init__Ûs€Ø&×+Ñ+Ó-ˆÕr1cób•[5Ul[UR5 UR$r,)rÚ saved_contextrr�rÛs r/Ú __enter__Ú_ContextManager.__enter__Ýs&€Ü'›\ˆÔÜ�4×#Ñ#Ô$Ø×ÑÐr1có.•[UR5 gr,)rr)r7ÚtÚvÚtbs r/Ú__exit__Ú_ContextManager.__exit__ás€Ü�4×%Ñ%Õ&r1)r�rN) r<r=r>r?r@rrr#rAr-r1r/r‹r‹Õs†ñò .ò õ'r1r‹có •\rSrSrSrSVSjrSrSrSrSr S r S r S r S r S rSr\rSWSjrSrSrSrSrSrSrSrSXSjrSrSrSrSrSrSrSr Sr!Sr"S r#S!r$S"r%S#r&S$r'S%r(S&r)S'r*S(r+S)r,S*r-S+r.S,r/S-r0S.r1S/r2S0r3S1r4S2r5S3r6S4r7S5r8S6r9S7r:S8r;S9rS<r?S=r@S>rAS?rBS@rCSArDSBrESCrFSDrGSErHSWSFjrISGrJSHrKSIrLSJrMSKrNSLrOSMrPSNrQSOrRSPrSSQrTSRrUSSrVSTrW\WrXSUrYg)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 óæ^^•[n UbUO W RUlUbUO W RUlUbUO W RUlUbUO W R UlUbUO W R UlUbUO W RUlU c/UlOX�lTc W RR5Ul O>[T[5(d"[U4Sj[T-55Ul OTUl Tc [R[S5Ulg[T[5(d"[U4Sj[T-55UlgTUlg![a GNef=f)Nc3óB># •UHo[UT;54v• M g7fr,©r�)Ú.0r‘rs €r/Ú Ú#Context.__init__..óøé€ÐMÒ# •UHo[UT;54v• M g7fr,r()r)r‘r~s €r/r*r+r,r-)rÚ NameErrorrurtr{rvr|r}Ú_ignored_flagsrr‡r­rrÚfromkeysr~) r7rurtr{rvr|r}r~rr0Údcs `` r/rÚContext.__init__÷s&ù€ð  ܈Bð!Ñ,‘D°"·'±'ˆŒ Ø$,Ñ$8™¸b¿k¹kˆŒ Ø Ñ,‘D°"·'±'ˆŒ Ø Ñ,‘D°"·'±'ˆŒ Ø$,Ñ$8™¸b¿k¹kˆŒ Ø#Ñ/‘U°R·X±XˆŒ à Ñ !Ø"$ˆDÕ à"0Ô à ‰=ØŸ™Ÿ™›ˆD�JܘE¤4×(Ñ(ÜÔM¼HÀuÒØ‹|Ü Ð!BÀdÐRVÐE^Ñ!^Ó_Ð_ðà �U‹]Ø‹|Ü Ð!BÀdÐRVÐE^Ñ!^Ó_Ð_ðð‹|˜u›|Ü Ð!AÀTÐQUÐD]Ñ!]Ó^Ð^Ü×!Ñ! $¨eÓ4Ð4r1cóö•[U[5(d[SU-5eUHnU[;dM[ SU-5e [HnX2;dM [ SU-5e [ R XU5$)Nz%s must be a signal dictz%s is not a valid signal dict)r­rrŽrÚKeyErrorr«r6)r7r7rÓr”s r/Ú_set_signal_dictÚContext._set_signal_dict)sy€Ü˜!œT×"Ñ"ÜÐ6¸Ñ:Ó;Ð ;ÛˆCØœ(•?ÜÐ>ÀÑBÓCÐCñ÷ˆCØ•8ÜÐ>ÀÑBÓCÐCñô×!Ñ! $¨aÓ0Ð0r1cóò•US:XaURXSS5$US:XaURXSS5$US:XaURXSS5$US:XaURXSS5$US :XaURXSS5$US :Xa.U[;a[S U-5e[R XU5$US :XdUS :XaUR X5$US:Xa[R XU5$[ SU-5e)Nrur2rÕr{r5r(rvr|r}rtz%s: invalid rounding moder~rr0z.'decimal.Context' object has no attribute '%s')r:Ú_rounding_modesrŽr«r6r>ÚAttributeError)r7r7r•s r/r6ÚContext.__setattr__4s€Ø �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ð Ir1có•[SU-5e)Nz%s cannot be deleted)rB)r7r7s r/Ú __delattr__ÚContext.__delattr__Ms€ÜÐ3°dÑ:Ó;Ð;r1c ó˜•URR5VVs/sHupU(dMUPM nnnURR5VVs/sHupU(dMUPM nnnURURUR UR URURURX444$s snnfs snnfr,) r~rŒrrìrurtr{rvr|r})r7Úsigr!r~rs r/ríÚContext.__reduce__Qs–€Ø#'§:¡:×#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ó•/nURS[U5-5 URR5VVs/sHup#U(dMURPM nnnURSSR U5-S-5 UR R5VVs/sHupSU(dMURPM nnnURSSR U5-S-5 SR U5S-$s snnfs snnf)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!Únamesr s r/r-ÚContext.__repr__XsÜ€à ˆØ �‰ð#ô˜“:ñô ð)-¯ © ×(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Â$ DÂ5DcóH•URHnSURU'M g)zReset all flags to zeror(N)r~©r7Úflags r/rˆÚContext.clear_flagseó€à—J”JˆDØ ˆD�J‰J�tÓ òr1cóH•URHnSURU'M g)zReset all traps to zeror(N)rrRs r/Ú clear_trapsÚContext.clear_trapsjrUr1c óà•[URURURURUR UR URURUR5 nU$)z!Returns a shallow copy from self.) rrurtr{rvr|r}r~rr0©r7Úncs r/r8ÚContext._shallow_copyosM€ä �T—Y‘Y § ¡ ¨t¯y©y¸$¿)¹)Ø—]‘] D§J¡J°· ± ¸D¿J¹JØ×(Ñ(ó*ˆðˆ r1c ó•[URURURURUR UR URR5URR5UR5 nU$)zReturns a deep copy from self.) rrurtr{rvr|r}r~r‡rr0rZs r/r‡Ú Context.copyvs\€ä �T—Y‘Y § ¡ ¨t¯y©y¸$¿)¹)Ø—]‘] D§J¡JØ—Z‘Z—_‘_Ó&¨¯ © ¯©Ó(9Ø×(Ñ(ó*ˆðˆ r1có•[RX5nX@R;aU"5R"U/UQ76$SURU'UR U(dU"5R"U/UQ76$U"U5e)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. r2)Ú_condition_mapr‚r0r9r~r)r7Ú conditionÚ explanationr.Úerrors r/r²ÚContext._raise_errorsu€ô×"Ñ" 9Ó8ˆØ ×'Ñ'Ó 'á“7—>’> $Ð.¨Ò.Ð .àˆ� ‰ �5ÑØ�z‰z˜%× á“;×%Ò% dÐ2¨TÒ2Ð 2ñ�KÓ Ð r1có(•UR"[6$)z$Ignore all flags, if they are raised)Ú _ignore_flagsrrÛs r/rÈÚContext._ignore_all_flags•s€à×!Ò!¤8Ð,Ð,r1cóR•UR[U5-Ul[U5$)z$Ignore the flags, if they are raised)r0r¸)r7r~s r/rfÚContext._ignore_flags™s%€ð $×2Ñ2´T¸%³[Ñ@ˆÔÜ�E‹{Ðr1có •U(a#[US[[45(aUSnUHnURR U5 M g)z+Stop ignoring the flags, if they are raisedr(N)r­r¹r¸r0Úremove)r7r~rSs r/Ú _regard_flagsÚContext._regard_flags s@€æ ”Z  a¡¬5´¨,×7Ñ7ؘ!‘HˆEÛˆDØ × Ñ × &Ñ & tÖ ,òr1cóL•[URUR- S-5$)z!Returns Etiny (= Emin - prec + 1)r2)r�r{rurÛs r/rcÚ Context.Etinyªó€ä�4—9‘9˜tŸy™yÑ(¨1Ñ,Ó-Ð-r1cóL•[URUR- S-5$)z,Returns maximum exponent (= Emax - prec + 1)r2)r�rvrurÛs r/r«Ú Context.Etop®rpr1có*•URnXlU$)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. )rt)r7rñrts r/r9ÚContext._set_rounding²s€ð—=‘=ˆØŒ ؈r1cót•[U[5(a/XR5:wdSU;aUR[S5$[ XS9nUR 5(aF[UR5URUR- :”aUR[S5$URU5$)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.r…zdiagnostic info too long in NaN) r­r®r°r²rrr×r´rLrur}rB)r7rŒrÓs r/Ú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‹|Ðr1cóN•[RU5nURU5$)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¿rB)r7rÐrÓs r/Úcreate_decimal_from_floatÚ!Context.create_decimal_from_floatÖs"€ô × Ñ ˜qÓ !ˆØ�v‰v�d‹|Ðr1có4•[USS9nURUS9$)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') Trr…)rrK©r7r s r/r¶Ú Context.absès!€ô$ ˜1 dÑ +ˆØ�y‰y ˆyÐ&Ð&r1cóf•[USS9nURX S9nU[La[SU-5eU$)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') Trr…úUnable to convert %s to Decimal)rrTrürŽ©r7r r±rms r/ÚaddÚ Context.addýs>€ô ˜1 dÑ +ˆØ �I‰I�aˆIÐ &ˆØ ”Ò ÜÐ=ÀÑAÓBÐ BàˆHr1có6•[URU55$r,)r®rBr|s r/Ú_applyÚContext._applys€Ü�1—6‘6˜$“<Ó Ð r1cób•[U[5(d [S5eUR5$)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ŽrPr|s r/rPÚContext.canonicals)€ô˜!œW×%Ñ%ÜÐJÓKÐ KØ�{‰{‹}Ðr1có4•[USS9nURX S9$)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') Trr…)rr©r7r r±s r/rÚContext.compare"s"€ôD ˜1 dÑ +ˆØ�y‰y˜ˆyÐ)Ð)r1có4•[USS9nURX S9$)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') Trr…)rrSr‰s r/rSÚContext.compare_signalGs%€ô@ ˜1 dÑ +ˆØ×Ñ ÐÐ0Ð0r1có8•[USS9nURU5$)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)rrAr‰s r/rAÚContext.compare_totaljs€ô4 ˜1 dÑ +ˆØ�‰˜qÓ!Ð!r1có8•[USS9nURU5$)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 r/r_ÚContext.compare_total_mag‡s!€ô ˜1 dÑ +ˆØ×"Ñ" 1Ó%Ð%r1có6•[USS9nUR5$)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@r|s r/r@ÚContext.copy_abs�s€ô ˜1 dÑ +ˆØ�z‰z‹|Ðr1có,•[USS9n[U5$)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)rrr|s r/Ú copy_decimalÚContext.copy_decimal�s€ô ˜1 dÑ +ˆÜ�q‹zÐr1có6•[USS9nUR5$)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)rrAr|s r/rAÚContext.copy_negateªs€ô ˜1 dÑ +ˆØ�}‰}‹Ðr1có8•[USS9nURU5$)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)rrfr‰s r/rfÚContext.copy_sign·s€ô* ˜1 dÑ +ˆØ�{‰{˜1‹~Ðr1cóf•[USS9nURX S9nU[La[SU-5eU$)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') Trr…r)rrhrürŽr€s r/ÚdivideÚContext.divideÏs>€ô< ˜1 dÑ +ˆØ �M‰M˜!ˆMÐ *ˆØ ”Ò ÜÐ=ÀÑAÓBÐ BàˆHr1cóf•[USS9nURX S9nU[La[SU-5eU$)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') Trr…r)rr‰rürŽr€s r/Ú divide_intÚContext.divide_intôs>€ô ˜1 dÑ +ˆØ �N‰N˜1ˆNÐ +ˆØ ”Ò ÜÐ=ÀÑAÓBÐ BàˆHr1cóf•[USS9nURX S9nU[La[SU-5eU$)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')) Trr…r)rrxrürŽr€s r/rdÚContext.divmod s>€ô ˜1 dÑ +ˆØ �L‰L˜ˆLÐ )ˆØ ”Ò ÜÐ=ÀÑAÓBÐ BàˆHr1có4•[USS9nURUS9$)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') Trr…)rrŸr|s r/rŸÚ Context.exp s!€ô* ˜! TÑ *ˆØ�u‰u˜TˆuÐ"Ð"r1có6•[USS9nURX#US9$)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') Trr…)rrã)r7r r±r;s r/rãÚ Context.fma8s#€ô( ˜1 dÑ +ˆØ�u‰u�Q 4ˆuÐ(Ð(r1cób•[U[5(d [S5eUR5$)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Žrmr|s r/rmÚContext.is_canonicalOs*€ô˜!œW×%Ñ%ÜÐMÓNÐ NØ�~‰~ÓÐr1có6•[USS9nUR5$)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)rrpr|s r/rpÚContext.is_finite\s€ô& ˜1 dÑ +ˆØ�{‰{‹}Ðr1có6•[USS9nUR5$)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'r|s r/r'ÚContext.is_infiniters€ô ˜1 dÑ +ˆØ�}‰}‹Ðr1có6•[USS9nUR5$)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)rrr|s r/rÚContext.is_nan�s€ô ˜1 dÑ +ˆØ�x‰x‹zÐr1có4•[USS9nURUS9$)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 Trr…)rryr|s r/ryÚContext.is_normal‘s!€ô( ˜1 dÑ +ˆØ�{‰{ 4ˆ{Ð(Ð(r1có6•[USS9nUR5$)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çr|s r/rçÚContext.is_qnan¨s€ô ˜1 dÑ +ˆØ�y‰y‹{Ðr1có6•[USS9nUR5$)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)rr~r|s r/r~ÚContext.is_signed·s€ô ˜1 dÑ +ˆØ�{‰{‹}Ðr1có6•[USS9nUR5$)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ær|s r/ræÚContext.is_snanÈs€ô ˜1 dÑ +ˆØ�y‰y‹{Ðr1có4•[USS9nURUS9$)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 Trr…)rrƒr|s r/rƒÚContext.is_subnormalØs!€ô& ˜1 dÑ +ˆØ�~‰~ dˆ~Ð+Ð+r1có6•[USS9nUR5$)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†r|s r/r†ÚContext.is_zeroîs€ô ˜1 dÑ +ˆØ�y‰y‹{Ðr1có4•[USS9nURUS9$)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') Trr…)rr•r|s r/r•Ú Context.lnÿs!€ô& ˜1 dÑ +ˆØ�t‰t˜DˆtÐ!Ð!r1có4•[USS9nURUS9$)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') Trr…)rr�r|s r/r�Ú Context.log10s!€ô2 ˜1 dÑ +ˆØ�w‰w˜tˆwÐ$Ð$r1có4•[USS9nURUS9$)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') Trr…)rr r|s r/r Ú Context.logb1s!€ô. ˜1 dÑ +ˆØ�v‰v˜dˆvÐ#Ð#r1có4•[USS9nURX S9$)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') Trr…)rr²r‰s r/r²ÚContext.logical_andKó!€ô0 ˜1 dÑ +ˆØ�}‰}˜Qˆ}Ð-Ð-r1có4•[USS9nURUS9$)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') Trr…)rr¸r|s r/r¸ÚContext.logical_invertfs$€ô ˜1 dÑ +ˆØ×ѨÐÐ-Ð-r1có4•[USS9nURX S9$)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') Trr…)rr»r‰s r/r»ÚContext.logical_orys!€ô0 ˜1 dÑ +ˆØ�|‰|˜Aˆ|Ð,Ð,r1có4•[USS9nURX S9$)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') Trr…)rr·r‰s r/r·ÚContext.logical_xor”rÂr1có4•[USS9nURX S9$)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') Trr…)rrNr‰s r/rNÚ Context.max¯ó!€ô0 ˜1 dÑ +ˆØ�u‰u�QˆuÐ%Ð%r1có4•[USS9nURX S9$)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') Trr…)rrÂr‰s r/rÂÚContext.max_magÊó!€ô ˜1 dÑ +ˆØ�y‰y˜ˆyÐ)Ð)r1có4•[USS9nURX S9$)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') Trr…)rr'r‰s r/r'Ú Context.minÛrËr1có4•[USS9nURX S9$)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') Trr…)rrÅr‰s r/rÅÚContext.min_magörÎr1có4•[USS9nURUS9$)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') Trr…)rrDr|s r/ÚminusÚ Context.minusó!€ô ˜1 dÑ +ˆØ�y‰y ˆyÐ&Ð&r1cóf•[USS9nURX S9nU[La[SU-5eU$)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') Trr…r)rr`rürŽr€s r/ÚmultiplyÚContext.multiplys>€ô2 ˜1 dÑ +ˆØ �I‰I�aˆIÐ &ˆØ ”Ò ÜÐ=ÀÑAÓBÐ BàˆHr1có4•[USS9nURUS9$)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') Trr…)rrËr|s r/rËÚContext.next_minus8s!€ô" ˜1 dÑ +ˆØ�|‰| Dˆ|Ð)Ð)r1có4•[USS9nURUS9$)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') Trr…)rrÎr|s r/rÎÚContext.next_plusLs!€ô" ˜1 dÑ +ˆØ�{‰{ 4ˆ{Ð(Ð(r1có4•[USS9nURX S9$)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') Trr…)rrÒr‰s r/rÒÚContext.next_toward`s"€ô@ ˜1 dÑ +ˆØ�}‰}˜Qˆ}Ð-Ð-r1có4•[USS9nURUS9$)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') Trr…)rr"r|s r/r"ÚContext.normalizeƒs!€ô* ˜1 dÑ +ˆØ�{‰{ 4ˆ{Ð(Ð(r1có4•[USS9nURUS9$)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' Trr…)rrÖr|s r/rÖÚContext.number_class›s"€ô^ ˜1 dÑ +ˆØ�~‰~ dˆ~Ð+Ð+r1có4•[USS9nURUS9$)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') Trr…)rrGr|s r/ÚplusÚ Context.plusÍrÖr1cóh•[USS9nURX#US9nU[La[SU-5eU$)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') Trr…r)rrrürŽ)r7r r±rêrms r/ÚpowerÚ Context.powerÞsA€ôR ˜1 dÑ +ˆØ �I‰I�a¨ˆIÐ .ˆØ ”Ò ÜÐ=ÀÑAÓBÐ BàˆHr1có4•[USS9nURX S9$)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') Trr…)rr×r‰s r/r×ÚContext.quantize.s"€ôn ˜1 dÑ +ˆØ�z‰z˜!ˆzÐ*Ð*r1có•[S5$)zSJust returns 10, as this is Decimal, :) >>> ExtendedContext.radix() Decimal('10') rr›rÛs r/rÙÚ Context.radixhs€ô �r‹{Ðr1cóf•[USS9nURX S9nU[La[SU-5eU$)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') Trr…r)rr~rürŽr€s r/rfÚContext.remainderps>€ô> ˜1 dÑ +ˆØ �I‰I�aˆIÐ &ˆØ ”Ò ÜÐ=ÀÑAÓBÐ BàˆHr1có4•[USS9nURX S9$)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') Trr…)rr†r‰s r/r†ÚContext.remainder_near–s$€ô> ˜1 dÑ +ˆØ×Ñ ÐÐ0Ð0r1có4•[USS9nURX S9$)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') Trr…)rrár‰s r/ráÚContext.rotate¸s!€ô4 ˜1 dÑ +ˆØ�x‰x˜ˆxÐ(Ð(r1có8•[USS9nURU5$)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 r/r(ÚContext.same_quantumÕs€ô* ˜1 dÑ +ˆØ�~‰~˜aÓ Ð r1có4•[USS9nURX S9$)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') Trr…)rrær‰s r/ræÚContext.scalebís!€ô ˜1 dÑ +ˆØ�x‰x˜ˆxÐ(Ð(r1có4•[USS9nURX S9$)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') Trr…)rrer‰s r/reÚ Context.shifts!€ô6 ˜1 dÑ +ˆØ�w‰w�qˆwÐ'Ð'r1có4•[USS9nURUS9$)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 Trr…)rr=r|s r/r=Ú Context.sqrts!€ô: ˜1 dÑ +ˆØ�v‰v˜dˆvÐ#Ð#r1cóf•[USS9nURX S9nU[La[SU-5eU$)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') Trr…r)rrWrürŽr€s r/ÚsubtractÚContext.subtract>s>€ô ˜1 dÑ +ˆØ �I‰I�aˆIÐ &ˆØ ”Ò ÜÐ=ÀÑAÓBÐ BàˆHr1có4•[USS9nURUS9$)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' Trr…)rr=r|s r/r=ÚContext.to_eng_stringUs!€ô2 ˜1 dÑ +ˆØ�‰ tˆÐ,Ð,r1có4•[USS9nURUS9$)ziConverts a number to a string, using scientific notation. The operation is not affected by the context. Trr…)rr9r|s r/Ú to_sci_stringÚContext.to_sci_stringqs!€ô ˜1 dÑ +ˆØ�y‰y ˆyÐ&Ð&r1có4•[USS9nURUS9$)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') Trr…)rr3r|s r/r3ÚContext.to_integral_exactys$€ô6 ˜1 dÑ +ˆØ×"Ñ"¨4Ð"Ð0Ð0r1có4•[USS9nURUS9$)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') Trr…)rrèr|s r/rèÚContext.to_integral_value—s$€ô4 ˜1 dÑ +ˆØ×"Ñ"¨4Ð"Ð0Ð0r1) rvr{r0r|r}r~rurtr) NNNNNNNNNr,)r )Zr<r=r>r?r@rr:r>r6rErír-rˆrWr8r‡ròr²rÈrfrlrrcr«r9rvryr¶r�r„rPrrSrAr_r@r”rArfr›ržrdrŸrãrmrpr'rryrçr~rærƒr†r•r�r r²r¸r»r·rNrÂr'rÅrÔrØrËrÎrÒr"rÖrårèr×rÙrfr†rár(rærer=rýr=rr3rèrrAr-r1r/rräs̆ñð$BFØDHØ&*ô"ò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ð<$ƒKr1rcó(•\rSrSrSrSSjrSrSrg)r·i·©r\r�rŸNcó•UcSUlSUlSUlg[U[5(a=UR Ul[UR 5UlURUlgUSUlUSUlUSUlg)Nr(r2r§)r\r�rŸr­rrKrLr—)r7r•s r/rÚ_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�Hr1có\•SUR<SUR<SUR<S3$)NÚ(rKrMr rÛs r/r-Ú_WorkRep.__repr__Ìs�Ø!%§¤¨D¯H¬H°d·h´hÐ?Ð?r1)rŸr�r\r,)r<r=r>r?r rr-rAr-r1r/r·r··s†Ø$€Iô  õ@r1r·cóÆ•URUR:aUnUnOUnUn[[UR55n[[UR55nUR[ SXR- S- 5-nXdR-S- U:a SUlXtlU=RSURUR- --slURUlX4$)z[Normalizes op1, op2 to have the same exp and length of coefficient. Done during addition. rÚr§r2r)rŸr´r®r�r')rRrSruÚtmpràÚtmp_lenÚ other_lenrŸs r/rPrPÑ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€Or1có•US:XagUS:¼aUSU--$[[U55n[U5[URS55- nX1*:aS$USU*--$)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(rr N)r®r¶r´Úrstrip)rIr4Ústr_nÚval_ns r/rúrúñsi€ð ˆAƒvØØ ˆa‹Ø�2�q‘5‰yÐô”C˜“F“ ˆÜ�E“ œS §¡¨cÓ!2Ó3Ñ3ˆØ˜r“zˆtÐ2 q¨B°°©F¡{Ð2r1cóh•US::dUS::a [S5eSnX:waXU*U-- S- pX:waMU$)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. r(z3Both arguments to _sqrt_nearest should be positive.r2)rº)rIr r±s r/Ú _sqrt_nearestrsF€ð ˆAƒv��a“ÜÐNÓOÐOà€AØ ‹&Ø�Q�B˜‘E‘'˜1‘*ˆ1ð �&à €Hr1có>•SU-X- p2USXS- --US--U:„-$)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. r2r§r-)rýrer±rls r/Ú_rshift_nearestrs4€ð �‰:�q‘z€qØ ��1˜!™‘9‘   1¡Ñ%¨Ñ)Ñ *Ð*r1có>•[X5up#USU-US--U:„-$)zYClosest integer to a/b, a and b positive integers; rounds to even in the case of a tie. r§r2)rd)r r±rlrms r/Ú _div_nearestrs*€ô �!‹<�D€AØ ��!‘�q˜‘s‘ ˜a‘Ñ Ð r1c ó8•X- nSnXB::a[U5X$- -U:¼dXB:”a{[U5XB- - U:¼ag[X-S-U[X[X45--U5-5nUS- nXB::a[U5X$- -U:¼aMLXB:”a[U5XB- - U:¼aMg[ S[ [ U55-SU--5*n[X45n[X5n[US- SS5Hn[X5[Xg-U5- nM [Xs-U5$)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(r2éöÿÿÿr¥rÚ)r¶rrrr�r´r®ré) rýÚMÚLrÚRÚTÚyshiftÚwrÑs r/Ú_ilogr%%s€ð< ‰€Aà €AØ ‹6”c˜!“f ¡‘m qÓ(Ø ‹5”S˜“V˜q™s‘] aÓ'Ü ˜!™# !™Øœ]¨1´ÀÓ0EÑ.EÑ+FÈÓJÑJó Lˆà ˆQ‰ˆð ‹6”c˜!“f ¡‘m qÕ(Ø ‹5”S˜“V˜q™s‘] aÕ'ô ˆS””S˜“V“‰_˜q ™sÑ #Ó $Ð$€AÜ ˜QÓ "€FÜ�QÓ€AÜ �1�Q‘3˜˜2Ö ˆÜ ˜Ó ¤¨f©h¸Ó!:Ñ :Šñô ˜™˜QÓ Ðr1có@•US- n[[U55nX-X-S:¬- nUS:”aTSU-nX-U- nUS:¼a USU--nO[USU*-5n[X5n[ U5n[Xu-U5nXE-n OSn[USU*-5n [X—-S5$)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§r2r(rrø)r´r®rr%Ú _log10_digits) r;r4rür<rÐrrÑÚlog_dÚlog_10Ú log_tenpowers r/rœrœUs¾€ðˆ�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Ð0r1cóˆ•US- n[[U55nX-X-S:¬- nUS:”a6X-U- nUS:¼a USU--nO[USU*-5n[USU-5nOSnU(aI[[[ U555S- nX'-S:¼a[U[ X'-5-SU-5nOSnOSn[X†-S5$)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§r2r(rrø)r´r®rr%r¶r') r;r4rür<rÐrÑr(rÚ f_log_tens r/r“r“ws߀ðˆ�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Ó /Ð/r1có$•\rSrSrSrSrSrSrg)Ú _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ó•SUlg)NÚ/23025850929940456840179914546843642076011014886©rÄrÛs r/rÚ_Log10Memoize.__init__§s €ØGˆ� r1cóD•US:a [S5eU[UR5:¼a\SnSX-S--n[[ [ SU-U5S55nXB*SSU-:waOUS- nM@UR S5SS Ul[URSUS -5$) zdGiven an integer p >= 0, return floor(10**p)*log(10). For example, self.getdigits(3) returns 2302. r(zp should be nonnegativer¥rr§røNr rÚr2)rºr´rÄr®rr%rr�)r7rürrrÄs r/Ú 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  !¡Ð$Ó%Ð%r1r1N)r<r=r>r?r@rr4rAr-r1r/r.r.£s†ñCòHõ&r1r.cóH•[X-U-5n[S[[U55-SU--5*n[ X5nX-n[ US- SS5Hn[ XU--Xg-5nM [ US- SS5HnXS--n[ XUU--U5nM X-$)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¥r2r(rÚr§)rùr�r´r®rré) rýrr r!r"rÚMshiftrîrÑs r/Ú_iexpr8È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€Jr1c ó •US- n[SU[[U55-S- 5nX#-nX-nUS:¼a USU--nO USU*--n[U[ U55upx[ USU-5n[ [ USU-5S5Xr- S-4$)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.r§r(r2rièr¥)rNr´r®rdr'rr8) r;r4rürrlreÚcshiftÚquotrs r/ririís©€ðˆ�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±,Ð >Ð>r1có’•[[[U555U-n[XXE-S-5nX5- nUS:¼a Xb-SU--nO[ Xb-SU*-5nUS:XaA[[U55U-S:¬US:„:XaSUS- -S-SU- p©Xš4$SU-S- U*p©Xš4$[ X„S-*US-5upš[ U S5n U S- n Xš4$)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. r2r(r)r´r®r¶r“rri) rþrÿrrrür±ÚlxcreÚpcrÒrŸs r/rrsÿ€ô Œ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‰ˆà ˆ:Ðr1røéFé5é(ér‰érrÈ) r]Ú2Ú3Ú4Ú5Ú6Ú7Ú8rscóf•US::a [S5e[U5nS[U5-XS- $)z@Compute a lower bound for 100*log10(c) for a positive integer c.r(z0The argument to _log10_lb should be nonnegative.rø)rºr®r´)r;Ú correctionÚstr_cs r/rûrû;s:€ð ˆAƒvÜÐKÓLÐLÜ �‹F€EØ Œs�5‹z‰>˜J¨Q¡xÑ0Ñ 0Ð0r1có•[U[5(aU$[U[5(a [U5$U(a*[U[5(a[R U5$U(a[ SU-5e[ $)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). r)r­rr�r¾r¿rŽrü)ràrÚ allow_floats r/rrFsg€ô�%œ×!Ñ!؈ Ü�%œ×ÑÜ�u‹~ÐÞ”z %¬×/Ñ/Ü×!Ñ! %Ó(Ð(æÜÐ9¸EÑAÓBÐBÜ Ðr1có¾•[U[5(aX4$[U[R5(arUR(dJ[ UR [[UR5UR-5UR5nU[UR54$U(a;[U[R5(aURS:Xa URn[U[ 5(aR[#5nU(aSUR$[&'OUR)[&S5 U[R+U54$[,[,4$)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(r2rª)r­rÚ_numbersÚRationalr˜rJrKr®r�rLÚ denominatorr—Ú numeratorÚComplexrœr˜r¾rr~rr²r¿rü)r7ràrúr8s r/rûrûYs€ô�%œ×!Ñ!؈{Ðô �%œ×*Ñ*×+Ñ+Ø××Ü# 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×'Ñ'¨Ó.Ð.Ð.Ü œ>Ð )Ð)r1r÷i?BiÁ½ðÿ)rurtrr~rvr{r|r}r¨)rurtrr~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*$zÝ\A (?: (?P.)? (?P[<>=^]) )? (?P[-+ ])? (?Pz)? (?P\#)? (?P0)? (?P(?!0)\d+)? (?P[,_])? (?:\.(?P0|(?!0)\d+))? (?P[eEfFgGn%])? \Z có²•[RU5nUc[SU-5eUR5nUSnUSnUSSLUS'US(a"Ub[SU-5eUb[SU-5eU=(d SUS'U=(d S US'US cS US '[ US =(d S 5US 'USb[ US5US'USS:XaUSb USS;aSUS'USS:XaKSUS'Uc[ R "5nUSb[SU-5eUSUS'USUS'USUS'U$UScSUS'SS/US'SUS'U$)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(rñÚgGnr2rIrüÚ thousands_sepzJExplicit thousands separator conflicts with 'n' type in format specifier: ÚgroupingÚ decimal_pointr›r¥r3)Ú_parse_format_specifier_regexÚmatchrºÚ groupdictr�Ú_localeÚ localeconv)Ú format_specrúrÁÚ format_dictrWrXs r/rrç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À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Ñ$à Ðr1có•USnUSnXC[U5- [U5- -nUSnUS:Xa X-U-nU$US:Xa XP-U-nU$US:Xa X-U-nU$US:Xa [U5S-nUS UU-U-XXS -nU$[S 5e) 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). r\rWrXÚˆð €MôÐ7Ó8Ð8r1cóÌ•SSKJnJn U(d/$USS:Xa$[U5S:¼aU"USSU"US55$US[R :XaUSS$[ S5e)zqConvert a localeconv-style grouping into a (possibly infinite) iterable of integers representing group lengths. r()ÚchainÚrepeatrÚr§Nrz unrecognised format for grouping)Ú itertoolsrorpr´rdÚCHAR_MAXrº)r_rorps r/Ú_group_lengthsrsRsl€÷(Þ Øˆ Ø �"‰˜Ó œ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Ó$Ó %Ð%r1có0•U(agUSS;aUS$g)zDetermine sign character.rœr\z +r›r-)Ú is_negativers r/rrŽs#€öØØ ˆf‰˜Ó Ø�F‰|Ðàr1cóP•[X5nU(d US(aUSU-nUS:wd USS;a!SSSSS.USnUS RXc5- nUSS :XaUS - nUS (aUS [U5- [U5- nOSn[XU5n[ XQU-U5$) 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 Úaltr`r(rñrÿr5r4)r5r4rýrüz{0}{1:+}rûrYr\)rÚformatr´ryr)r{rÂrÃrŸrr\Úecharrvs r/rr˜s¿€ô$ ˜ Ó *€Dæ�4˜—;ؘÑ(¨8Ñ3ˆà ˆaƒx�4˜‘< 4Ó'Ø ¨#°CÑ8¸¸f¹ÑFˆØ�J×%Ñ% eÓ1Ñ1ˆØ ˆF�|�sÓØ�C‰ˆà ˆI‡Ø˜Ñ(¬3¨x«=Ñ8¼3¸t»9ÑD‰ àˆ Ü# G°9Ó=€Gä ˜ xÑ/°Ó 6Ð6r1ÚInfz-Infr1rÚr§r,)F)r()rô)FF)r2)|r@Ú__all__r<Ú __xname__Ú __version__Ú__libmpdec_version__ÚmathrÉÚnumbersrQÚsysÚ collectionsr)Ú _namedtuplerÚ ImportErrorrrrrrrrrr%r&Úmaxsizer!r"r#r$ÚArithmeticErrorrr r rÚZeroDivisionErrorr rrr rr rrrrŽrrr`rAÚ contextvarsÚ ContextVarr�Ú frozensetr�rrr r«rrJÚNumberÚregisterr‹rr·rPr�rÏrùrúrrrr%rœr“r.r4r'r8rirrûrrûrrrÚreÚcompileÚVERBOSEÚ IGNORECASErbr¯rµrÂÚDOTALLraÚlocalerdrrrsryrrr’r‘rNrWrrVrZÚ hash_infoÚmodulusrrÕrr�Ú _PyHASH_NANrrr-r1r/ÚrœsÆðñ 'ò! €ð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óÐò ò&ðô+ôhO4KˆfôO4Kôbhð& ‡�×јÔ!ô '�fô 'ôQ$ˆfôQ$ôf6@ˆvô@ô4ð< �‰€ò3ò*  ò+ò!ô. ò` 1òD*0ôX!&�Fô!&ñF“×)Ñ)€ ô#òJ"?òH(ðV�r ¨°"Ø �b˜r¨ñ+ô1ôô&"*ñTØ ˜/ؘxÐ)9Ð:ØØ Ø ØØñ€ñØ ˜Ø˜xÐ)9¸7ÀIÐNØñ€ ñ Ø ˜ØØñ€ó* Ø �*Š*ðð"‡Z�Z�"—-‘-Ñó# !÷""'¡ð#ð&�ZŠZ˜Ó × $Ñ $€ Ø�jŠj˜Ó ×&Ñ&€ ð!#§ ¢ ð,ð‡Z�Z�— ‘ Ñó!Ðð ð  ÛôNò`ò6=ô.#&òJò#7ñR �E‹N€ Ù˜F“OÐÙˆuƒ~€Ù�‹ €Ùˆqƒz€Ù�r‹{€ ðÐ/Ð0€ð—-‘-×'Ñ'€à�m‰m×Ñ€ Ø�m‰m×Ñ€ ñ�B˜¨!Ñ+¨_Ó=€ ÙøðeDó&Ù%ƒLð&ûðD}ó Ùð ús#œM%ËM5Í% M2Í1M2Í5M>Í=M>