
    ܙd                         d dl Z d dlmZmZ d dlmZ  e            Zde_         e            Zd Z	 G d de j
                  Zedk    r e j                     dS dS )	    N)compile_isolatedFlags)typesTc                     | |z   S )N )abs     ;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|          }|j        } || } || }|                     t	          |          t	          |                     |                     ||           d S N)flags)r   r   entry_pointassertIstypeassertEqual)	selfr   int_typeoperandspyfunccrcfuncexpectedgots	            r
   test_int_return_typez"TestPythonInt.test_int_return_type   s{    fx&:%HHH68$eXd3iih000h'''''r   c                 <    |                      t                     d S 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_type0   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numba.core.compilerr   r   
numba.corer   r9   force_pyobjectr"   r   TestCaser   r6   mainr   r   r
   <module>rB      s     7 7 7 7 7 7 7 7       EGG #'     "H "H "H "H "HH% "H "H "HJ zHMOOOOO r   