Sun 03 Sep 2017 08:19:18 PM UTC, comment #8:
Ack, I did the same thing again.
This bug report was primarily about tests in libinterp/corefcn/data.cc, libinterp/corefcn/str2double.cc, and scripts/general/num2str.m failing due to some differences with Inf and NaN values.
With gcc 4.8 I do not get any of the test failures mentioned in the original post relating to those files. I think these might have been due to system libraries or a gcc version that did not fully support C++11. At this point Octave should be built with gcc 4.8 or later.
|
Sun 03 Sep 2017 08:09:46 PM UTC, comment #7:
I am still building Octave with gcc 4.8 on Ubuntu 14.04, and the two tests mentioned in this bug report do fail.
I think the test failures are clear enough and point to bug #47775, so I don't think there's any reason to keep this open. It's a won't fix, system libraries have already fixed this, older systems will be updated eventually and this will be resolved.
This is the output with a gcc 4.8 build from a couple days ago:
I think it's pretty clear that this is an accuracy issue and the link to the relevant bug report is provided.
|
Sun 21 Feb 2016 05:12:56 PM UTC, original submission:
The builtin isnan and isinf functions in C++11 cause "make check" to fail in several places with similar errors:
Changing to C++11 also gives two new failures in rounding small numbers:
|