Re: [math] Attempt to circumvent some errors which seem to be platform-dependent.

2015-05-07 Thread Thomas Neidhart
On 05/07/2015 03:58 PM, Luc Maisonobe wrote: > Le 07/05/2015 15:42, Thomas Neidhart a écrit : >> I did not want to invalidate your effort, > > > Don't worry about that. I learned a lot doing this, including > something that really surprised me: pow(NaN, 0.0) *must* be 1.0 > and not NaN. AFAIK thi

Re: [math] Attempt to circumvent some errors which seem to be platform-dependent.

2015-05-07 Thread Luc Maisonobe
Le 07/05/2015 15:42, Thomas Neidhart a écrit : > I did not want to invalidate your effort, Don't worry about that. I learned a lot doing this, including something that really surprised me: pow(NaN, 0.0) *must* be 1.0 and not NaN. AFAIK this is the only case where a NaN input does not propagate to

Re: [math] Attempt to circumvent some errors which seem to be platform-dependent.

2015-05-07 Thread Thomas Neidhart
I did not want to invalidate your effort, but check if a faulty branch prediction / optimization might be the cause of the problem, which seems to be confirmed now. If you have an improved version of the pow function, please go ahead with your modifications. Thomas On Thu, May 7, 2015 at 3:28 P

Re: [math] Attempt to circumvent some errors which seem to be platform-dependent.

2015-05-07 Thread Luc Maisonobe
Le 07/05/2015 15:04, Thomas Neidhart a écrit : > After my last test, the test failures seem to have disappeared, see here: > https://builds.apache.org/job/Commons%20Math%20H10/ Thanks. I was working on this since two days. It also occurred to me that the optimizers did rearrange the order of the

Re: [math] Attempt to circumvent some errors which seem to be platform-dependent.

2015-05-07 Thread Thomas Neidhart
After my last test, the test failures seem to have disappeared, see here: https://builds.apache.org/job/Commons%20Math%20H10/ Thomas On Tue, May 5, 2015 at 4:39 PM, Luc Maisonobe wrote: > Le 05/05/2015 10:51, Luc Maisonobe a écrit : > > Le 04/05/2015 23:30, Thomas Neidhart a écrit : > >> On 05/

Re: [math] Attempt to circumvent some errors which seem to be platform-dependent.

2015-05-05 Thread Luc Maisonobe
Le 05/05/2015 10:51, Luc Maisonobe a écrit : > Le 04/05/2015 23:30, Thomas Neidhart a écrit : >> On 05/04/2015 09:31 PM, Luc Maisonobe wrote: >>> Le 04/05/2015 19:13, sebb a écrit : On 4 May 2015 at 16:43, luc wrote: > Le 2015-05-04 14:48, Thomas Neidhart a écrit : >> >> Problem s

Re: [math] Attempt to circumvent some errors which seem to be platform-dependent.

2015-05-05 Thread Luc Maisonobe
Le 04/05/2015 23:30, Thomas Neidhart a écrit : > On 05/04/2015 09:31 PM, Luc Maisonobe wrote: >> Le 04/05/2015 19:13, sebb a écrit : >>> On 4 May 2015 at 16:43, luc wrote: Le 2015-05-04 14:48, Thomas Neidhart a écrit : > > Problem still remains, see here: > https://builds.apache.o

Re: [math] Attempt to circumvent some errors which seem to be platform-dependent.

2015-05-05 Thread Thomas Neidhart
In fact we do not need real physical / remote access to the machine. It would be sufficient if somebody can install the hotspot disassembler plugin for the Java runtime: Could not load hsdis-i386.so; library not loadable; PrintAssembly is disabled Then the assembly for the method in question will

Re: [math] Attempt to circumvent some errors which seem to be platform-dependent.

2015-05-04 Thread Thomas Neidhart
On 05/04/2015 09:31 PM, Luc Maisonobe wrote: > Le 04/05/2015 19:13, sebb a écrit : >> On 4 May 2015 at 16:43, luc wrote: >>> Le 2015-05-04 14:48, Thomas Neidhart a écrit : Problem still remains, see here: https://builds.apache.org/job/Commons%20Math%20H10/49/console The te

Re: [math] Attempt to circumvent some errors which seem to be platform-dependent.

