[Jython-checkins] jython: Actually remove special case code for #2460 that was only commented out.
jim.baker
jython-checkins at python.org
Mon Feb 22 09:39:13 EST 2016
https://hg.python.org/jython/rev/d94481de60ba
changeset: 7905:d94481de60ba
user: Jim Baker <jim.baker at rackspace.com>
date: Mon Feb 22 07:38:32 2016 -0700
summary:
Actually remove special case code for #2460 that was only commented out.
files:
src/org/python/core/PyComplex.java | 9 ---------
1 files changed, 0 insertions(+), 9 deletions(-)
diff --git a/src/org/python/core/PyComplex.java b/src/org/python/core/PyComplex.java
--- a/src/org/python/core/PyComplex.java
+++ b/src/org/python/core/PyComplex.java
@@ -462,15 +462,6 @@
}
private final static PyObject _mul(PyComplex o1, PyComplex o2) {
-// if (Double.isNaN(o1.real) || Double.isNaN(o1.imag) || Double.isNaN(o2.real)
-// || Double.isNaN(o2.imag)) {
-// return NaN;
-// }
-// if (Double.isInfinite(o1.real) || Double.isInfinite(o1.imag) || Double.isInfinite(o2.real)
-// || Double.isInfinite(o2.imag)) {
-// return Inf;
-// }
-
return new PyComplex(o1.real * o2.real - o1.imag * o2.imag, o1.real * o2.imag + o1.imag
* o2.real);
}
--
Repository URL: https://hg.python.org/jython
More information about the Jython-checkins
mailing list