Away from computer, but, I think scalarmath may have another.
On 14 Oct 2013 18:59, "Charles Harris" <notifications@github.com> wrote:

> In numpy/core/src/multiarray/common.h:
>
> > @@ -84,6 +84,29 @@
> >      }
> >  }
> >
> > +/*
> > + * writes result of a * b into r
> > + * returns 1 if a * b overflowed else returns 0
> > + */
> > +static NPY_INLINE int
> > +npy_mul_with_overflow_intp(npy_intp * r, npy_intp a, npy_intp b)
>
> OK, that's one down ;) There are different work arounds here and there
> that are probably not identical to this but could maybe use it.
>
> —
> Reply to this email directly or view it on GitHub<https://github.com/numpy/numpy/pull/3820/files#r6950656>
> .
>