+
    :iG?                        R t ^ RIt^ RIt^ RIt^ RIt^ RIt^ RIHt ^ RI	H
t
Ht ^ RIHt ^ RIHtHtHtHt ^ RIHt ^ RIHt ^ RIHt ]
! R	4      t]P4                  t]P6                  ! ]P8                  ! R
4      4      t]P<                  t]P@                  t!]P6                  ! ]P8                  ! R4      4      t"]"P<                  t#]"P@                  t$Rt%Rt&Rt'Rt(R t)R t*R t+R t,R t-R t.R t/R t0R t1R t2R t3R t4RfR lt5]4! ]Pl                  R4       ]4! ]Pn                  R4      t8]Pr                  Rg8  d   ]4! ]Pt                  R4      t;]4! ]Px                  R 4      t=]4! ]P|                  R!4      t?]4! ]P                  R"4      tA]4! ]P                  R#4      tC]4! ]P                  R$4      tE]5! ]P                  R%R&4      tG]5! ]P                  R'R(4      tI]5! ]P                  R)R*4      tK]5! ]P                  R+R,4      tM]5! ]P                  R-R.4      tO]5! ]P                  R/R04      tQ]5! ]P                  R1R24      tS]5! ]P                  R3R44      tU]5! ]P                  R5R64      tW]5! ]P                  R7R84      tY]5! ]P                  R9R:4      t[]5! ]P                  R;R<4      t]]5! ]P                  R=R>4      t_]5! ]P                  R?R@4      ta]5! ]P                  RARB4      tA]5! ]P                  RCRDRE4      tc]5! ]P                  RFRGRE4      te]5! ]P                  RHRI4      tg]5! ]P                  RJRK4      ti]5! ]P                  RLRMRE4      tk]5! ]P                  RNRO4      tm]! ]P                  ]P                  4      RP 4       tp]! ]P                  ]P                  4      RQ 4       tr]! ]P                  ]P                  4      RR 4       tt]! ]P                  ]P                  4      RS 4       tu]! ]P                  ]P                  4      RT 4       tw]! ]P                  ]P                  4      RU 4       tx]! ]P                  ]P                  ]P                  4      RV 4       tz]! ]P                  ]P                  4      RW 4       t|]! ]P                  ]P                  ]P                  4      RX 4       t]! ]EP                   ]EP                  ]EP                  4      RY 4       t]! ]EP                   ]EP                  ]EP                  4      RZ 4       t]! ]EP                   ]P                  ]P                  4      R[ 4       t]! ]EP                  ]EP                  ]EP                  4      R\ 4       t]! ]EP                  ]EP                  ]EP                  4      R] 4       t]! ]EP                  ]P                  ]P                  4      R^ 4       t]! ]EP                  ]P                  4      R_ 4       t]3! ]EP                  ]4       ]! ]EP                  ]P                  4      R` 4       t]3! ]EP                  ]4       ]! ]EP                  ]P                  ]P                  4      ]! ]EP                  ]P                  ]P                  4      Ra 4       4       t]! ]EP                   ]P                  ]P                  4      Rb 4       tRc t]! ]4      Rd 4       tRe t]! ]EP*                  ]P                  ]P                  4      ! ]4       R# )hzA
Provide math calls that uses intrinsics or libc math functions.
N)Constant)Registryimpl_ret_untracked)typeof)typesutilsconfigcgutils)overload)	signature)trailing_zerosmathimplfloat32float64il        l    l            c                &    V P                  RW4      # )z4
Return a condition testing whether *val* is a NaN.
uno)fcmp_unorderedbuildervals   &&T/var/www/html/photoedit/myenv/lib/python3.14/site-packages/numba/cpython/mathimpl.pyis_nanr   (   s     !!%22    c                    \        VP                  \        R4      4      p\        VP                  \        R4      4      pV P                  RW4      pV P                  RW4      pV P	                  WE4      # )z:
Return a condition testing whether *val* is an infinite.
z+infz-infz==)r   typefloatfcmp_orderedor_)r   r   pos_infneg_infisposinfisneginfs   &&    r   is_infr"   .   s_     sxxv/Gsxxv/G##D#7H##D#7H;;x**r   c                H    V P                  W4      pV P                  RW"4      # )z7
Return a condition testing whether *val* is a finite.
ord)fsubr   )r   r   val_minus_vals   && r   	is_finiter'   8   s%    
 LL*M}DDr   c                    VP                   \        P                  P                  4       8X  g   Q hV P	                  V\        P                  P                  ^@4      4      # )z)
