Again, should it be abs(x-y)/(abs(y)+1e-15)?