Your IP : 3.137.221.252
�
�Q�f�, � �� � d dl mZmZ g d�Z G d� de�� Z G d� de� Zej
e� G d� d e� Zej
e � G d
� de� Z
G d� d
e
� Zej
e� y)� )�ABCMeta�abstractmethod)�Number�Complex�Real�Rational�Integralc � � e Zd Z dZdZy)r � N)�__name__�
__module__�__qualname__� __slots__�__hash__r � �./opt/alt/python312/lib64/python3.12/numbers.pyr r % s � ��
�I� �Hr r )� metaclassc �8 � e Zd Z dZed� � Zd� Zeed� � � Zeed� � � Z ed� � Z
ed� � Zed� � Zed � � Z
d
� Zd� Zed� � Zed
� � Zed� � Zed� � Zed� � Zed� � Zed� � Zed� � Zed� � Zy)r r c � � y �Nr ��selfs r �__complex__zComplex.__complex__F s � �Jr c � � | dk7 S �Nr r r s r �__bool__zComplex.__bool__J s � �7��q�y�r c � � t �r ��NotImplementedErrorr s r �realzComplex.realN � � � � "�!r c � � t �r r r s r �imagzComplex.imagW r! r c � � t �r r �r �others r �__add__zComplex.__add__` � � ��!�!r c � � t �r r r% s r �__radd__zComplex.__radd__e r( r c � � t �r r r s r �__neg__zComplex.__neg__j � � ��!�!r c � � t �r r r s r �__pos__zComplex.__pos__o r- r c � � | | z S r r r% s r �__sub__zComplex.__sub__t s � ���u�f�}�r c � � | |z S r r r% s r �__rsub__zComplex.__rsub__x s � ���u�u�}�r c � � t �r r r% s r �__mul__zComplex.__mul__| r( r c � � t �r r r% s r �__rmul__zComplex.__rmul__� r( r c � � t �r r r% s r �__truediv__zComplex.__truediv__� s � �C�!�!r c � � t �r r r% s r �__rtruediv__zComplex.__rtruediv__� r( r c � � t �r r )r �exponents r �__pow__zComplex.__pow__� s � �R�!�!r c � � t �r r )r �bases r �__rpow__zComplex.__rpow__� r( r c � � t �r r r s r �__abs__zComplex.__abs__� s � �E�!�!r c � � t �r r r s r � conjugatezComplex.conjugate� � � �2�!�!r c � � t �r r r% s r �__eq__zComplex.__eq__� � � ��!�!r N)r r
r r r r r �propertyr r# r'