Warning: session_start(): Session cannot be started after headers have already been sent in /home/tvrreohg/public_html/manga.php on line 13
§ àÀ fl(ãó.—dZddlmZmZgd¢ZGd„de¬¦«ZGd„de¦«Ze e¦«Gd „d e¦«Z e  e ¦«Gd „d e ¦«Z Gd „de ¦«Z e  e ¦«dS)z~Abstract Base Classes (ABCs) for numbers, according to PEP 3141. TODO: Fill out more detailed documentation on the operators.é)ÚABCMetaÚabstractmethod)ÚNumberÚComplexÚRealÚRationalÚIntegralcó—eZdZdZdZdZdS)rzŸAll numbers inherit from this class. If you just want to check if an argument x is a number, without caring what kind, use isinstance(x, Number). ©N)Ú__name__Ú __module__Ú __qualname__Ú__doc__Ú __slots__Ú__hash__r óú./opt/alt/python311/lib64/python3.11/numbers.pyrr s&€€€€€ððð €Ið€H€H€Hrr)Ú metaclasscó¨—eZdZdZdZed„¦«Zd„Zeed„¦«¦«Z eed„¦«¦«Z ed„¦«Z ed„¦«Z ed „¦«Z ed „¦«Zd „Zd „Zed „¦«Zed„¦«Zed„¦«Zed„¦«Zed„¦«Zed„¦«Zed„¦«Zed„¦«Zed„¦«ZdS)rafComplex defines the operations that work on the builtin complex type. In short, those are: a conversion to complex, .real, .imag, +, -, *, /, **, abs(), .conjugate, ==, and !=. If it is given heterogeneous arguments, and doesn't have special knowledge about them, it should fall back to the builtin complex type as described below. r có—dS)zr rcó—t‚)z self + otherr©rÚothers rÚ__add__zComplex.__add__Gó €õ"Ð!rcó—t‚)z other + selfrr$s rÚ__radd__zComplex.__radd__Lr'rcó—t‚)z-selfrrs rÚ__neg__zComplex.__neg__Qr'rcó—t‚)z+selfrrs rÚ__pos__zComplex.__pos__Vr'rcó—|| zS)z self - otherr r$s rÚ__sub__zComplex.__sub__[s€à�u�f‰}Ðrcó—| |zS)z other - selfr r$s rÚ__rsub__zComplex.__rsub___s€àˆu�u‰}Ðrcó—t‚)z self * otherrr$s rÚ__mul__zComplex.__mul__cr'rcó—t‚)z other * selfrr$s rÚ__rmul__zComplex.__rmul__hr'rcó—t‚)z5self / other: Should promote to float when necessary.rr$s rÚ __truediv__zComplex.__truediv__mr'rcó—t‚)z other / selfrr$s rÚ __rtruediv__zComplex.__rtruediv__rr'rcó—t‚)zBself**exponent; should promote to float or complex when necessary.r)rÚexponents rÚ__pow__zComplex.__pow__wr'rcó—t‚)z base ** selfr)rÚbases rÚ__rpow__zComplex.__rpow__|r'rcó—t‚)z7Returns the Real distance from 0. Called for abs(self).rrs rÚ__abs__zComplex.__abs__�r'rcó—t‚)z$(x+y*i).conjugate() returns (x-y*i).rrs rÚ conjugatezComplex.conjugate†r'rcó—t‚)z self == otherrr$s rÚ__eq__zComplex.__eq__‹r'rN)r r rrrrrrÚpropertyrr"r&r)r+r-r/r1r3r5r7r9r<r?rArCrEr rrrr s€€€€€ððð€IàðKðKñ„^ðKððððØð"ð"ñ„^ñ„Xð"ðØð"ð"ñ„^ñ„Xð"ðð"ð"ñ„^ð"ðð"ð"ñ„^ð"ðð"ð"ñ„^ð"ðð"ð"ñ„^ð"ðððððððð"ð"ñ„^ð"ðð"ð"ñ„^ð"ðð"ð"ñ„^ð"ðð"ð"ñ„^ð"ðð"ð"ñ„^ð"ðð"ð"ñ„^ð"ðð"ð"ñ„^ð"ðð"ð"ñ„^ð"ðð"ð"ñ„^ð"ð"ð"rrcóN—eZdZdZdZed„¦«Zed„¦«Zed„¦«Zed„¦«Z edd„¦«Z d „Z d „Z ed „¦«Z ed „¦«Zed „¦«Zed„¦«Zed„¦«Zed„¦«Zd„Zed„¦«Zed„¦«Zd„ZdS)rzÜTo Complex, Real adds the operations that work on real numbers. In short, those are: a conversion to float, trunc(), divmod, %, <, <=, >, and >=. Real also provides defaults for the derived operations. r có—t‚)zTAny Real can be converted to a native float object. Called for float(self).rrs rÚ __float__zReal.__float__žó €õ "Ð!rcó—t‚)aGtrunc(self): Truncates self to an Integral. Returns an Integral i such that: * i>0 iff self>0; * abs(i) <= abs(self); * for any Integral j satisfying the first two conditions, abs(i) >= abs(j) [i.e. i has "maximal" abs among those]. i.e. "truncate towards 0". rrs rÚ __trunc__zReal.__trunc__¥s €õ"Ð!rcó—t‚)z$Finds the greatest Integral <= self.rrs rÚ __floor__zReal.__floor__²r'rcó—t‚)z!Finds the least Integral >= self.rrs rÚ__ceil__z Real.__ceil__·r'rNcó—t‚)z¸Rounds self to ndigits decimal places, defaulting to 0. If ndigits is omitted or None, returns an Integral, otherwise returns a Real. Rounds half toward even. r)rÚndigitss rÚ __round__zReal.__round__¼r rcó—||z||zfS)z™divmod(self, other): The pair (self // other, self % other). Sometimes this can be computed faster than the pair of operations. r r$s rÚ __divmod__zReal.__divmod__Ås€ð ˜‘ ˜t e™|Ð,Ð,rcó—||z||zfS)z™divmod(other, self): The pair (self // other, self % other). Sometimes this can be computed faster than the pair of operations. r r$s rÚ __rdivmod__zReal.__rdivmod__Ís€ð ˜‘ ˜u t™|Ð,Ð,rcó—t‚)z)self // other: The floor() of self/other.rr$s rÚ __floordiv__zReal.__floordiv__Õr'rcó—t‚)z)other // self: The floor() of other/self.rr$s rÚ __rfloordiv__zReal.__rfloordiv__Úr'rcó—t‚)z self % otherrr$s rÚ__mod__z Real.__mod__ßr'rcó—t‚)z other % selfrr$s rÚ__rmod__z Real.__rmod__är'rcó—t‚)zRself < other < on Reals defines a total ordering, except perhaps for NaN.rr$s rÚ__lt__z Real.__lt__érJrcó—t‚)z self <= otherrr$s rÚ__le__z Real.__le__ðr'rcó:—tt|¦«¦«S)z(complex(self) == complex(float(self), 0))ÚcomplexÚfloatrs rrzReal.__complex__ös€å•u˜T‘{”{Ñ#Ô#Ð#rcó—| S)z&Real numbers are their real component.r rs rrz Real.realúó €ðˆuˆ rcó—dS)z)Real numbers have no imaginary component.rr rs rr"z Real.imagÿó €ðˆqrcó—| S)zConjugate is a no-op for Reals.r rs rrCzReal.conjugates €àˆuˆ r©N)r r rrrrrIrLrNrPrSrUrWrYr[r]r_rarcrrFrr"rCr rrrr“sÀ€€€€ððð€Iàð"ð"ñ„^ð"ð ð "ð "ñ„^ð "ðð"ð"ñ„^ð"ðð"ð"ñ„^ð"ðð"ð"ð"ñ„^ð"ð-ð-ð-ð-ð-ð-ðð"ð"ñ„^ð"ðð"ð"ñ„^ð"ðð"ð"ñ„^ð"ðð"ð"ñ„^ð"ðð"ð"ñ„^ð"ð ð"ð"ñ„^ð"ð $ð$ð$ðððñ„Xððððñ„Xððððððrrcóh—eZdZdZdZeed„¦«¦«Zeed„¦«¦«Zd„Z dS)rz6.numerator and .denominator should be in lowest terms.r có—t‚rlrrs rÚ numeratorzRational.numeratorr'rcó—t‚rlrrs rÚ denominatorzRational.denominatorr'rcóT—t|j¦«t|j¦«z S)a float(self) = self.numerator / self.denominator It's important that this conversion use the integer's "true" division rather than casting one side to float before dividing so that ratios of huge integers convert without overflowing. )Úintrorqrs rrIzRational.__float__s$€õ�4”>Ñ"Ô"¥S¨Ô)9Ñ%:Ô%:Ñ:Ð:rN) r r rrrrFrrorqrIr rrrr sv€€€€€Ø@Ð@à€Ià Øð"ð"ñ„^ñ„Xð"ðØð"ð"ñ„^ñ„Xð"ð;ð;ð;ð;ð;rrcón—eZdZdZdZed„¦«Zd„Zedd„¦«Zed„¦«Z ed„¦«Z ed „¦«Z ed „¦«Z ed „¦«Z ed „¦«Zed „¦«Zed„¦«Zed„¦«Zed„¦«Zed„¦«Zd„Zed„¦«Zed„¦«ZdS)r zšIntegral adds methods that work on integral numbers. In short, these are conversion to int, pow with modulus, and the bit-string operations. r có—t‚)z int(self)rrs rÚ__int__zIntegral.__int__/r'rcó —t|¦«S)z6Called whenever an index is needed, such as in slicing)rsrs rÚ __index__zIntegral.__index__4s€å�4‰yŒyÐrNcó—t‚)a4self ** exponent % modulus, but maybe faster. Accept the modulus argument if you want to support the 3-argument version of pow(). Raise a TypeError if exponent < 0 or any argument isn't Integral. Otherwise, just implement the 2-argument version described in Complex. r)rr;Úmoduluss rr<zIntegral.__pow__8s €õ"Ð!rcó—t‚)z self << otherrr$s rÚ __lshift__zIntegral.__lshift__Cr'rcó—t‚)z other << selfrr$s rÚ __rlshift__zIntegral.__rlshift__Hr'rcó—t‚)z self >> otherrr$s rÚ __rshift__zIntegral.__rshift__Mr'rcó—t‚)z other >> selfrr$s rÚ __rrshift__zIntegral.__rrshift__Rr'rcó—t‚)z self & otherrr$s rÚ__and__zIntegral.__and__Wr'rcó—t‚)z other & selfrr$s rÚ__rand__zIntegral.__rand__\r'rcó—t‚)z self ^ otherrr$s rÚ__xor__zIntegral.__xor__ar'rcó—t‚)z other ^ selfrr$s rÚ__rxor__zIntegral.__rxor__fr'rcó—t‚)z self | otherrr$s rÚ__or__zIntegral.__or__kr'rcó—t‚)z other | selfrr$s rÚ__ror__zIntegral.__ror__pr'rcó—t‚)z~selfrrs rÚ __invert__zIntegral.__invert__ur'rcó:—tt|¦«¦«S)zfloat(self) == float(int(self)))rfrsrs rrIzIntegral.__float__{s€å•S˜‘Y”YÑÔÐrcó—| S)z"Integers are their own numerators.r rs rrozIntegral.numeratorrhrcó—dS)z!Integers have a denominator of 1.ér rs rrqzIntegral.denominator„rjrrl)r r rrrrrvrxr<r|r~r€r‚r„r†rˆrŠrŒrŽr�rIrFrorqr rrr r &sÛ€€€€€ððð €Iàð"ð"ñ„^ð"ððððð"ð"ð"ñ„^ð"ðð"ð"ñ„^ð"ðð"ð"ñ„^ð"ðð"ð"ñ„^ð"ðð"ð"ñ„^ð"ðð"ð"ñ„^ð"ðð"ð"ñ„^ð"ðð"ð"ñ„^ð"ðð"ð"ñ„^ð"ðð"ð"ñ„^ð"ðð"ð"ñ„^ð"ðð"ð"ñ„^ð"ð  ð ð ðððñ„Xððððñ„Xðððrr N)rÚabcrrÚ__all__rrÚregisterrerrfrr rsr rrúr˜snðð@ð@ð(Ð'Ð'Ð'Ð'Ð'Ð'Ð'à ?Ð ?Ð ?€ð ð ð ð ð �wð ñ ô ð ð(n"ðn"ðn"ðn"ðn"ˆfñn"ôn"ðn"ð`×Ò�ÑÔÐðsðsðsðsðsˆ7ñsôsðsðj‡ ‚ ˆeÑÔÐð;ð;ð;ð;ð;ˆtñ;ô;ð;ð6aðaðaðaðaˆxñaôaðaðF ×Ò�#ÑÔÐÐÐr