MCPcopy Create free account
hub / github.com/numpy/numpy / array_bitwise_xor

Function array_bitwise_xor

numpy/core/src/multiarray/number.c:681–691  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

679}
680
681static PyObject *
682array_bitwise_xor(PyObject *m1, PyObject *m2)
683{
684 PyObject *res;
685
686 BINOP_GIVE_UP_IF_NEEDED(m1, m2, nb_xor, array_bitwise_xor);
687 if (try_binary_elide(m1, m2, &array_inplace_bitwise_xor, &res, 1)) {
688 return res;
689 }
690 return PyArray_GenericBinaryFunction(m1, m2, n_ops.bitwise_xor);
691}
692
693static PyObject *
694array_inplace_add(PyArrayObject *m1, PyObject *m2)

Callers

nothing calls this directly

Calls 2

try_binary_elideFunction · 0.85

Tested by

no test coverage detected