403Webshell
Server IP : 93.86.61.54  /  Your IP : 216.73.216.156
Web Server : Apache/2.4.62 (Ubuntu)
System : Linux rasin.ddns.net 6.8.0-124-generic #124~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Tue May 26 21:05:19 UTC x86_64
User : www-data ( 33)
PHP Version : 8.4.22
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : ON  |  Pkexec : ON
Directory :  /lib/python3/dist-packages/mpmath/tests/__pycache__/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /lib/python3/dist-packages/mpmath/tests/__pycache__/extratest_gamma.cpython-310.pyc
o

�"`<�@s�ddlTddlmZddlZdejvr!eejej�d�d�ZndZdejvZda	dd	�Z
d
d�ZgZe
edd��e
ed
dd��D]Ze�dedg�qCedd�D]Ze�dedg�e�dedg�qTegddg�ddg�ddg�ddg�ddg�ddg�ddg�ddg�ddg�ddg�ddg�ddg�d dg�d!dg�d"dg�d#dg�d$dg�d%dg�d&dg�d'dg�d$dg�d(dg�d)dg�d*dg�d&dg�d+dg�d,dg�d-d.g�d/d.g�d0d1g�d2d3g�d4d5g�d6d7g�d8d9g�d:d;g�d<dg�d=d>g�d?dg�d@dg�dAdg�dBdg�dCdg�dDdg�dEdg�dFdGg�dHdIg�dJdKg�dLdMg�dNdg�dOdg�dPdg�dQdg�dRdg�dSdg�dRdg�dTdg�dUdg�dVdg�dWdg�dVdg�dXdYg�7ZdZD]oZe�d[edg�e�d\edg�e�d]edg�e�d^edg�e�d_edg�e�d`edg�e�daedg�e�dbedg�e�dcedg�e�ddedg�e�deedg�e�dfedg��qcdgD]5ZdhD]/Ze�dieefdg�e�djeefdg�e�dkeefdg�e�dleefdg��qِq�edmk�rDddnlmZdoZeD]Ze�Zee�e�Zedpee�e�eee7Z�qedqe�edrt	�dSdS)s�)�*)�ifacNz-dps���z-raisec	CsZz||�}Wn(td7atr�t�t|�td�ddl}|�t��d�t�YdS|j}|j}|j}|j}	t	d}
d}t
||�t
|�|
krpd}t�td|t|d�t|d�tt
||��f�td7atrpt�t
||	�t
|	�|
kr�d}t�td|t|d�t|	d�tt
||	��f�td7atr�t�|s�tj
�d	|�dSdS)
Nr�	EXCEPTIONr��z&Error! %s (re = %s, wanted %s, err=%s)�
z&Error! %s (im = %s, wanted %s, err=%s)z%s ok; )�errcount�raise_�print�	traceback�print_tb�sys�exc_info�real�imag�eps�abs�nstr�
SystemExit�stdout�write)�name�func�z�y�xr
�xre�xim�yre�yim�tol�err�r$�>/usr/lib/python3/dist-packages/mpmath/tests/extratest_gamma.py�checksH,,�r&cCs�|\}}td|�dt_t|�}tdt_|dur*t|�}t|�}t|�}t|�}nt|�}t	|�}||}d|}dD]4}|tkrEdS|t_td|�t
dt||�t
dt||�t
d	t||�t
d
t||�t�dt_q<dS)NzTesting z =i��2r)
�r	���(�<�Z�x�iXriizdps = %s�gamma�rgamma�loggamma�	factorialr))r�mp�dps�eval�maxdpsr0r2r3r1�expr&)�caser�result�	gamma_val�loggamma_val�
factorial_val�
rgamma_valr5r$r$r%�testcase4s4


