403Webshell
Server IP : 121.121.20.254  /  Your IP : 216.73.217.51
Web Server : Microsoft-IIS/10.0
System : Windows NT WEB-SERVER 10.0 build 20348 (Windows Server 2022) AMD64
User : IUSR ( 0)
PHP Version : 8.3.28
Disable Function : NONE
MySQL : ON  |  cURL : ON  |  WGET : OFF  |  Perl : OFF  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  C:/Python315/Lib/__pycache__/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : C:/Python315/Lib/__pycache__/numbers.cpython-315.pyc
R
>lqj�/c��Qs]QHGsGs,Q
NsQQ\Q5sQ	Q\2s\O\2Q
Q\2s	\	O\
2QQ\	2sQQ\2s\O\
2P!)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�$�\sQs]%sQsQsPsQsP!)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).
�)�__name__�
__module__�__qualname__�__firstlineno__�__doc__�	__slots__�__hash__�__static_attributes__r	��C:\Python315\\Lib\numbers.pyrr%s���
�I��Hr)�	metaclassc�P`�\sQs]9snQsQs\Q2sQs\	\Q22s
\	\Q22s\Q2s\Q2s
\Q2s\Q	2sQ
sQs\Q2s\Q
2s\Q2s\Q2s\Q2s\Q2s\Q2s\Q2s\Q2sQsUsP!)raNComplex 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.
c��P!)z<Return a builtin complex instance. Called for complex(self).r	��selfs&r�__complex__�Complex.__complex__Fs�rc��U]6g!)z)True if self != 0. Called for bool(self).r	rs&r�__bool__�Complex.__bool__Js���q�y�rc��[g)zHRetrieve the real component of this number.

This should subclass Real.
��NotImplementedErrorrs&r�real�Complex.realN�
��"�!rc��[g)zMRetrieve the imaginary component of this number.

This should subclass Real.
rrs&r�imag�Complex.imagWr#rc��[g)zself + otherr�r�others&&r�__add__�Complex.__add__`�
��"�!rc��[g)zother + selfrr(s&&r�__radd__�Complex.__radd__er,rc��[g)z-selfrrs&r�__neg__�Complex.__neg__jr,rc��[g)z+selfrrs&r�__pos__�Complex.__pos__or,rc��V'*!)zself - otherr	r(s&&r�__sub__�Complex.__sub__ts���f�}�rc��U'U*!)zother - selfr	r(s&&r�__rsub__�Complex.__rsub__xs���u�u�}�rc��[g)zself * otherrr(s&&r�__mul__�Complex.__mul__|r,rc��[g)zother * selfrr(s&&r�__rmul__�Complex.__rmul__�r,rc��[g)z5self / other: Should promote to float when necessary.rr(s&&r�__truediv__�Complex.__truediv__�r,rc��[g)zother / selfrr(s&&r�__rtruediv__�Complex.__rtruediv__�r,rc��[g)zDself ** exponent; should promote to float or complex when necessary.r)r�exponents&&r�__pow__�Complex.__pow__�r,rc��[g)zbase ** selfr)r�bases&&r�__rpow__�Complex.__rpow__�r,rc��[g)z7Returns the Real distance from 0. Called for abs(self).rrs&r�__abs__�Complex.__abs__�r,rc��[g)z$(x+y*i).conjugate() returns (x-y*i).rrs&r�	conjugate�Complex.conjugate�r,rc��[g)z
self == otherrr(s&&r�__eq__�Complex.__eq__�r,rr	)r
rrr
rrrrr�propertyr!r%r*r.r1r4r7r:r=r@rCrFrJrNrQrTrWr�__classdictcell__��
__classdict__s@rrr9sp������I��K��K����"���"���"���"��"��"��"��"��"��"��"��"����"��"��"��"��"��"��"��"��"��"��"��"��"��"��"��"��"��"rc�`�\sQs]�snQsQs\Q2s\Q2s\Q2s	\Q2s
\QQk2sQsQs
\Q	2s\Q
2s\Q2s\Q2s\Q
2s\Q2sQs\Q2s\Q2sQsQsUsP!)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.
c��[g)zLAny Real can be converted to a native float object.

Called for float(self).rrs&r�	__float__�Real.__float__��
��
"�!rc��[g)atrunc(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__�Real.__trunc__�s
��"�!rc��[g)z$Finds the greatest Integral <= self.rrs&r�	__floor__�Real.__floor__�r,rc��[g)z!Finds the least Integral >= self.rrs&r�__ceil__�
Real.__ceil__�r,rc��[g)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__�Real.__round__�r#rc�$�V*V*1!)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__�Real.__divmod__�s���
�t�|�,�,rc�$�V*V*1!)z�divmod(other, self): The pair (other // self, other % self).

Sometimes this can be computed faster than the pair of
operations.
r	r(s&&r�__rdivmod__�Real.__rdivmod__�s���
�u�|�,�,rc��[g)z)self // other: The floor() of self/other.rr(s&&r�__floordiv__�Real.__floordiv__�r,rc��[g)z)other // self: The floor() of other/self.rr(s&&r�
__rfloordiv__�Real.__rfloordiv__�r,rc��[g)zself % otherrr(s&&r�__mod__�Real.__mod__�r,rc��[g)zother % selfrr(s&&r�__rmod__�
Real.__rmod__�r,rc��[g)zJself < other

< on Reals defines a total ordering, except perhaps for NaN.rr(s&&r�__lt__�Real.__lt__rarc��[g)z
self <= otherrr(s&&r�__le__�Real.__le__	r,rc�,�[[U22!)z(complex(self) == complex(float(self), 0))�complex�floatrs&rr�Real.__complex__s���u�T�{�#�#rc�
�U3!)z&Real numbers are their real component.r	rs&rr!�	Real.real����u�rc��]!)z)Real numbers have no imaginary component.r	rs&rr%�	Real.imag���rc�
�U3!)zConjugate is a no-op for Reals.r	rs&rrT�Real.conjugates	���u�rr	�N)r
rrr
rrrr_rcrfrirmrprsrvryr|rr�r�rrYr!r%rTrrZr[s@rrr�s,������I��"��"��
"��
"��"��"��"��"��"��"�-�-��"��"��"��"��"��"��"��"��"��"��"��"�
$����������rc�d`�\sQsQsnQsQs\\Q22s\\Q22s	Qs
QsUsP!)r�$z�To Real, Rational adds numerator and denominator properties.

