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

Function PyUFunc_checkfperr

numpy/core/src/umath/ufunc_object.c:162–170  ·  view source on GitHub ↗

UFUNC_API*/

Source from the content-addressed store, hash-verified

160
161/*UFUNC_API*/
162NPY_NO_EXPORT int
163PyUFunc_checkfperr(int errmask, PyObject *errobj, int *first)
164{
165 /* clearing is done for backward compatibility */
166 int retstatus;
167 retstatus = npy_clear_floatstatus_barrier((char*)&retstatus);
168
169 return PyUFunc_handlefperr(errmask, errobj, retstatus, first);
170}
171
172
173/* Checking the status flag clears it */

Callers

nothing calls this directly

Calls 2

PyUFunc_handlefperrFunction · 0.85

Tested by

no test coverage detected