Check the case that the numerator and denominator are both zeros when getting edge...