o
    *Î®cQ  ã                   @   sü   d dl mZmZmZmZmZmZ d dlmZ edƒZ	edƒZ
eddƒZeddƒZdd„ Zdd	„ Zd
d„ Zdd„ Zdd„ Zdd„ Zdd„ Zdd„ Zdd„ Zdd„ Zdd„ Zdd„ Zdd„ Zd d!„ Zd"d#„ Zd$d%„ Zd&d'„ Zd(d)„ Zd*d+„ Zd,d-„ Z d.d/„ Z!d0S )1é    )ÚIntegerÚRationalÚinteger_nthrootÚigcdÚpiÚoo)ÚSé   é   é   c                   C   s   t dƒ d S )Né   )r   © r   r   úJ/tmp/pip-target-vg8gfxp4/lib/python/sympy/core/benchmarks/bench_numbers.pyÚtimeit_Integer_create
   ó   r   c                   C   ó   t tƒ d S ©N)ÚintÚi3r   r   r   r   Útimeit_Integer_int   r   r   c                   C   s   t j  d S r   )r   ÚOner   r   r   r   Útimeit_neg_one   r   r   c                   C   ó
   t   d S r   ©r   r   r   r   r   Útimeit_Integer_neg   ó   
r   c                   C   r   r   )Úabsr   r   r   r   r   Útimeit_Integer_abs   r   r   c                   C   s   t t   d S r   r   r   r   r   r   Útimeit_Integer_sub   r   r   c                   C   r   r   )r   r   r   r   r   r   Útimeit_abs_pi"   r   r   c                   C   r   r   )r   r   r   r   r   Útimeit_neg_oo&   r   r    c                   C   ó   t d  d S ©Né   r   r   r   r   r   Útimeit_Integer_add_i1*   r   r$   c                   C   ó   t t  d S r   ©r   Úi4r   r   r   r   Útimeit_Integer_add_ij.   r   r(   c                   C   r%   r   ©r   Úr34r   r   r   r   Útimeit_Integer_add_Rational2   r   r+   c                   C   s   t d  d S )Nr
   r   r   r   r   r   Útimeit_Integer_mul_i46   r   r,   c                   C   ó   t t  d S r   r&   r   r   r   r   Útimeit_Integer_mul_ij:   r   r.   c                   C   r-   r   r)   r   r   r   r   Útimeit_Integer_mul_Rational>   r   r/   c                   C   s   t dk d S )Nr	   r   r   r   r   r   Útimeit_Integer_eq_i3B   r   r0   c                   C   s   t tk d S r   r)   r   r   r   r   Útimeit_Integer_ed_RationalF   r   r1   c                   C   ó   t ddƒ d S )Néd   r   )r   r   r   r   r   Útimeit_integer_nthrootJ   ó   r4   c                   C   r2   )Né   é   ©r   r   r   r   r   Útimeit_number_igcd_23_17N   r5   r9   c                   C   r2   )Né<   i  r8   r   r   r   r   Útimeit_number_igcd_60_3600R   r5   r;   c                   C   r!   r"   )r*   r   r   r   r   Útimeit_Rational_add_r1V   r   r<   c                   C   r%   r   )r*   Úq45r   r   r   r   Útimeit_Rational_add_rqZ   r   r>   N)"Úsympy.core.numbersr   r   r   r   r   r   Úsympy.core.singletonr   r   r'   r*   r=   r   r   r   r   r   r   r   r    r$   r(   r+   r,   r.   r/   r0   r1   r4   r9   r;   r<   r>   r   r   r   r   Ú<module>   s6     

