return -inf when numerator is negative and demominator is 0 in numpy div