Return-Path: X-Original-To: apmail-commons-dev-archive@www.apache.org Delivered-To: apmail-commons-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id EE48917381 for ; Tue, 24 Feb 2015 19:59:01 +0000 (UTC) Received: (qmail 38331 invoked by uid 500); 24 Feb 2015 19:59:01 -0000 Delivered-To: apmail-commons-dev-archive@commons.apache.org Received: (qmail 38178 invoked by uid 500); 24 Feb 2015 19:59:01 -0000 Mailing-List: contact dev-help@commons.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Commons Developers List" Delivered-To: mailing list dev@commons.apache.org Received: (qmail 38166 invoked by uid 99); 24 Feb 2015 19:59:01 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 24 Feb 2015 19:59:01 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of thomas.neidhart@gmail.com designates 209.85.212.172 as permitted sender) Received: from [209.85.212.172] (HELO mail-wi0-f172.google.com) (209.85.212.172) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 24 Feb 2015 19:58:54 +0000 Received: by mail-wi0-f172.google.com with SMTP id l15so28225935wiw.5 for ; Tue, 24 Feb 2015 11:56:19 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type:content-transfer-encoding; bh=JdMdZQN1zi6KMPtogXN2ocKqzVQisq8WJNPT/ejUFWU=; b=VjykyOVFwrvdFgrhb25qrIEczYv866KCpazCN0n5MOlloAlHBkGqAe8jytmIHYstTk CX0vceRmrb0mJ4F7nHccUe2TP+NpP4tei1AsuyS6oyqqb5SmFnISs5c+11peuxuA+VzZ vetyKjjeMrCXXBOj9NQNXA8nUzLX3SW2X6DY+Hdc3omzNahCiSjE2j40bIv/78Atxa9i Vflnc4+u4qkk+VGhOhZo4jnPpg6T3jT48zG537HY5kyj+Yhums9IMNxNeCGVvR976ABv PrrftGmdUqlF0JVV7RB0z2NOILmMrikzZ4Gz6rq3vm7JjkvfYotdf6saMrP+SpMA6z1F RJjA== X-Received: by 10.195.12.167 with SMTP id er7mr36431694wjd.54.1424807778887; Tue, 24 Feb 2015 11:56:18 -0800 (PST) Received: from [192.168.1.2] (ip-83-134-111-80.dsl.scarlet.be. [83.134.111.80]) by mx.google.com with ESMTPSA id jy7sm12059763wid.22.2015.02.24.11.56.17 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 24 Feb 2015 11:56:18 -0800 (PST) Message-ID: <54ECD75F.9010608@gmail.com> Date: Tue, 24 Feb 2015 20:56:15 +0100 From: Thomas Neidhart User-Agent: Mozilla/5.0 (X11; Linux i686; rv:31.0) Gecko/20100101 Thunderbird/31.4.0 MIME-Version: 1.0 To: Commons Developers List Subject: [math] Test failures after switch to Java 1.7 References: <54EBA1F5.7030506@gmail.com> In-Reply-To: <54EBA1F5.7030506@gmail.com> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Hi, after switching to Java 1.7 there seems to be another problem with FastMath, see the two test failures below when running on jenkins. Can somebody reproduce it on a 64 bit machine (I just have a 32 bit laptop at home)? Test setup: Java 7 latest (1.7.0_75?), maven 3.1.1. Tests run: 65, Failures: 1, Errors: 0, Skipped: 1, Time elapsed: 13.332 sec <<< FAILURE! - in org.apache.commons.math4.util.FastMathTest testPowSpecialCases(org.apache.commons.math4.util.FastMathTest) Time elapsed: 0.007 sec <<< FAILURE! java.lang.AssertionError: pow(0.5, Infinity) should be 0.0 expected:<0.0> but was: at org.junit.Assert.fail(Assert.java:88) at org.junit.Assert.failNotEquals(Assert.java:743) at org.junit.Assert.assertEquals(Assert.java:494) at org.apache.commons.math4.util.FastMathTest.testPowSpecialCases(FastMathTest.java:372) Running org.apache.commons.math4.util.FastMathStrictComparisonTest Tests run: 53, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 0.037 sec <<< FAILURE! - in org.apache.commons.math4.util.FastMathStrictComparisonTest test1[37](org.apache.commons.math4.util.FastMathStrictComparisonTest) Time elapsed: 0 sec <<< FAILURE! java.lang.AssertionError: double pow(-0.0, NaN) expected NaN actual -Infinity entries [1, 3] at org.junit.Assert.fail(Assert.java:88) at org.apache.commons.math4.util.FastMathStrictComparisonTest.reportFailedResults(FastMathStrictComparisonTest.java:158) at org.apache.commons.math4.util.FastMathStrictComparisonTest.callMethods(FastMathStrictComparisonTest.java:182) at org.apache.commons.math4.util.FastMathStrictComparisonTest.setupMethodCall(FastMathStrictComparisonTest.java:204) at org.apache.commons.math4.util.FastMathStrictComparisonTest.test1(FastMathStrictComparisonTest.java:92) Thomas --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org For additional commands, e-mail: dev-help@commons.apache.org