removed automatic assignments of Inf and NaN from Complex.reciprocal(); removed tests ComplexTest.testReciprocalInf() and ComplexTest.testReciprocalZero() that will no longer evaluate correctly
@@ -352,14 +352,6 @@ in the
* @see #divide(Complex)
*/
public Complex reciprocal() {
- if (real == 0.0 && imaginary == 0.0) {
- return INF;
- }
-
- if (Double.isInfinite(real) || Double.isInfinite(imaginary)) {
- return ZERO;
- }
-
if (Math.abs(real) < Math.abs(imaginary)) {
double q = real / imaginary;
double scale = 1. / (real * q + imaginary);
