commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sebb <seb...@gmail.com>
Subject [MATH] Odd behaviour of FastMathStrictComparisonTest
Date Mon, 21 Feb 2011 20:03:11 GMT
When testing using Java 1.5.0, I am seeing the following output:

Running org.apache.commons.math.util.FastMathStrictComparisonTest
double atan2(1.1102230246251565E-16, -1.7976931348623157E308) expected
400921fb54442d18 actual c00921fb54442d18 entries [9, 6]
double atan2(2.2250738585072014E-308, -1.7976931348623157E308)
expected 400921fb54442d18 actual c00921fb54442d18 entries [11, 6]
double atan2(4.9E-324, -1.7976931348623157E308) expected
400921fb54442d18 actual c00921fb54442d18 entries [13, 6]

The result has the wrong sign.

What is odd is that this does not happen with Java 1.6.0, nor does it
happen if I try running the test on its own.
Nor does it happen if use Ant to run the tests.

Nor does it seem to happen in the Continuum builds, which are using Java 1.5

But it happens reliably if I run "mvn test" under Java 1.5.0.

Very odd.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
For additional commands, e-mail: dev-help@commons.apache.org


Mime
View raw message