Skip to content

Commit d09fbdd

Browse files
committed
Add a note why mkl_vm::remainder() is not intended to be used
1 parent 8ee8bc3 commit d09fbdd

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

dpnp/dpnp_iface_mathematical.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3969,6 +3969,8 @@ def real_if_close(a, tol=100):
39693969
ti._remainder,
39703970
_REMAINDER_DOCSTRING,
39713971
binary_inplace_fn=ti._remainder_inplace,
3972+
# mkl_vm::remainder() isn't implemented, because it follows C's modulo
3973+
# operator, but Python's one is expected acc to Python Array API spec
39723974
)
39733975

39743976
mod = remainder

0 commit comments

Comments
 (0)