Use discriminant to determine nature of roots (#292)