numpy.pxd: add NPY_UINT64 and family
This provides a fast way to check to see the data type of an ndarray. For example, to check to see if an integer is 64 bits: PyArray_TYPE(a) == NPY_UINT64 or PyArray_TYPE(a) == NPY_INT64
Showing
Please register or sign in to comment