2015-05-04 Thread Thomas Neidhart
On 05/04/2015 05:43 PM, luc wrote: > Le 2015-05-04 14:48, Thomas Neidhart a écrit : >> Problem still remains, see here: >> https://builds.apache.org/job/Commons%20Math%20H10/49/console >> >> The test failures only occur on the following slaves it seems: >> >> * H10 >> * ubuntu-2 > > This looks l

Re: [math] Attempt to circumvent some errors which seem to be platform-dependent.

2015-05-04 Thread Luc Maisonobe
Le 04/05/2015 21:34, Benedikt Ritter a écrit : > 2015-05-04 16:20 GMT+02:00 luc : > >> Le 2015-05-04 14:32, Benedikt Ritter a écrit : >> >>> Hello Luc, >>> >>> 2015-05-04 13:43 GMT+02:00 : >>> >>> Repository: commons-math Updated Branches: refs/heads/master c8cb75243 -> c771c0080

Re: [math] Attempt to circumvent some errors which seem to be platform-dependent.

2015-05-04 Thread Benedikt Ritter
2015-05-04 16:20 GMT+02:00 luc : > Le 2015-05-04 14:32, Benedikt Ritter a écrit : > >> Hello Luc, >> >> 2015-05-04 13:43 GMT+02:00 : >> >> Repository: commons-math >>> Updated Branches: >>> refs/heads/master c8cb75243 -> c771c0080 >>> >>> >>> Attempt to circumvent some errors which seem to be p

Re: [math] Attempt to circumvent some errors which seem to be platform-dependent.

2015-05-04 Thread Luc Maisonobe
Le 04/05/2015 19:13, sebb a écrit : > On 4 May 2015 at 16:43, luc wrote: >> Le 2015-05-04 14:48, Thomas Neidhart a écrit : >>> >>> Problem still remains, see here: >>> https://builds.apache.org/job/Commons%20Math%20H10/49/console >>> >>> The test failures only occur on the following slaves it seem

Re: [math] Attempt to circumvent some errors which seem to be platform-dependent.

2015-05-04 Thread sebb
On 4 May 2015 at 16:43, luc wrote: > Le 2015-05-04 14:48, Thomas Neidhart a écrit : >> >> Problem still remains, see here: >> https://builds.apache.org/job/Commons%20Math%20H10/49/console >> >> The test failures only occur on the following slaves it seems: >> >> * H10 >> * ubuntu-2 > > > This lo

Re: [math] Attempt to circumvent some errors which seem to be platform-dependent.

2015-05-04 Thread luc
Le 2015-05-04 14:48, Thomas Neidhart a écrit : Problem still remains, see here: https://builds.apache.org/job/Commons%20Math%20H10/49/console The test failures only occur on the following slaves it seems: * H10 * ubuntu-2 This looks like what happened a few months ago then. I will try to l

Re: [math] Attempt to circumvent some errors which seem to be platform-dependent.

2015-05-04 Thread luc
Le 2015-05-04 14:32, Benedikt Ritter a écrit : Hello Luc, 2015-05-04 13:43 GMT+02:00 : Repository: commons-math Updated Branches: refs/heads/master c8cb75243 -> c771c0080 Attempt to circumvent some errors which seem to be platform-dependent. The Jenkins build often fails on code that seem

Re: [math] Attempt to circumvent some errors which seem to be platform-dependent.

2015-05-04 Thread sebb
Also, note that commit log messages are not published with the source code. So please consider adding suitable comments in the source code itself. The commit log should contain sufficient detail to understand why the commit was done; the source code needs to contain the detail to understand the s

Re: [math] Attempt to circumvent some errors which seem to be platform-dependent.

2015-05-04 Thread Thomas Neidhart
Problem still remains, see here: https://builds.apache.org/job/Commons%20Math%20H10/49/console The test failures only occur on the following slaves it seems: * H10 * ubuntu-2 Thomas On Mon, May 4, 2015 at 1:43 PM, wrote: > Repository: commons-math > Updated Branches: > refs/heads/master

Re: [math] Attempt to circumvent some errors which seem to be platform-dependent.

2015-05-04 Thread Benedikt Ritter
Hello Luc, 2015-05-04 13:43 GMT+02:00 : > Repository: commons-math > Updated Branches: > refs/heads/master c8cb75243 -> c771c0080 > > > Attempt to circumvent some errors which seem to be platform-dependent. > > The Jenkins build often fails on code that seems to be perfectly > correct. Failures