octave-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-bug-tracker] [bug #47214] isnan and isinf problems with C++11 an


From: Mike Miller
Subject: [Octave-bug-tracker] [bug #47214] isnan and isinf problems with C++11 and gcc 4
Date: Sun, 3 Sep 2017 16:09:46 -0400 (EDT)
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:55.0) Gecko/20100101 Firefox/55.0

Update of bug #47214 (project octave):

                  Status:               Confirmed => Wont Fix               
             Open/Closed:                    Open => Closed                 

    _______________________________________________________

Follow-up 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:


>> test libinterp/corefcn/sparse-xpow.cc-tst 
***** assert <47775> (sparse (2i) .^ [3, 4], sparse ([-0-8i, 16]))
!!!!! known bug: http://octave.org/testfailure/?47775
ASSERT errors for:  assert (sparse (2i) .^ [3, 4],sparse ([-0 - 8i, 16]))

  Location  |  Observed  |  Expected  |  Reason
    (1)      -1.46958e-15-8i     0-8i       Abs err 2.3054e-15 exceeds tol 0
    (2)      16-3.91887e-15i    16+0i       Abs err 4.3027e-15 exceeds tol 0
PASSES 1 out of 2 tests (1 known bug)
>> test realpow
***** assert <47775> (realpow (1i,2), -1)
!!!!! known bug: http://octave.org/testfailure/?47775
realpow: produced complex result
PASSES 7 out of 8 tests (1 known bug)


I think it's pretty clear that this is an accuracy issue and the link to the
relevant bug report is provided.

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?47214>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]