Sindbad~EG File Manager

Current Path : /usr/local/lib/python3.9/test/__pycache__/
Upload File :
Current File : //usr/local/lib/python3.9/test/__pycache__/test_complex.cpython-39.opt-1.pyc

a

��gŀ�@s�ddlZddlZddlmZddlmZmZddlmZddlm	Z	m
Z
mZddlZe
d�Ze
d�ZGdd	�d	ej�Zed
kr�e��dS)�N)�support)�VALID_UNDERSCORE_LITERALS�INVALID_UNDERSCORE_LITERALS)�random)�atan2�isnan�copysign�inf�nanc@s$eZdZdd�Zd?dd�Zdd�Zd@dd	�Zd
d�Zdd
�Zdd�Z	dd�Z
dd�Zdd�Zdd�Z
dd�Zdd�Zdd�Zdd�Zd d!�Zejd"d#��Zd$d%�Zd&d'�Zd(d)�Zd*d+�Zejd,d-��Zd.d/�Zd0d1�Zd2d3�Zejd4d5��Zejd6d7��Zejd8d9��Z ejd:d;��Z!d<d=�Z"d>S)A�ComplexTestcCs�t|t�rdt|t�r>tj�||j|j�tj�||j|j�q�tj�||j|�tj�||jd�n@t|t�r�tj�|||j�tj�|d|j�ntj�|||�dS)N�)�
isinstance�complex�unittest�TestCase�assertAlmostEqual�real�imag)�self�a�b�r�-/usr/local/lib/python3.9/test/test_complex.pyrs


zComplexTest.assertAlmostEqual��&�.>cCs`t|�t|�kr||}}|dkr.t|�|kS|dkrBt|�|kS|�t|||�|k�dS)z+Return true iff floats x and y "are close".rN)�abs�
assertTrue�r�x�yZepsrrr�assertCloseAbs s
zComplexTest.assertCloseAbscCstd}t|�st|�r*t|�r^t|�r^dSn4||kr^|dkr>dStd|�td|�krVdS|d7}|�|�||��dS)a#assert that floats x and y are identical, in the sense that:
        (1) both x and y are nans, or
        (2) both x and y are infinities, with the same sign, or
        (3) both x and y are zeros, with the same sign, or
        (4) x and y are both finite and nonzero, and x == y

        z&floats {!r} and {!r} are not identicalNr��?z: zeros have different signs)rr�fail�format)rrr�msgrrr�assertFloatsAreIdentical,sz$ComplexTest.assertFloatsAreIdenticalcCs(|�|j|j|�|�|j|j|�dS)z.Return true iff complexes x and y "are close".N)rrrrrrr�assertCloseCszComplexTest.assertClosecCsp||}|dkr:||}|�||�|�|�}|�||�|dkrl||}|�||�|�|�}|�||�dS)z8Compute complex z=x*y, and check that z/x==y and z/y==x.rN)r%�__truediv__)rrr�z�qrrr�	check_divHs

zComplexTest.check_divcs8dd�tdd�D���fdd��D�}|D]}|D]}|�||�q2q*|�tdd�d�|�tdd�d�td	�D]$}|�tt�t��tt�t���qr|�ttjd
d�|�ttdd�|�	t�d
d
�d�|�ttjd
d�dt
ft
dft
t
ffD]<\}}tdd�t||�}|�t|j
��|�t|j��q�dS)NcSsg|]}t|��qSr)�float)�.0�irrr�
<listcomp>W�z,ComplexTest.test_truediv.<locals>.<listcomp>����cs g|]}�D]}t||��qqSr)r�r+rr�Zsimple_realrrr-Xr.gZb���ti��?�N�~h�d��?�?�yZb���ti�?�@y�?�r)�ranger)rr�assertRaises�ZeroDivisionErrorr&�
OverflowError�powr�NANrrrr)rZsimple_complexrrr,Z
denom_realZ
denom_imagr'rr2r�test_truedivVs&�zComplexTest.test_truedivcCs(|�ttjdd�|�ttjdd�dS)N�@y�?r7)r:�	TypeErrorr�__floordiv__�rrrr�
test_floordivrszComplexTest.test_floordivcCs�|�t�ddd>�d�|�t�dd�t�|�t�dd�d�|�t�dd�d�|�t�dd�d�|�t�dd�d�tdd�D]p}|d}|�t�|d	|�d�|�t�|d	|�d�|�t�t||�|�d�|�t�t||�|�d�q�|�t�dd�t�|�t�dd�t�|�t�dd�t�|�t�	dd�t�|�
ttj
dd�|�
ttjdd�|�
ttjdd�|�
ttjdd�|�t�dd�d�|�t�dd�d�|�t�dd�d�|�t�dd�d�dS)
Nr6�i'FTy@@r5gY@r7)�assertIsr�__eq__�__lt__�NotImplemented�__ne__r9�__le__�__gt__�__ge__r:rA�operator�lt�le�gt�ge�eq�ne)rr,�frrr�test_richcomparevs0zComplexTest.test_richcomparecs�d�fdd�	}tdd�D]R}d|}d|�|d|tdd��fd	d
��|d|tdd�dd
�t|��q|dtd
d�dd
��dS)NrcsR|D]H}||}t||�}��t�||�||����t�||�||��qdS�N)rrFrGrJ)�nZdeltasZis_equalr�deltar,r'rCrr�check�s

z6ComplexTest.test_richcompare_boundaries.<locals>.checkrE�
�4��ecs|�dkS)Nrr�rY)�multrr�<lambda>�r.z9ComplexTest.test_richcompare_boundaries.<locals>.<lambda>cSsdS)NFrr_rrrra�r.li����rcSsdS)NTrr_rrrra�r.)r)r9r*)rrZr,r=r)r`rr�test_richcompare_boundaries�s	"z'ComplexTest.test_richcompare_boundariescCs4|�tdjd�|�tdd��|�tdjd�dS)Nr6r7cSsddS)N��p=
ף
@���Q�@rrrrrrra�r.z&ComplexTest.test_mod.<locals>.<lambda>y333333@)r:rA�__mod__rCrrr�test_mod�szComplexTest.test_modcCs$|�ttdd�|�ttdd�dS)Nr6r3r7)r:rA�divmodrCrrr�test_divmod�szComplexTest.test_divmodcCs(|�tdd�d�|�tdd�d�|�ttdd�|�tdd�d�|�tdd	�d
�|�ttddd�d}|�|dd
�|�|ddd
�|�dd
�|�dd
�zd|Wnty�Yn0|�d
�zddWnty�Yn0|�d
�|�|d|d�|�|d|d�|�|d|d�|�dd
�d}|�tt||d�tjtjd
tjd
tjtjd
tjd
f}|D]�}|D]�}|j	||d��^t
||�}z||Wnt�y�Yn0z||Wnt�y�Yn0Wd�n1�s0Y�q��q�dS)Nr6r7r r8r��?���y���rErcr3z,should fail 0.0 to negative or complex powery@��ii��������ffffff@ffffff@r�rr)rr=r:r;�
ValueError�assertEqualr!�sys�maxsize�subTestrr<)rrr�valuesrr�crrr�test_pow�sT

