Eq0 and eq(-) changed from ->getNumerator()==0 to Fraction::isEqualZero($param)