Hi,<br><br>I expect `reciprocal(x)` to calculate 1/x, and for input 0 to either follow the python rules or give the np.divide(1, 0) result. However the result returned (with numpy trunk) is:<br><br>>>> np.reciprocal(0)<br>
-2147483648<br><br>>>> np.divide(1, 0)<br>0<br>>>> 1/0<br>Traceback (most recent call last):<br> File "<stdin>", line 1, in <module><br>ZeroDivisionError: integer division or modulo by zero<br>
<br>The result for a zero float argument is inf as expected. I want to document the correct behavior for integers, what should it be?<br><br>Cheers,<br>Ralf<br>