+
    :i<                     &   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
 ^ RIHtHtHt ^ RIHt ^ RIHt ^ RIHt ]P*                  ! ]P,                  ! R4      4      t]P0                  t]P4                  t]P*                  ! ]P,                  ! R	4      4      t]P0                  t]P4                  tR
tRt Rt!Rt"R t#R t$R t%R t&R t'R t(R t)R t*R t+R t,R t-R t.RbR lt/].! ]P`                  R4       ].! ]Pb                  R4      t2]Pf                  Rc8  d   ].! ]Ph                  R4      t5].! ]Pl                  R4      t7].! ]Pp                  R4      t9].! ]Pt                  R 4      t;].! ]Px                  R!4      t=]/! ]P|                  R"R#4      t?]/! ]P                  R$R%4      tA]/! ]P                  R&R'4      tC]/! ]P                  R(R)4      tE]/! ]P                  R*R+4      tG]/! ]P                  R,R-4      tI]/! ]P                  R.R/4      tK]/! ]P                  R0R14      tM]/! ]P                  R2R34      tO]/! ]P                  R4R54      tQ]/! ]P                  R6R74      tS]/! ]P                  R8R94      tU]/! ]P                  R:R;4      tW]/! ]P                  R<R=4      tY]/! ]P                  R>R?4      t[]/! ]P                  R@RARB4      t]]/! ]P                  RCRDRB4      t_]/! ]P                  RERF4      ta]/! ]P                  RGRH4      tc]/! ]P                  RIRJRB4      te]/! ]P                  RKRL4      tgRM thRN tiRO tjRP tkRQ tlRR tmRS tnRT toRU tpRV tqRW trRX tsRY ttRZ tuR[ tvR\ tw]-! ]P                  ]w4       R] ty]-! ]P                  ]y4       R^ t{R_ t|]! ]|4      R` 4       t}Ra t~R# )dzA
Provide math calls that uses intrinsics or libc math functions.
N)Constant)impl_ret_untracked)typesconfigcgutils)overload)	signature)trailing_zeros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/np/math/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#   7   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_f64r,   F   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_int32r/   M   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(   r.   r   s   &&r   int32_as_f32r1   T   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_realr3   [   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_intrinsicr=   b   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      # )    )r9   castr   r   r   return_type)
contextr   sigr9   r   
input_typefpval	inner_sigreswrapped_impls
   &&&&     r   implementer2_unary_int_input_wrapper_impl.<locals>.implementerp   sj    XXa[
W:u}}EemmU]];	7YA||G%--IIr    )rI   rJ   s   f r   _unary_int_input_wrapper_implrM   k   s    
J r   c                     \        V4      pR # N)rM   )fn
float_implimpls   && r   unary_math_int_implrS   z   s    (4Dr   c                *   a V3R l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      # rO   )r=   r   rB   )rC   r   rD   r9   rH   intrcodes   &&&& r   rQ   #unary_math_intr.<locals>.float_impl   s$    48!'COOSIIr   )rS   )rP   rV   rQ   s   &f r   unary_math_intrrX   ~   s    
J 'r   c                b   aa V'       d   \         P                  MRpVV3R lp\        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.
r8   )r5   r9   get_value_typer   r
   r   r%   r&   FunctionTyper   insert_pure_functionr7   rA   rB   r   )rC   r   rD   r9   r   r:   rE   lty	func_namefntyrP   rH   	f32extern	f64externs   &&&&        r   rQ   %unary_math_extern.<locals>.float_impl   s     nnXXa[
$$Z0MM9MM9 	 {{''U3))'..$Oll2v&ll7__E!'COOSIIr   )r   int64rS   )rP   rb   rc   int_restype	f_restyperQ   s   &ff&  r   unary_math_externrh      s(      +IJ* 'r   z	llvm.fabszllvm.expz	llvm.exp2zllvm.logz
llvm.log10z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      # rO   )r   r   rB   rC   r   rD   r9   r   rH   s   &&&&  r   isnan_float_implr      &    ES

CgEEr   c                 P    \         P                  p\        WVP                  V4      # rO   r   	false_bitr   rB   rC   r   rD   r9   rH   s   &&&& r   isnan_int_implr           


CgEEr   c                 N    Vw  p\        W4      p\        WVP                  V4      # rO   )r   r   rB   r   s   &&&&  r   isinf_float_implr      r   r   c                 P    \         P                  p\        WVP                  V4      # rO   r   r   s   &&&& r   isinf_int_implr      r   r   c                 N    Vw  p\        W4      p\        WVP                  V4      # rO   )r#   r   rB   r   s   &&&&  r   isfinite_float_implr      s&    ES
G
!CgEEr   c                 P    \         P                  p\        WVP                  V4      # rO   )r   true_bitr   rB   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      # )r@   zllvm.copysign.%s)r   r5   r   get_or_insert_functionr%   r&   r]   intrinsic_namer7   r   rB   )rC   r   rD   r9   r_   r:   rP   rH   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      # )r@   expr[   r   numba_frexpfdoublenumba_frexp)get_data_typer9   rB   r   alloca_oncer%   r&   r]   PointerTypestrr   r5   r7   make_anonymous_structloadr   )rC   r   rD   r9   r   flttyinttyexpptrra   fnamerP   rH   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_ldexpr[   )mapr   r9   r%   r&   r]   r   r   r^   r5   r7   r   rB   )rC   r   rD   r9   r   r   r   r   ra   r   rP   rH   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      # rO   )sitofpr%   r&   r'   r   r   r   atan2_float_implrC   r   rD   r9   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      # rO   )uitofpr%   r&   r'   r   r   r   r   r   s   &&&&   r   atan2_u64_implr   /  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atan2r[   )lenr5   r9   r\   r   r
   r   r%   r&   r]   r   r^   r7   r   rB   )rC   r   rD   r9   r:   tyr_   r`   ra   rP   rH   s   &&&&       r   r   r   7  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      # rO   
r   r%   r&   r'   r   r   r   hypot_float_implr   rB   rC   r   rD   r9   r   r   r   rH   s   &&&&    r   hypot_s64_implr   J      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      # rO   r   r   s   &&&&    r   hypot_u64_implr   T  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      # rO   )mathisinf)r   r   r   
plat_hypots   &&r   
hypot_impl$hypot_float_impl.<locals>.hypot_impln  s,    zz!}}

1
a##r   c                    < S! W4      # rO   rL   )r   r   r   s   &&r   r   r   s  s    a##r   )r9   rB   r   r
   sysplatformr   ExternalFunctionr   MACHINE_BITSr   compile_internalr   )rC   r   rD   r9   xtyytyr   r   r   r   rH   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_constantrB   r   pifmulr   rC   r   rD   r9   r   coefrH   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      # rO   )get_functionoperatorpow)rC   r   rD   r9   rR   s   &&&& r   pow_implr     s#    c2Dr   c                    R# )z8Convert integer to unsigned integer of equivalent width.NrL   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 # rO   rL   r   s   &r   <lambda> _unsigned_impl.<locals>.<lambda>  s    r   zuint{}c                    < S! V 4      # rO   rL   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   )r9   rB   r   r   )
rC   r   rD   r9   r   r   r   r   r  rH   s
   &&&&      r   gcd_implr     s[    xxHC((((((DA* 
"
"7
;CgEEr   )F)      )__doc__r   r   r   numpyr  llvmlite.irr%   r   numba.core.imputilsr   
numba.corer   r   r   numba.core.extendingr   numba.core.typingr   numba.cpython.unsafe.numbersr	   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*   r,   r/   r1   r3   r=   rM   rS   rX   rh   fabsr   exp_implversion_infoexp2	exp2_implloglog_impllog10
log10_implsinsin_implcoscos_implrj   
log1p_implrl   
expm1_implrn   erf_implrp   	erfc_implrr   tan_implrt   	asin_implrv   	acos_implrx   	atan_implrz   
asinh_implr|   
acosh_implr~   
atanh_implr   	sinh_implr   	cosh_implr   	tanh_implr   	log2_implr   	ceil_implr   
floor_implgamma
gamma_implr   	sqrt_implr   
trunc_implr   lgamma_implr   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   radiansr   degreesr   r  r  r   rL   r   r   <module>r^     s     
     2 - - ) ' 7 ),-





),-





$% 3+E9:997$5
!H 		; '488Z0w		;7I488Z0TZZ6
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FFFFFFFF"
F"<<F&FFF>F DLL"4 5
F DLL"4 5	 
)! !Fr   