�
zComplexTest.test_powcCstdd�tdd�tdt�ttd�g}gd�}|D]�}|D]�}|j||d���z||}Wntynd	}Yn0z|t|�}Wnty�d	}Yn0z|t|�}Wnty�d	}Yn0|�t|�t|��|�t|�t|��Wd�q81s�0Yq8q0dS)
Ng@g(@g\�n��Tg;%_��n�Tg�r)i��r/������rirrEr]���)�value�exponentZoverflow)r�INFrsr<r*rp�str)rrtZ	exponentsr|r}Zint_powZ	float_powZcomplex_powrrr�%test_pow_with_small_integer_exponents�s.�


z1ComplexTest.test_pow_with_small_integer_exponentscCs@td�D] }|�tt�dt�d��q|�tdd��dS)Nr5g���ư>r)r9rrr)rr,rrr�test_boolcontextszComplexTest.test_boolcontextcCs|�tdd���d�dS)Ng333333@g������#@y333333@������#�)r%r�	conjugaterCrrr�test_conjugateszComplexTest.test_conjugatecs0Gdd�d�}Gdd�dt�}|�t|d��d�|�t|d��d�|�tt|d��|�tt|d��|�tti�|�tt|d��|�tt|d��|�td�d�|�td	�d
�|�td�d
�|�td	�d
�|�td
�d
�|�tdd	�d�|�tdd	�d�|�tdd�d�|�tdd	�d�|�tdd	�d�|�tdd�d�|�tdd	�d�|�tdd	�d�|�tdd�d�|�td
�d
�|�td�d
�|�td�d�|�td�d�|�td
d�d
�|�tdd�d
�|�tdd�d�|�tdd�d�|�tdd�d�|�tdd�d�|�tdd�d�|�tdd�d�|�td�d�|�td�d�|�t�d�|�td�d�|�td�d�|�td�d�|�td�d �|�td!�d"�|�td#�d$�|�td%�d&�|�td'�d"�|�td(�d�|�td)�d�|�td*�d�|�td+�d,�|�td-�d�|�td.�d�|�td/�d�Gd0d1�d1t�}|�t|d2��d2�|�td3d4d5�d6�|�td6d7�d6�|�td6d4d5�d8�|�tdd9d5�d:�d;d<�}|�|tdd�j�|d��|�|tdd=�j�|d=��|�|tdd�j�|d��|�|td=d�j�|d=��d"}|�t|�|u�~|�ttdd�|�ttdd�|�t	td>�|�tt
d?�|�tt
d?�|�ttd?�|�t	td@�|�ttd�|�tdAtd�|�t	tdB�|�t	tdC�|�ttddD�|�ttddE�|�ttddD�|�t	tdF�|�t	tdG�|�t	tdH�|�t	tdI�|�t	tdJ�|�t	tdK�|�t	tdL�|�t	tdM�|�t	tdN�|�t	tdO�|�t	tdP�|�t	tdQ�|�tdRtddSid�|�tdTtdddSi�|�t	tdU�|�t	tdV�|�t	tdW�|�t
tdX��t�|�tdY�d2�|�t	tdZ�Gd[d\�d\t��G�fd]d^�d^�}|��t|��Gd_d`�d`�}|�t|da��dE�|�t|db�|dc�d5�d6�|�tt|d��Gddde�de�}|�t|dE��df�|�tdg|dE��dh�|�tt|dSdi��|�ttdg|dSdi��Gdjdk�dk�}	|�tt|	��|�ttdg|	��Gdldm�dmt�}
Gdndo�dot�}Gdpd1�d1t�}|�t|
d��dq�|�t��$|�t|d��dr�Wd�n1�s0Y|�tt|d��dS)sNc@seZdZdd�Zdd�ZdS)z(ComplexTest.test_constructor.<locals>.OScSs
||_dSrW�r|�rr|rrr�__init__r.z1ComplexTest.test_constructor.<locals>.OS.__init__cSs|jSrWr�rCrrr�__complex__
r.z4ComplexTest.test_constructor.<locals>.OS.__complex__N��__name__�
__module__�__qualname__r�r�rrrr�OSsr�c@seZdZdd�Zdd�ZdS)z(ComplexTest.test_constructor.<locals>.NScSs
||_dSrWr�r�rrrr�r.z1ComplexTest.test_constructor.<locals>.NS.__init__cSs|jSrWr�rCrrrr�r.z4ComplexTest.test_constructor.<locals>.NS.__complex__Nr�rrrr�NSsr�y�?$@g�?rEz1+10jr[y$@g$@r y��Q�	@g��Q�	@i:y�s@r7rry��Q�	@y��Q�	��1r3�1jrhz-1riz+1z(1+2j)��?@z
(1.3+2.2j)y�������?������@z3.14+1Jy��Q�	@�?z
 ( +3.14-6J )y��Q�	@�z ( +3.14-J )y��Q�	@�z ( +3.14+j )�Jz( j )z+Jz( -j)y��z1e-500z-1e-500jz-1e-500+1e-500jc@seZdZdS)�.ComplexTest.test_constructor.<locals>.complex2N�r�r�r�rrrr�complex2Fr.r�r6��rny1@7@)ry1@G@y@@y�@cSs
