Task

Write a function to detect a   divide by zero error   without checking if the denominator is zero.




public static boolean infinity(double numer, double denom){
	return Double.isInfinite(numer/denom);
}