It should either throw an exception or return Double.NAN or Double.POSITIVE_INFINITY
It should either throw an exception or return Double.NAN or Double.POSITIVE_INFINITY