t|d�S)z7Function that produces different results for 0. and -0.��)r)rrrr�split_zerosPsz1ComplexTest.test_constructor.<locals>.split_zeros��z1+1jjy@@�znot 'NoneType'�z39�2�*z1+z1+1j+1jz--z(1+2jz1+2j)z1+(2j)z	(1+2j)123rz1j+2Z1e1ejz1e++1ejz)1+2j(z7first argument must be a string or a number, not 'dict'r]z,second argument must be a number, not 'dict'z1..1jz1.11.1jz1e1.1jA�11111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111u ( 1+1j ) uこんにちはc@seZdZdS)z-ComplexTest.test_constructor.<locals>.EvilExcNr�rrrr�EvilExc�sr�cseZdZ�fdd�ZdS)z1ComplexTest.test_constructor.<locals>.evilcomplexcs��dSrWrrC�r�rrr��sz=ComplexTest.test_constructor.<locals>.evilcomplex.__complex__N)r�r�r�r�rr�rr�evilcomplex�sr�c@seZdZdd�Zdd�ZdS)z,ComplexTest.test_constructor.<locals>.float2cSs
||_dSrWr�r�rrrr��sz5ComplexTest.test_constructor.<locals>.float2.__init__cSs|jSrWr�rCrrr�	__float__�sz6ComplexTest.test_constructor.<locals>.float2.__float__N)r�r�r�r�r�rrrr�float2�sr�gE@g1@g7@c@seZdZdd�Zdd�ZdS)z-ComplexTest.test_constructor.<locals>.MyIndexcSs
||_dSrWr�r�rrrr��sz6ComplexTest.test_constructor.<locals>.MyIndex.__init__cSs|jSrWr�rCrrr�	__index__�sz7ComplexTest.test_constructor.<locals>.MyIndex.__index__N)r�r�r�r�r�rrrr�MyIndex�sr�yE@�{y�^@E@i�c@seZdZdd�ZdS)z+ComplexTest.test_constructor.<locals>.MyIntcSsdS)Nr�rrCrrr�__int__�sz3ComplexTest.test_constructor.<locals>.MyInt.__int__N)r�r�r�r�rrrr�MyInt�sr�c@seZdZdZdd�ZdS)z.ComplexTest.test_constructor.<locals>.complex0z:Test usage of __complex__() when inheriting from 'complex'cSsdS)N�E@rrCrrrr��sz:ComplexTest.test_constructor.<locals>.complex0.__complex__N�r�r�r��__doc__r�rrrr�complex0�sr�c@s"eZdZdZddd�Zdd�ZdS)	z.ComplexTest.test_constructor.<locals>.complex1z3Test usage of __complex__() with a __new__() methodr7cSst�|d|�S)Nr])r�__new__r�rrrr��sz6ComplexTest.test_constructor.<locals>.complex1.__new__cSs|SrWrrCrrrr��sz:ComplexTest.test_constructor.<locals>.complex1.__complex__N)r7)r�r�r�r�r�r�rrrr�complex1�s
r�c@seZdZdZdd�ZdS)r�z`Make sure that __complex__() calls fail if anything other than a
            complex is returnedcSsdSrWrrCrrrr��sz:ComplexTest.test_constructor.<locals>.complex2.__complex__Nr�rrrrr��sr��@)�objectrprr:rArrrrro�intr*ZassertRaisesRegex�type�	Exceptionr<ZassertWarns�DeprecationWarning)rr�r�r�r�rur�r�r�r�r�r�rr�r�test_constructor
s
�
�4zComplexTest.test_constructorc
CsDGdd�dt�}ddtttfD�]}ddtttfD�]}|j||d���t||�}|�|j|�|�|j|�|||�}|�t|�|�|�|j|�|�|j|�t|||��}|�t|�t�|�|j|�|�|j|�|t||��}|�t|�|�|�|j|�|�|j|�Wd�q61�s20Yq6q dS)Nc@seZdZdS)z>ComplexTest.test_constructor_special_numbers.<locals>.complex2Nr�rrrrr��sr�rr�)rr)	rr~r>rsr$rrrFr�)rr�rrr'rrr� test_constructor_special_numbers�s&

z,ComplexTest.test_constructor_special_numbersc	s�tD]J�t�fdd�dD��s|�t��t���|�t��t��dd���qtD]2��dvrbqTt�fdd�dD��sT|�tt��qTdS)Nc3s|]}|�vVqdSrWr�r+Zch�Zlitrr�	<genexpr>�r.z/ComplexTest.test_underscores.<locals>.<genexpr>ZxXoObB�_r�)Z0_7Z09_99c3s|]}|�vVqdSrWrr�r�rrr��r.)	r�anyrpr�eval�replacerr:rorCrr�r�test_underscores�szComplexTest.test_underscorescCsPtdd�D]@}|�t|�tt|d���|d}|�t|�tt|d���q
dS)Nrl�r�@r)r9rp�hashr)rrrrr�	test_hash�szComplexTest.test_hashcCsFdd�tdd�D�}|D](}|�|jd|jddt|��qdS)NcSs.g|]&}tdd�D]}t|d|d��qqS)����	r�g@)r9rr1rrrr-�r.z(ComplexTest.test_abs.<locals>.<listcomp>r�r�r]g�?)r9rrrr)rZnums�numrrr�test_abs�szComplexTest.test_abscCs,|jfdd�}|dd�|dd�|dd|jd	�|td
t�d�|td
t�d�|ttd
�d�|ttt�d�|ttd
�d�|td
t�d�|ttt�d�|tdt�d�|tdt�d�|tdt�d�|�dttd���|�dttd���|�dttd���|�dttd���dS)NcSs |t|�|�|t|�|�dSrW��reprr��vZexpected�test_fnrrr�test�sz'ComplexTest.test_repr_str.<locals>.testy�?@z(1+6j)y�?�z(1-6j)y��z(-1+-0j))r�r z(1+infj)z(1-infj)rEz(inf+1j)z(-inf+infj)z(nan+1j)z(1+nanj)z
(nan+nanj)r�infjz-infj�nanjy��y@)rpZassertNotEqualrr~r>r��rr�rrr�
test_repr_str�s$

zComplexTest.test_repr_strcCs�|jfdd�}|tdd�d�|tdd�d�|tdd�d	�|tdd�d
�|tdd�d�|tdd�d�|tdd�d
�|tdd�d�dS)NcSs |t|�|�|t|�|�dSrWr�r�rrrr�sz5ComplexTest.test_negative_zero_repr_str.<locals>.testrr r�r�z(-0+1j)r�z-1jz(-0-1j)Z0jz-0jz(-0+0j)z(-0-0j))rprr�rrr�test_negative_zero_repr_strsz'ComplexTest.test_negative_zero_repr_strcCs|�dd�dS)Ny��)rprCrrr�test_neg%szComplexTest.test_negc	Cs�d}d}d}zlttjd�}t|||d�|��ttjd�}|�|��d||f�W|durl|jsl|��t�tj�n$|dur�|js�|��t�tj�0dS)Nrcrm�w)�file�rz%s %s
)	�openrZTESTFN�print�closerp�read�closed�unlink)rrr�forrr�	test_file(s�zComplexTest.test_filecCsx|�d��d�|�d��d�|�d��d�|�d��d�|�td	t���d
tf�|�ttd	���td
f�dS)Nr�)r �@y�?�)r g�r�)rr����)rr�rr)rp�__getnewargs__rr~rCrrr�test_getnewargs8szComplexTest.test_getnewargscCs@d\}}|�t|jd�tdd��|�t|jd�tdd��dS)N)r7r�r�rr�)rprr)r�z1�z2rrr�test_plus_minus_0j@szComplexTest.test_plus_minus_0jcCsfd}d}d}|�|jd�|�|jd�|�|jd�|�|jd�|�|jd�|�|jt�dS)Nr�y��y��r�g�)r$rrr~)rZz0r�r�rrr�test_negated_imaginary_literalGsz*ComplexTest.test_negated_imaginary_literalcCsJ|�td�ttd��|�td�tdt��|�td�ttt��dS)NZ1e500rz-1e500jz-1e500+1.8e308j)rprr~rCrrr�
test_overflowWszComplexTest.test_overflowc
	Cs�dddddddttg	}|dd�|D�7}|D]D}|D]:}t||�}tt|��}|�|j|j�|�|j|j�q4q,td	�td
�}}td|�td|�}}	|D]T}|D]J}t||�}tt|��}|�d|jd|j�|�d|jd|j�q�q�dS)Nrg�ir4g�(�
�0�?go���!	@g�d~�QJcSsg|]
}|�qSrr)r+r�rrrr-`r.z3ComplexTest.test_repr_roundtrip.<locals>.<listcomp>r	r
)	r~r>rr�r$rrr*r�)
rZvalsrrr'Z	roundtripr	r
r�r�rrr�test_repr_roundtrip]s(

��zComplexTest.test_repr_roundtripcCs&|�tdd�td��|�tdd�td��|�tdd�td��|�tdd�td��|�tdd�td��|�tdd�td��|�tdd�td��|�tdd	�td��d
}|�t|d�t|��|�t|d�t|��|�t|d	�t|��|�t|d�t|��tdd
�}|�t|d�t|��|�t|d�t|��|�t|d	�t|��|�t|d�t|��tdd�}|�t|d�t|��|�t|d�t|��|�t|d	�t|��|�t|d�t|��|�tdd�d�|�tdd�d�|�tdd�d�|�tdd�d�|�tdd�d�|�tdd�d�|�tdd�d�|�tdd�d�|�tdd�d �|�td!d�d"�|�td#d�d$�|�td!d%�d&�|�td!d'�d&�|�td!d(�d)�|�td!d*�d+�|�td!d,�d-�|�td.d/�d0�|�td1d2�d3�|�td1d4�d5�|�td1d6�d7�|�td1d8�d9�|�td1d:�d;�|�td1d<�d=�|�td1d>�d?�|�td@dA�dB�|�td1dC�dD�|�td1dE�dD�|�td1dF�dG�|�tdHdF�dI�|�tdHdJ�dK�|�tdHdL�dM�|�tdNdL�dO�|�tdPdQ�dR�|�tdSdT�dU�|�tdSdV�dW�|�tdSdX�dY�|�tdSdZ�d[�|�td\d�d]�|�td\d^�d_�|�tdSd`�da�|�tdSdb�da�|�tdSdc�dd�|�tdSde�dd�|�tdfdg�dh�|�tdfdZ�di�|�tdfdj�dk�|�tdfdV�dl�|�tdfd^�dm�|�tdfdn�do�|�tdfdp�dq�|�tdrjds�|�td1jdt�duD]}|�tdrj|��qx|�dv�dw�dx�|�tttt�d%�dy�|�ttdzt�d%�d{�|�tttdz�d%�d|�|�tttd}�d%�d~�|�tttt�d'�d�|�ttdzt�d'�d��|�tttdz�d'�d��|�tttd}�d'�d��|�tttt�d%�d��|�ttdzt�d%�d��|�tttdz�d%�d��|�tttd}�d%�d��|�tttt�d'�d��|�ttdzt�d'�d��|�tttdz�d'�d��|�tttd}�d'�d��dS)�Ny�?@r�y�?@y@y������	@r@y������	@�-�<y�$I�$I�?%I�$I�,�Z10rr�r�r�r��3�gz1+3jz0+3jz1.5+3.5jz+gz	+1.5+3.5jy�?�z	+1.5-3.5jz-gz1.5-3.5jz gz	 1.5+3.5jz	 1.5-3.5jy��@z	-1.5+3.5jy���z	-1.5-3.5jy�������z
-1.5-3.5e-20jrUz-1.500000-3.500000j�F�ez-1.500000e+00-3.500000e+00jz.2ez-1.50e+00-3.50e+00jz.2Ez-1.50E+00-3.50E+00jy�����\�z.2Gz-1.5E+10-3.5E+05jy�?@z<20gz1.5+3j              z*<20gz1.5+3j**************z>20gz              1.5+3jz^20gz       1.5+3j       z<20z(1.5+3j)            z>20z            (1.5+3j)z^20z      (1.5+3j)      y+����?�C�l��z^20.2z     (1.1-3.1j)     z20.2fz          1.50+3.00jz>20.2fz<20.2fz1.50+3.00j          y0)�VC D@z150000000000000000000.00+3.00jz>40.2fz(          150000000000000000000.00+3.00jz^40,.2fz(  150,000,000,000,000,000,000.00+3.00j  y|3*�+TTD@z( 1,500,000,000,000,000,000,000.00+3.00j y|3*�+TTDp�@z,.2fz*1,500,000,000,000,000,000,000.00+3,000.00jr6z.0ez1e+00+1e+00jz#.0ez1.e+00+1.e+00jz.0fz1+1jz#.0fz1.+1.jy�������?�������?z1.1+1.1jz#gz1.10000+1.10000jz.1ez1.0e+00+1.0e+00jz#.1ez.1fz1.0+1.0jz#.1fy���?z#fz-1.500000+0.500000jz-2.+0.jz#ez-1.500000e+00+5.000000e-01jz-2.e+00+5.e-01jz-1.50000+0.500000jz.0gz-2+0.5jz#.0gz-2.+0.5jy�?�?Z010fz=20ZbcdoxXz	*{0:.3f}*yn��!	@����	�@z*3.142+2.718j*znan+nanjrEz
1.000000+nanjz
nan+1.000000jriz
nan-1.000000jzNAN+NANjz
1.000000+NANjz
NAN+1.000000jz
NAN-1.000000jzinf+infjz
1.000000+infjz
inf+1.000000jz
inf-1.000000jzINF+INFjz
1.000000+INFjz
INF+1.000000jz
INF-1.000000j)	rpr"rrr:ro�
__format__r>r~)rr'�trrr�test_formatys�

zComplexTest.test_formatN)r)r)#r�r�r�rrr$r%r)r?rDrVrbrergrvr�r�r�r�rZrequires_IEEE_754r�r�r�r�r�r�r�r�r�r�r�r�r�r�rrrrrsJ

;C





r�__main__)rrqr�rZtest.test_grammarrrr�mathrrrrNr*r~r>rrr��mainrrrr�<module>s i

Sindbad File Manager Version 1.0, Coded By Sindbad EG ~ The Terrorists