525a526 > np.putmask(xa, xa<0.0, -1) #ensure that all 'under' values will have negative value when casting to int