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

Function array_bitwise_and

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

Source from the content-addressed store, hash-verified

655}
656
657static PyObject *
658array_bitwise_and(PyObject *m1, PyObject *m2)
659{
660 PyObject *res;
661
662 BINOP_GIVE_UP_IF_NEEDED(m1, m2, nb_and, array_bitwise_and);
663 if (try_binary_elide(m1, m2, &array_inplace_bitwise_and, &res, 1)) {
664 return res;
665 }
666 return PyArray_GenericBinaryFunction(m1, m2, n_ops.bitwise_and);
667}
668
669static PyObject *
670array_bitwise_or(PyObject *m1, PyObject *m2)

Callers

nothing calls this directly

Calls 2

try_binary_elideFunction · 0.85

Tested by

no test coverage detected