+
    0i                        a  R	 t0 t R t^ RIt^ RIHt ^ RIt^ RIHtH	t	 ^ RI
t
^ RIHt / t] ^ k / t] ^k R t]! 4       w  tt]
P&                  P)                  R]]R7      R 4       tR tR# )
z3Test how the ufuncs in special handle nan inputs.

N)Callable)assert_array_equalassert_c                     . p . p\        \        P                  4       F  p\        P                  V,          p\        V\        P
                  4      '       g   K<  \        P                  V4      pVf%   V P                  V4       VP                  V4       Ky  \        P                  P                  RVR7      pV P                  \        P                  ! W5R7      4       VP                  V4       K  	  W3# )NF)runreason)marks)sortedsc__dict__
isinstancenpufuncKNOWNFAILURESgetappendpytestmarkxfailparam)ufuncsufunc_namesnameobjmsgfails         a/var/www/html/photoedit/myenv/lib/python3.14/site-packages/scipy/special/tests/test_nan_inputs.py_get_ufuncsr      s    FKr{{#kk$#rxx(($;MM#t$;;$$s$;DMM&,,s78t$ $     func)idsc           	      f   \         P                  3V P                  ,          p\        P                  ! 4       ;_uu_ 4        \        P
                  ! R R\        4        \        P                  ! 4       ;_uu_ 4        \        P                  ! R \        4       V ! V!  pRRR4       RRR4       T \        9   d   \        T ,          ! X!  pRX R2p\        \         P                  ! T4      RTR7       R#   + '       g   i     L^; i  \         d     RRR4       R# i ; i  + '       g   i     L; i)ignore-floating point number truncated to an integerNzgot z instead of nanT)err_msg)r   nanninwarningscatch_warningsfilterwarningsRuntimeWarningsimplefilterDeprecationWarning	TypeErrorPOSTPROCESSINGr   isnan)r   argsresr   s   &   r   test_nan_inputsr2   (   s    FF9TXXD		 	 	"	";	

	((**%%h0BCDk + 
# ~T"C(_
%Crxx}dC8 +*  	 
#	"	 
#	"sN    D D;"C3	D3D>DD DDD DD  D0	c                  <   \         P                  ! 4       ;_uu_ 4        \         P                  ! R R\        4       \        P
                  ! \        P                  ^R4      p \        \        P                  ! V 4      4       RRR4       R#   + '       g   i     R# ; i)r"   r#   g      ?N)
r'   r(   r)   r*   r
   bdtrcr   r%   r   r/   )r1   s    r   test_legacy_castr5   @   s_    		 	 	"	";	

 hhrvvq#& 
#	"	"	"s   A"B

B	c                    V ^8  d   Qh/ ^ \         9   d   \        \        \        3,          ;R&   ^\         9   d   \        \        \        3,          ;R&   # )   r   r.   )__conditional_annotations__dictstrr   )formats   "r   __annotate__r<      sB       ( 'tCM" ' ) (S(]# (r   )r8   __doc__r'   collections.abcr   numpyr   numpy.testingr   r   r   scipy.specialspecialr
   r   r.   r   UFUNCSUFUNC_NAMESr   parametrizer2   r5   r<   )r8   s   @r   <module>rF      ss     $  5   &( '&( ($ "m  [99 :9.r   