@@ -207,24 +207,24 @@ def wrapper(x: Array, /) -> Array:
207207isinf = _create_unary_func ("isinf" , "numeric" )
208208isnan = _create_unary_func ("isnan" , "numeric" )
209209log = _create_unary_func ("log" , "floating-point" )
210+ log10 = _create_unary_func ("log10" , "floating-point" )
210211log1p = _create_unary_func ("log1p" , "floating-point" )
211212log2 = _create_unary_func ("log2" , "floating-point" )
212- log10 = _create_unary_func ("log10" , "floating-point" )
213213logical_not = _create_unary_func ("logical_not" , "boolean" )
214214negative = _create_unary_func ("negative" , "numeric" )
215215positive = _create_unary_func ("positive" , "numeric" )
216+ real = _create_unary_func ("real" , "numeric" )
216217reciprocal = requires_api_version ("2024.12" )(
217218 _create_unary_func ("reciprocal" , "floating-point" )
218219)
219- real = _create_unary_func ("real" , "numeric" )
220220round = _create_unary_func ("round" , "numeric" )
221221signbit = requires_api_version ("2023.12" )(
222222 _create_unary_func ("signbit" , "real floating-point" )
223223)
224224sin = _create_unary_func ("sin" , "floating-point" )
225225sinh = _create_unary_func ("sinh" , "floating-point" )
226- square = _create_unary_func ("square" , "numeric" )
227226sqrt = _create_unary_func ("sqrt" , "floating-point" )
227+ square = _create_unary_func ("square" , "numeric" )
228228tan = _create_unary_func ("tan" , "floating-point" )
229229tanh = _create_unary_func ("tanh" , "floating-point" )
230230trunc = _identity_if_integer (_create_unary_func ("trunc" , "real numeric" ))
0 commit comments