+
    yȇi!                        ^ RI t ^ RIt^ RIt^ RIt^ RIHt ^ RI	H
t
 ]P                  P                  RR. RO3R. RO3R. RO3R. RO3R. RO3R	. RO3.. ROR
7      R 4       t]P                  P                  R. R O4      R 4       tR tR tR t]P                  P                  R^ R.4      R 4       tR tR t]P                  P                  R. R!O. R"O. R!O3. R#O. R$O. R#O3. R%O. R&O. R'O3.4      R 4       tR tR# )(    N)FloatingArrayzopname, expaddmulsubtruedivfloordivmod)idsc                     \         P                  ! . ROV R7      p\         P                  ! . ROV R7      p\        \        V4      pV! W44      p\         P                  ! W R7      p\        P
                  ! Wg4       R# )      ?Ndtype)r          @Ng      @g      @)皙?皙?g333333?N      ?)pdarraygetattroperatortmassert_extension_array_equal)r   opnameexpabopresultexpecteds   &&&     |/Users/max/.openclaw/workspace/postharvest/venv/lib/python3.14/site-packages/pandas/tests/arrays/floating/test_arithmetic.pytest_array_opr!      sW     	+59A
+59A	6	"BXFxx)H##F5    zzero, negativec                    \         P                  ! . ROV R7      pWA,          p\        P                  ! . RO4      pV'       d   RV^ R.&   \        \        P                  ! \        P                  \        P
                  \        P
                  ) \        P                  .V P                  R7      V4      pV'       d
   VR,          p\        P                  ! WW4       R# )r   Nr   T)r      r$   N)FFFT)	r   r   npr   naninfnumpy_dtyper   r   )r   zeronegativeusing_nan_is_nar   r   exp_maskr   s   &&&&    r    test_divide_by_zeror.   %   s     	!/AXFxx34H !R
"&&"&&266'2662%:K:KLH B##F5r"   c           	         \         P                  ! . ROV R7      pV^ ,          p\         P                  ! . ROV R7      p\        P                  ! W44       V^,          p\         P                  ! . ROV R7      p\        P                  ! W44       V\         P                  ,          p\         P                  ! . ROV R7      p\        P                  ! W44       V\
        P                  ,          pV'       d   \         P                  ! . ROV R7      pMt\        \
        P                  ! \
        P                  \
        P                  ^\
        P                  \
        P                  .V P                  R7      VP                  R7      p\        P                  ! W44       VR,          p^ V,          p\         P                  ! . ROV R7      p\        P                  ! W44       ^V,          p\         P                  ! . R	OV R7      p\        P                  ! W44       \         P                  V,          p\         P                  ! . R
OV R7      p\        P                  ! W44       \
        P                  V,          pV'       gf   \        \
        P                  ! ^\
        P                  \
        P                  \
        P                  .V P                  R7      VP                  R7      p\        P                  ! W44       R# )r%   Nr   )mask:r%   NN)r$   r   r%   N   )r%   r%   r%   r%   r%   )NNr%   NN)r%   r   Nr   )r%   r%   r%   r%   )r%   NNN)
r   r   r   r   NAr&   r'   r   r)   _mask)r   r,   r   r   r   s   &&   r    test_pow_scalarr4   7   s   
$E2ATFxxu5H##F5TFxx+59H##F5XFxx35AH##F5YF887uE !HHbffbffa8@Q@QR
 ##F5 	
"ATFxxu5H##F5TFxxE2H##F5UUAXFxx-U;H##F5VVQYF HHa08I8IJQRQXQX
 ##F5r"   c                     \         P                  ! . ROV R7      p\         P                  ! . ROV R7      pW,          p\         P                  ! . ROV R7      p\        P                  ! W44       R# )r   Nr   )	r   r   r   r%   r%   r%   NNN)	r   r%   Nr   r%   Nr   r%   N)	r%   r   Nr%   r%   r%   r%   NN)r   r   r   r   )r   r   r   r   r   s   &    r    test_pow_arrayr6   h   sJ    
5UCA
5UCATFxx<EJH##F5r"   c                  ,   \         P                  ! \         P                  \         P                  .R R7      p \        P                  ! RR.4      V ,          p\         P                  ! R\         P                  .R R7      p\        P
                  ! W4       R# )Float64r   r   r   N)r   r   r2   r&   r   r   )arrr   r   s      r    test_rpow_one_to_nar:   p   s]     ((BEE255>
