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

Function array_floor_divide

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

Source from the content-addressed store, hash-verified

777}
778
779static PyObject *
780array_floor_divide(PyObject *m1, PyObject *m2)
781{
782 PyObject *res;
783
784 BINOP_GIVE_UP_IF_NEEDED(m1, m2, nb_floor_divide, array_floor_divide);
785 if (try_binary_elide(m1, m2, &array_inplace_floor_divide, &res, 0)) {
786 return res;
787 }
788 return PyArray_GenericBinaryFunction(m1, m2, n_ops.floor_divide);
789}
790
791static PyObject *
792array_true_divide(PyObject *m1, PyObject *m2)

Callers

nothing calls this directly

Calls 2

try_binary_elideFunction · 0.85

Tested by

no test coverage detected