Skip to content

Commit 8e4e8bb

Browse files
committed
alphabetical order
1 parent 052d387 commit 8e4e8bb

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

array_api_strict/_elementwise_functions.py

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

0 commit comments

Comments
 (0)