Added comments in Cython/C, replicated overflow behavior for numpy<1.6