np.floor_divide with 0 as denominator - no error on Mac

49 Views Asked by At
np.floor_divide(1.0,0)

results inf with RuntimeWarning: divide by zero encountered in floor_divide np.floor_divide(1.0,0) on Linux but results nan on Mac with no warning/error.

Why this difference on Mac and Linux ?

0

There are 0 best solutions below