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

Function array_bitwise_or

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

Source from the content-addressed store, hash-verified

667}
668
669static PyObject *
670array_bitwise_or(PyObject *m1, PyObject *m2)
671{
672 PyObject *res;
673
674 BINOP_GIVE_UP_IF_NEEDED(m1, m2, nb_or, array_bitwise_or);
675 if (try_binary_elide(m1, m2, &array_inplace_bitwise_or, &res, 1)) {
676 return res;
677 }
678 return PyArray_GenericBinaryFunction(m1, m2, n_ops.bitwise_or);
679}
680
681static PyObject *
682array_bitwise_xor(PyObject *m1, PyObject *m2)

Callers

nothing calls this directly

Calls 2

try_binary_elideFunction · 0.85

Tested by

no test coverage detected