B
     \                  @   sV  d dl mZmZmZ d dlZd dlZd dlmZ d dlm	Z	 d dl
mZ ddlmZ e ZejZe	e	jZe	e	jZe	e	jZe	e	jZe	e	je	jZe	e	je	jZeefeefeefeefeefeefeefeefeefeefeefeefeefeefeefeefeefeefeefeefeefeefeefeefeefeefeefeefeefeefeefdZd	d
iZdd Zdddddddddddddddddddd d!d"d#d$d%d&d'd(d)d	d*gZxeD ]ZeeZedkre d+!e qye"eeZ#W n e$k
r   wY nX x,eD ]$Z%eee%Z&ee#fe%j' e& q$W qW dS ),    )print_functionabsolute_importdivisionN)Registry)types)mangle   )_declare_function)isnanisinfceilfloorfabssqrtexpexpm1loglog10log1psincostanasinacosatansinhcoshtanhasinhacoshatanhcopysignatan2powfmoderferfcgammalgammar'   Ztgammac                s$   t | |  fdd}| |_|S )Nc                s6   t | |  jtd}|||}| || j|jS )N)Zmangler)r	   argsr   ZcallcastZreturn_type)contextZbuildersigr)   fnZres)decl_sigsym 1lib/python3.7/site-packages/numba/roc/mathimpl.pycoreL   s    z_mk_fn_decl.<locals>.core)_lib_counterpartget__name__)namer.   r2   r0   )r.   r/   r1   _mk_fn_declI   s    r7   r   r   r   r   r   r   r"   r   r   r   r   r   r    r
   r   r   r   r   r   r   r   r   r   r   r!   r#   r$   r%   r&   r(   zHSA - failed to register '{0}')(Z
__future__r   r   r   ZmathwarningsZnumba.targets.imputilsr   Znumbar   Znumba.itanium_manglerr   Zhsaimplr	   registrylowerZint32Zfloat32Z
_unary_b_fZfloat64Z
_unary_b_dZ
_unary_f_fZ
_unary_d_dZ_binary_f_ffZ_binary_d_ddZfunction_descriptorsr3   r7   Z
_supportedr6   r4   ZsigswarnformatgetattrkeyAttributeErrorr,   r-   r)   r0   r0   r0   r1   <module>   s   