The numerator and denominator values should be in lowest terms,
with a positive denominator.
c��[g)z3The numerator of a rational number in lowest terms.rrs&r�	numerator�Rational.numerator-s
��"�!rc��[g)z\The denominator of a rational number in lowest terms.

This denominator should be positive.
rrs&r�denominator�Rational.denominator3r#rc�b�[UO2[UO2*!)z�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.

)�intr�r�rs&rr_�Rational.__float__=s#���4�>�>�"�S��)9�)9�%:�:�:rr	)
r
rrr
rrrYrr�r�r_rrZr[s@rrr$sQ������I�
��"���"���"���"�;�;rc�*`�\sQsQsnQsQs\Q2sQs\QQk2s	\Q2s
\Q2s\Q2s\Q	2s
\Q
2s\Q2s\Q2s\Q
2s\Q2s\Q2s\Q2sQs\Q2s\Q2sQsUsP!)r�Hz�Integral adds methods that work on integral numbers.

In short, these are conversion to int, pow with modulus, and the
bit-string operations.
c��[g)z	int(self)rrs&r�__int__�Integral.__int__Qr,rc��[U2!)z6Called whenever an index is needed, such as in slicing)r�rs&r�	__index__�Integral.__index__Vs���4�y�rc��[g)aself ** 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)rrI�moduluss&&&rrJ�Integral.__pow__Zs
��"�!rc��[g)z
self << otherrr(s&&r�
__lshift__�Integral.__lshift__er,rc��[g)z
other << selfrr(s&&r�__rlshift__�Integral.__rlshift__jr,rc��[g)z
self >> otherrr(s&&r�
__rshift__�Integral.__rshift__or,rc��[g)z
other >> selfrr(s&&r�__rrshift__�Integral.__rrshift__tr,rc��[g)zself & otherrr(s&&r�__and__�Integral.__and__yr,rc��[g)zother & selfrr(s&&r�__rand__�Integral.__rand__~r,rc��[g)zself ^ otherrr(s&&r�__xor__�Integral.__xor__�r,rc��[g)zother ^ selfrr(s&&r�__rxor__�Integral.__rxor__�r,rc��[g)zself | otherrr(s&&r�__or__�Integral.__or__�r,rc��[g)zother | selfrr(s&&r�__ror__�Integral.__ror__�r,rc��[g)z~selfrrs&r�
__invert__�Integral.__invert__�r,rc�,�[[U22!)zfloat(self) == float(int(self)))r�r�rs&rr_�Integral.__float__�s���S��Y��rc�
�U3!)z"Integers are their own numerators.r	rs&rr��Integral.numerator�r�rc��]!)z!Integers have a denominator of 1.r	rs&rr��Integral.denominator�r�rr	r�)r
rrr
rrrr�r�rJr�r�r�r�r�r�r�r�r�r�r�r_rYr�r�rrZr[s@rrrHsE������I��"��"���"��"��"��"��"��"��"��"��"��"��"��"��"��"��"��"��"��"��"��"��"��"��"��"�
 ��������r)rrrrr)r�abcrr�__all__rr�registerr�rr�rrr�r	rr�<module>r�s���@�:(�
?��	�w�	�(n"�f�n"�`�����s�7�s�j�
�
�e��!;�t�!;�Ha�x�a�F	���#�r

Youez - 2016 - github.com/yon3zu
LinuXploit