�r?����i��z%s�8���z%s+0.5z%s+0.37z(0.1+1j)z	(-0.1+1j)z(0.1-1j)z	(-0.1-1j)�10jz-10j�100j�10000jz
-10000000jz(10**100)*jz125+(10**100)*jz-125+(10**100)*jz(10**10)*(1+j)z(10**10)*(-1+j)z(10**100)*(1+j)z(10**100)*(-1+j)z(1.5-1j)z(6+4j)z(4+1j)z(3.5+2j)z(-6-4j)z(-2-3j)z	(-2.5-2j)z(3+3j)z(2-2j)�1�0�2�3zlog(2)�4zlog(6)�5zlog(24)z0.5z	log(pi)/2z1.5zlog(sqrt(pi)/2)z2.5zlog(3*sqrt(pi)/4)zmpf('0.37')z0.25z)log(sqrt(2*sqrt(2*pi**3)/agm(1,sqrt(2))))z-0.4zmpf('-1.9')zmpf('12.8')zmpf('33.7')zmpf('95.2')zmpf('160.3')z
mpf('2057.8')�25z
log(ifac(24))�80z
log(ifac(79))�500zlog(ifac(500-1))�8000zlog(ifac(8000-1))z8000.5z
mpf('8000.1')zmpf('1.37e10')zmpf('1.37e10')*(1+j)zmpf('1.37e10')*(-1+j)zmpf('1.37e10')*(-1-j)zmpf('1.37e100')zmpf('1.37e100')*(1+j)zmpf('1.37e100')*(-1+j)zmpf('1.37e100')*(-1-j)z3+4jampc('-1.7566267846037841105306041816232757851567066070613445016197619371316057169472361826396083480461846305298860734828967253578064447068977111523651210600259708734715632405373076389685095561916961679704883904239638670319343338908388009531786948197210025029725361069435208930363494971027388382086721660805397916323064321605458016797620170995150951921863546031736733861250062671478363174983174780484475256740163443225458588326103258610863362045919438223029718235161814175530618223688296232894588415495615809337292518431903058265147109853171056894218498782764388681620045286085387381541336752982963143014622747051765799672222008686321794822143126731612769761171322046332838061619713895191371243359764435612951384238091232760634271570950240717650166551484551654327989936028503008171693413044615024511055703811707517257682549003543406938864812466781522545540015867361207626414225907787661003765157377139385212757490499491284143906816424244705094759339932733567910991920631339597278805393743140853391550313363278558195609260225928','4.74266443803465792819488940755002274088830335171164611359052405215840070271590681300937317113976705186354250813687568855081767037900279030487082277549828099966758775645041925653923672591196104389515931289826469459903721798606134294436498090428077839141927485901735557543641049637962003652638924845391650954629013775555010722490760652938524839066763429718336190205584222879898420095911804502117983417158744776290996876098194664579906420307070808945181689246805549314043258530272479246115112769957368212585759640878745385160943755234939803677490810820437032389675754312185365002552976365531236035424489891346371159557028288389233931136182050741628120897320644145308130874835332032440560546577484241423134079056537777170351934430586103623577814746004431994179990531852293907799261385520580149820193022197572124649872089512234542069845198000512157973103058858459643347618317513706729969847568154109777507997488135638784405288158432214886648743541773208808731479748217023665577802702269468013673719173759245720489020315779001'))���"�@z
(2+j)*%s/3z(-2+j)*%s/3z(1+2*j)*%s/3z
(2-j)*%s/3z(20+j)*%s/3z(-20+j)*%s/3z
(1+20*j)*%s/3z(20-j)*%s/3z(200+j)*%s/3z
(-200+j)*%s/3z(1+200*j)*%s/3z(200-j)*%s/3)rrr�rQr*������������i��i��i���i���rCi7���i��i߱��)z1e-5z1e-20z1e-100z1e-10000zfadd(%s,'%s',exact=True)zfsub(%s,'%s',exact=True)zfadd(%s,'%sj',exact=True)zfsub(%s,'%sj',exact=True)�__main__)�
default_timergz
Test time:zTotal time:zErrors:)�mpmath�mpmath.libmprr�argv�int�indexr7rr
r&r?�	testcases�list�range�n�appendr�t�__name__�timeitr[�clock�tot_timer9�t1�t2rr$r$r$r%�<module>s\

&"��������	�
���
������������������� �!�"�#�$�%�&�'�(�)�*�+�,�-�.�/�0�1�2�3�4�5�6�7�8�9�:�;�<�=��]�

�

Youez - 2016 - github.com/yon3zu
LinuXploit