Bitcast a double into a 64-bit integer.
)r   llvmliteir
DoubleTypebitcastIntTyper   s   &&r   f64_as_int64r.   @   sC     88x{{--////??3 3 3B 788r   c                    VP                   \        P                  P                  ^@4      8X  g   Q hV P	                  V\        P                  P                  4       4      # )z)
Bitcast a 64-bit integer into a double.
)r   r)   r*   r-   r,   r+   r   s   &&r   int64_as_f64r0   G   sC     88x{{**2....??3 6 6 899r   c                    VP                   \        P                  P                  4       8X  g   Q hV P	                  V\        P                  P                  ^ 4      4      # )z(
Bitcast a float into a 32-bit integer.
)r   r)   r*   	FloatTyper,   r-   r   s   &&r   f32_as_int32r3   N   sC     88x{{,,....??3 3 3B 788r   c                    VP                   \        P                  P                  ^ 4      8X  g   Q hV P	                  V\        P                  P                  4       4      # )z(
Bitcast a 32-bit integer into a float.
)r   r)   r*   r-   r,   r2   r   s   &&r   int32_as_f32r5   U   sC     88x{{**2....??3 5 5 788r   c                N    V P                  \        VP                  R4      V4      # )z:
Negate real number *val*, with proper handling of zeros.
g       )r%   r   r   r   s   &&r   negate_realr7   \   s     
 <<40#66r   c                    V P                   pTP                  Y Uu. uF  qDP                  NK  	  up4      pV P                  WR4      # u upi )z1
Call a LLVM intrinsic floating-point operation.
)moduledeclare_intrinsicr   call)r   nameargsmodaintrs   &&&   r   call_fp_intrinsicrA   c   sD     ..C  '=1'=>D<<## (>s   A
c                   a  V 3R lpV# )z
Return an implementation factory to convert the single integral input
argument to a float64, then defer to the *wrapped_impl*.
c                 .  < Vw  pVP                   ^ ,          pV P                  WV\        P                  4      p\	        \        P                  \        P                  4      pS	! WWv34      pV P                  W\        P                  VP
                  4      # )    )r=   castr   r   r   return_type)
contextr   sigr=   r   
input_typefpval	inner_sigreswrapped_impls
   &&&&     r   implementer2_unary_int_input_wrapper_impl.<locals>.implementerq   sj    XXa[
W:u}}EemmU]];	7YA||G%--IIr    )rM   rN   s   f r   _unary_int_input_wrapper_implrQ   l   s    
J r   c                 \    \        V4      p\        V \        P                  4      ! V4       R # N)rQ   lowerr   Integer)fn
float_implimpls   && r   unary_math_int_implrY   {   s    (4D	"emmT"r   c                d   a \        V \        P                  4      V3R l4       p\        W4       V# )zG
Implement the math function *fn* using the LLVM intrinsic *intrcode*.
c                 L   < \        VSV4      p\        WVP                  V4      # rS   )rA   r   rF   )rG   r   rH   r=   rL   intrcodes   &&&& r   rW   #unary_math_intr.<locals>.float_impl   s$    48!'COOSIIr   )rT   r   FloatrY   )rV   r\   rW   s   &f r   unary_math_intrr_      s4     2u{{J J 'r   c                   aa V'       d   \         P                  MRpVV3R lp\        V \         P                  4      ! V4       \	        W4       V# )a	  
Register implementations of Python function *fn* using the
external function named *f32extern* and *f64extern* (for float32
and float64 inputs, respectively).
If *int_restype* is true, then the function's return value should be
integral, otherwise floating-point.
Nc                  < Vw  pVP                   pVP                  ^ ,          pV P                  V4      p\        P                  S\        P
                  S/V,          p\        P                  P                  Ww.4      p	\        P                  ! VP                   WR7      p
VP                  W34      pV P                  WWbP                  4      p\        WVP                  V4      # )z)
Implement *fn* for a types.Float input.
r<   )r9   r=   get_value_typer   r   r   r)   r*   FunctionTyper	   insert_pure_functionr;   rE   rF   r   )rG   r   rH   r=   r   r>   rI   lty	func_namefntyrV   rL   	f32extern	f64externs   &&&&        r   rW   %unary_math_extern.<locals>.float_impl   s     nnXXa[
$$Z0MM9MM9 	 {{''U3))'..$Oll2v&ll7__E!'COOSIIr   )r   int64rT   r^   rY   )rV   ri   rj   int_restype	f_restyperW   s   &ff&  r   unary_math_externro      s=      +IJ$ 
"ekk:& 'r   z	llvm.fabszllvm.expz	llvm.exp2zllvm.logz
llvm.log10z	llvm.log2zllvm.sinzllvm.coslog1pflog1pexpm1fexpm1erfferferfcferfctanftanasinfasinacosfacosatanfatanasinhfasinhacoshfacoshatanhfatanhsinhfsinhcoshfcoshtanhftanhlog2flog2ceilfceilTfloorffloornumba_gammafnumba_gammasqrtfsqrttruncftrunclgammaflgammac                 N    Vw  p\        W4      p\        WVP                  V4      # rS   )r   r   rF   rG   r   rH   r=   r   rL   s   &&&&  r   isnan_float_implr      &    ES