3CXXsCj!S(FxxbeeI6H##F5r"   otherr   c                     \         P                  ! . RORR7      pV\        P                  ! V 4      ,           pW,           p\        P                  ! W#4       R# )r%   Nr8   r   )r%   Nr1   )r   r   r&   r   assert_equal)r;   r9   r   r   s   &   r    test_arith_zero_dim_ndarrayr>   y   s7    
((<y
1C288E?"F{HOOF%r"   c                    Tp\         P                  ! V 4      p\        W24      pR P                  . RO4      p\        P
                  ! \        VR	7      ;_uu_ 4        V! R
4       RRR4       \        P
                  ! \        VR	7      ;_uu_ 4        V! \         P                  ! R4      4       RRR4       \        P
                  ! \        VR	7      ;_uu_ 4        V! \         P                  ! R
VP                  R7      4       RRR4       R P                  RRRRRRRR\        P                   R2RRRRR.4      p\        P
                  ! \        VR	7      ;_uu_ 4        V! \         P                  ! \         P                  ! R\        V4      RR7      4      4       RRR4       R#   + '       g   i     ELJ; i  + '       g   i     EL; i  + '       g   i     L; i  + '       g   i     R# ; i)|(can only perform ops with numeric valuesunsupported operand type4not all arguments converted during string formatting2can't multiply sequence by non-int of type 'float'5ufunc 'subtract' cannot use operands with types dtypehas no kernelnot implementednot supported for dtypematchfooN20180101)indexz5cannot perform .* with this index type: DatetimeArrayz`Addition/subtraction of integers and integer-arrays with DatetimeArray is no longer supported. *z3ufunc 'add' cannot use operands with types dtype\('zM8\[ns\]'\)z@ufunc 'add' cannot use operands with types dtype\('float\d{2}'\)z*cannot subtract DatetimeArray from ndarrayns)periodsunit)rA   z.FloatingArray cannot perform the operation modrB   rC   rD   rE   z1can only concatenate str \(not \"float\"\) to strzFufunc '.*' not supported for the input types, and the inputs could notz?ufunc '.*' did not contain a loop with signature matching typesz;Concatenation operation is not implemented for NumPy arraysrF   rG   rH   z&Can only string multiply by an integer)r   Seriesr   joinpytestraises	TypeError	TimestamprM   r   ENDIAN
date_rangelen)dataall_arithmetic_operatorsr   sopsmsgs   &&    r    test_error_invalid_valuesr_      sb   	!B
		$A
!.C ((	
C$ 
y	,	,E
 
-	y	,	,BLL$% 
- 
y	,	,BIIe177+, 
- ((6C;&B@CII;k3 P8%#	
C* 
y	,	,BIIbmmJATJKL 
-	,= 
-	,	,	,	,	, 
-	,0 
-	,	,s0   	F%F9)G=G %F6	9G
	G	 G1	c                  D   \         P                  ! R \         P                  ! ^^\         P                  .RR7      R\         P                  ! ^\         P                  ^.RR7      R\        P                  ! . R	ORR7      /4      p V P
                  V P                  ,           p\         P                  ! ^^\         P                  .RR7      p\        P                  ! W4       V P
                  V P                  ,           ^,          ^8H  p\         P                  ! . R
ORR7      p\        P                  ! W4       V P
                  V P                  ,           p\         P                  ! ^\         P                  \         P                  .RR7      p\        P                  ! W4       R# )Ar8   r   BFloat32Cfloat64Nboolean)r%   r1      )FTN)r   	DataFramer   r2   r&   ra   rd   rQ   r   assert_series_equalrb   )dfr   r   s      r    test_cross_type_arithmeticrk      s   	1a-y91beeQ-y9)95	

B TTBDD[Fyy!Qi8H6,ddRTTkQ"$Fyy,I>H6,TTBDD[Fyy!RUUBEE*)<H6,r"   zsource, neg_target, abs_targetc                 t   T p\         P                  ! WR 7      pV) V5\        V4      rp\         P                  ! W$R 7      p\         P                  ! W4R 7      p\        P                  ! Wb4       \        P                  ! Wu4       \        P
                  ! Wu4      '       d   Q h\        P                  ! W4       R# )r   N)r   r   absr   r   shares_memory)	float_ea_dtypesource
neg_target
abs_targetr   r9   
neg_result
pos_result
abs_results	   &&&&     r    test_unary_float_operatorsrv      s     E
((6
'C*-tSXJJ*2J*2J##J;##J4
0000##J;r"   c                     \         P                  ! . ROV R7      p\         P                  ! . ROV R7      p\        P                  ! \        RR7      ;_uu_ 4        W,           RRR4       \        P                  ! \        RR7      ;_uu_ 4        W,           RRR4       \        P                  ! \        RR7      ;_uu_ 4        W,           RRR4       R#   + '       g   i     L|; i  + '       g   i     LZ; i  + '       g   i     R# ; i)r%   Nr   rB   rI   )r%   Nrg      )Nrg      rx   )r   r   rS   rT   rU   )r   leftrights   &  r    test_bitwiser|      s    88O51DHH_E2E	y(B	C	C 
D	y(B	C	C 
D	y(B	C	C 
D	C	 
D	C	C	C	C	C	Cs$   	C	C)	C<C&	)C9	<D	)皙?皙@NNg      @)r   g?NNg      @)g?g?NNg      @)      $@r   NNr   )      "@r   NNr   )r   r   NN        )r   r   r   divr   r	   ))r   F)r   F)g       T)r}   r~   gffffff
@)皙皙gffffff
)r}   r~   N)r   r   N)r   r   r}   )r}   r   r   )r}   r   r}   )r   numpyr&   rS   pandasr   pandas._testing_testingr   pandas.core.arraysr   markparametrizer!   r.   r4   r6   r:   r>   r_   rk   rv   r|    r"   r    <module>r      sA        , 	+,	+,	+,	23	12	+, 	8  66 )+ST6 U6".6b66 1c(+& ,&7M|-, $	,o>	-/?@	+_=<<	r"   