
    J/Ph                         d dl Z d dlmZ d dlmZ ddiZddiZd Z G d d	e j                  Z	e
d
k    r e j                     dS dS )    N)jit)typesforceobjTnopythonc                     | |z   S N )abs     [/var/www/html/test/jupyter/venv/lib/python3.11/site-packages/numba/tests/test_python_int.py
return_intr   
   s    q5L    c                   V    e Zd Zeej        dfdZd ZefdZd Z	efdZ
d ZefdZd	S )
TestPythonInt)      c                     t           } t          ||ffi ||          } || } || }|                     t          |          t          |                     |                     ||           d S r   )r   r   assertIstypeassertEqual)selfflagsint_typeoperandspyfunccfuncexpectedgots           r   test_int_return_typez"TestPythonInt.test_int_return_type   s    2Xx(22E226::68$eXd3iih000h'''''r   c                 <    |                      t                     d S N)r   )r   no_pyobj_flagsr   s    r   test_int_return_type_npmz&TestPythonInt.test_int_return_type_npm   s    !!!77777r   c                 H    |                      t          j        |           d S )N)r   r   )r   r   uint64r   r   s     r   test_unsigned_int_return_typez+TestPythonInt.test_unsigned_int_return_type   s#    !!5<u!EEEEEr   c                 <    |                      t                     d S r!   )r(   r"   r#   s    r   !test_unsigned_int_return_type_npmz/TestPythonInt.test_unsigned_int_return_type_npm"   s    ***@@@@@r   c                 4    |                      |d           d S )N)l        l        r   r   r   r'   s     r   test_long_int_return_typez'TestPythonInt.test_long_int_return_type%   s#     	!!!GGGGGr   c                 <    |                      t                     d S r!   )r.   r"   r#   s    r   test_long_int_return_type_npmz+TestPythonInt.test_long_int_return_type_npm*   s    &&^&<<<<<r   c                 D    |                      |ddz  ddz  f           d S )N   F   K   r,   r-   r'   s     r   test_longer_int_return_typez)TestPythonInt.test_longer_int_return_type-   s-    !!B2!GGGGGr   N)__name__
__module____qualname__force_pyobj_flagsr   int64r   r$   r(   r*   r.   r0   r5   r	   r   r   r   r      s        
 *;&+kF( ( ( (8 8 8 3D F F F FA A A /@ H H H H
= = = 1B H H H H H Hr   r   __main__)unittestnumbar   
numba.corer   r9   r"   r   TestCaser   r6   mainr	   r   r   <module>rA      s                  & d#  !H !H !H !H !HH% !H !H !HH zHMOOOOO r   