CgEEr   c                 P    \         P                  p\        WVP                  V4      # rS   r	   	false_bitr   rF   rG   r   rH   r=   rL   s   &&&& r   isnan_int_implr           


CgEEr   c                 N    Vw  p\        W4      p\        WVP                  V4      # rS   )r"   r   rF   r   s   &&&&  r   isinf_float_implr      r   r   c                 P    \         P                  p\        WVP                  V4      # rS   r   r   s   &&&& r   isinf_int_implr      r   r   c                 N    Vw  p\        W4      p\        WVP                  V4      # rS   )r'   r   rF   r   s   &&&&  r   isfinite_float_implr      s&    ES
G
!CgEEr   c                 P    \         P                  p\        WVP                  V4      # rS   )r	   true_bitr   rF   r   s   &&&& r   isfinite_int_implr      s     


CgEEr   c                     V^ ,          P                   pVP                  p\        P                  ! V\        P
                  P                  WDV34      RVP                  ,          4      pVP                  Wc4      p\        WVP                  V4      # )rD   zllvm.copysign.%s)r   r9   r	   get_or_insert_functionr)   r*   rd   intrinsic_namer;   r   rF   )rG   r   rH   r=   rf   r>   rV   rL   s   &&&&    r   copysign_float_implr      sp    
q',,C
..C		'	'X[[-E-EcQT:-V(:S=O=O(O
QB
,,r
 CgEEr   c                 N   Vw  pV P                  VP                  ^ ,          4      pV P                  VP                  ^,          4      p\        P                  ! WRR7      p\
        P                  P                  WU\
        P                  P                  V4      34      pRRRR/\        V4      ,          p	\        P                  ! VP                  W4      p
VP                  WV34      p\        P                  ! WVP                  V4      34      p\        WVP                  V4      # )rD   exprb   r   numba_frexpfdoublenumba_frexp)get_data_typer=   rF   r	   alloca_oncer)   r*   rd   PointerTypestrr   r9   r;   make_anonymous_structloadr   )rG   r   rH   r=   r   flttyinttyexpptrrh   fnamerV   rL   s   &&&&        r   
frexp_implr     s    DC!!#((1+.E!!#//!"45E  e<F;;##E8;;3J3J53Q+RSD-
 e*E 
	'	'	DB
,,r=
)C

'
'w||F7K1L
MCgEEr   c                 T   Vw  rE\        V P                  VP                  4      w  rg\        P                  P                  WfV34      pR RRR/\        V4      ,          p	\        P                  ! VP                  WR7      p
VP                  WV34      p\        WVP                  V4      # )r   numba_ldexpfr   numba_ldexprb   )mapr   r=   r)   r*   rd   r   r	   re   r9   r;   r   rF   )rG   r   rH   r=   r   r   r   r   rh   r   rV   rL   s   &&&&        r   
ldexp_implr     s    HCw,,chh7LE;;##E5>:D-
 e*E 
	%	%gnnd	GB
,,r:
&CgEEr   c                 L   Vw  rEVP                  V\        P                  P                  4       4      pVP                  V\        P                  P                  4       4      p\	        \
        P                  \
        P                  \
        P                  4      p\        WWdV34      # rS   )sitofpr)   r*   r+   r   r   r   atan2_float_implrG   r   rH   r=   yxfsigs   &&&&   r   atan2_s64_implr   (  n    FQq(++0023Aq(++0023AU]]EMM5==ADGdF;;r   c                 L   Vw  rEVP                  V\        P                  P                  4       4      pVP                  V\        P                  P                  4       4      p\	        \
        P                  \
        P                  \
        P                  4      p\        WWdV34      # rS   )uitofpr)   r*   r+   r   r   r   r   r   s   &&&&   r   atan2_u64_implr   0  r   r   c                    \        V4      ^8X  g   Q hVP                  pVP                  ^ ,          pV P                  V4      p\        P
                  R\        P                  R/V,          p\        P                  P                  WfV34      p\        P                  ! VP                  WR7      p	VP                  W4      p
\        WVP                  V
4      # )   atan2fatan2rb   )lenr9   r=   rc   r   r   r   r)   r*   rd   r	   re   r;   r   rF   )rG   r   rH   r=   r>   tyrf   rg   rh   rV   rL   s   &&&&       r   r   r   8  s    t9>>
..C	!B

 
 
$Cxw
 I ;;##Cs4D		%	%gnnd	KB
,,r
 CgEEr   c                 z   Vw  rEVP                  V\        P                  P                  4       4      pVP                  V\        P                  P                  4       4      p\	        \
        P                  \
        P                  \
        P                  4      p\        WWdV34      p\        WVP                  V4      # rS   
r   r)   r*   r+   r   r   r   hypot_float_implr   rF   rG   r   rH   r=   r   r   r   rL   s   &&&&    r   hypot_s64_implr   K      FQq(++0023Aq(++0023AU]]EMM5==AD
7Tq6
:CgEEr   c                 z   Vw  rEVP                  V\        P                  P                  4       4      pVP                  V\        P                  P                  4       4      p\	        \
        P                  \
        P                  \
        P                  4      p\        WWdV34      p\        WVP                  V4      # rS   r   r   s   &&&&    r   hypot_u64_implr   U  r   r   c                 "  aa VP                   w  rEYEu;8X  d   VP                  8X  g   Q h Q hVw  rg\        P                  \        P
                  R 8X  d   RMR\        P                  \        P
                  R 8X  d   RMR/V,          p\        P                  ! W4      o\        P
                  R 8X  d/   \        P                  ^ 8X  d   V! \        R4      4      oVV3R lp	MV3R lp	V P                  WW#4      p
\        WVP                  V
4      # )win32_hypotfhypotf_hypothypotinfc                    < \         P                  ! V 4      '       g   \         P                  ! V4      '       d   S# S! W4      # rS   )mathisinf)r   r   r   
plat_hypots   &&r   
hypot_impl$hypot_float_impl.<locals>.hypot_implp  s,    zz!}}

1
a##r   c                    < S! W4      # rS   rP   )r   r   r   s   &&r   r   r   u  s    a##r   )r=   rF   r   r   sysplatformr   ExternalFunctionr   MACHINE_BITSr   compile_internalr   )rG   r   rH   r=   xtyytyr   r   r   r   rL   r   r   s   &&&&       @@r   r   r   _  s    xxHC((((((DA
 	CLLG$;y3<<7#:x 
E ''3J
||w6#6#6"#<%,	$
	$ 
"
"7
BCgEEr   c                     Vw  pV P                  VP                  \        P                  ^,          4      pVP	                  WE4      p\        WVP                  V4      #    get_constantrF   r   pifmulr   rG   r   rH   r=   r   coefrL   s   &&&&   r   radians_float_implr   ~  sH    
CQ3?D
,,q
CgEEr   c                     Vw  pV P                  VP                  ^\        P                  ,          4      pVP	                  WE4      p\        WVP                  V4      # r   r   r   s   &&&&   r   degrees_float_implr     sH    
CQtww?D
,,q
CgEEr   c                 R    V P                  \        P                  V4      pV! W4      # rS   )get_functionoperatorpow)rG   r   rH   r=   rX   s   &&&& r   pow_implr    s%     c2Dr   c                    \        V4      ^8X  g   Q hVP                  ^ ,          pV P                  V4      p\        P                  R\        P
                  R/V,          p\        P                  P                  WUV34      p\        P                  ! VP                  WvR7      pVP                  W4      p	\        WVP                  V	4      # )r   
nextafterf	nextafterrb   )r   r=   rc   r   r   r   r)   r*   rd   r	   re   r9   r;   r   rF   )
rG   r   rH   r=   r   rf   rg   rh   rV   rL   s
   &&&&      r   nextafter_implr	    s    t9>>	!B

 
 
$C|{
 I ;;##Cs4D		%	%gnnd	KB
,,r
 CgEEr   c                    R# )z8Convert integer to unsigned integer of equivalent width.NrP   Ts   &r   	_unsignedr    s    r   c                    a V \         P                  9   d   R  # V \         P                  9   d0   \        \         RP	                  V P
                  4      4      oV3R l# R# )c                     V # rS   rP   r  s   &r   <lambda> _unsigned_impl.<locals>.<lambda>  s    r   zuint{}c                    < S! V 4      # rS   rP   r  newTs   &r   r  r    s	    ar   N)r   unsigned_domainsigned_domaingetattrformatbitwidthr  s   &@r   _unsigned_implr    sI    E!!!	
e!!	!uhooajj9:   
"r   c                     VP                   w  rEYEu;8X  d   VP                  8X  g   Q h Q hVw  rgR  pV P                  WW#4      p	\        WVP                  V	4      # )c                   \        V 4      pV ^ 8X  d   \        V4      # V^ 8X  d   \        V 4      # \        V 4      p\        V4      p\        W44      p\	        \        \
        P                  ! W4      4      4      p\	        \        \
        P                  ! W4      4      4      pWg8w  d3   Wg8  d   YvrvWv,          p\
        P                  ! V\        V4      4      pK8  \
        P                  ! V! V4      V4      pV# )z?
Stein's algorithm, heavily cribbed from Julia implementation.
)r   absr   minr  npright_shift
left_shift)	r?   br  zazbkuvrs	   &&       r   gcdgcd_impl.<locals>.gcd  s     G6#a&=6#a&=AAKc"../01c"../01fu1FAq."34AMM!A$"r   )r=   rF   r   r   )
rG   r   rH   r=   r   r   r   r   r)  rL   s
   &&&&      r   gcd_implr+    s[    xxHC((((((DA* 
"
"7
;CgEEr   )F)      )__doc__r   r  r   numpyr  llvmlite.irr)   r   numba.core.imputilsr   r   numbar   
numba.corer   r   r   r	   numba.core.extendingr
   numba.core.typingr   numba.cpython.unsafe.numbersr   registryrT   finfodtype_NP_FLT_FINFOmaxFLT_MAXtinyFLT_MIN_NP_DBL_FINFODBL_MAXDBL_MINFLOAT_ABS_MASKFLOAT_SIGN_MASKDOUBLE_ABS_MASKDOUBLE_SIGN_MASKr   r"   r'   r.   r0   r3   r5   r7   rA   rQ   rY   r_   ro   fabsr   exp_implversion_infoexp2	exp2_implloglog_impllog10
log10_implr   	log2_implsinsin_implcoscos_implrq   
log1p_implrs   
expm1_implru   erf_implrw   	erfc_implry   tan_implr{   	asin_implr}   	acos_implr   	atan_implr   
asinh_implr   
acosh_implr   
atanh_implr   	sinh_implr   	cosh_implr   	tanh_implr   	ceil_implr   
floor_implgamma
gamma_implr   	sqrt_implr   
trunc_implr   lgamma_implisnanr^   r   rU   r   r   r   r   isfiniter   r   copysignr   frexpr   ldexpintcr   r   rl   r   uint64r   r   r   r   r   r   radiansr   degreesr   r  r  r  r	  r  r  r+  r)  rP   r   r   <module>rr     s     
     <  4 4 ) ' 7 J ),-





),-





$% 3+E9:997$#
!H 		; '488Z0w		;7I488Z0TZZ6
DII{3	488Z0488Z0tzz8W=
tzz8W=
TXXvu5dii&9	TXXvu5dii&9	dii&9	dii&9	tzz8W=
tzz8W=
tzz8W=
dii&9	dii&9	dii&9	dii&9	dii&$?	tzz8WdC
tzz>=I
dii&9	tzz8WdC
YA tzz5;;F  F
 tzz5==!F "F
 tzz5;;F  F
 tzz5==!F "F
 t}}ekk"F #F t}}emm$F %F
 t}}ekk5;;/F 0F tzz5;;F  F  tzz5;;

+
F ,
F  tzz5;;,< -< tzz5<<.< /< tzz5;;,F -F$ tzz5;;,F -F tzz5<<.F /F tzz5;;,F -F< t||U[[!F "F DLL"4 5 t||U[[!F "F DLL"4 5 txxekk*txxemm, - + t~~u{{EKK0F 1F	 
)! !F< dhhu}} -h 7r   