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

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

[Octave-bug-tracker] [bug #47775] realpow and sparse-xpow.cc-tst fail wi


From: Lachlan Andrew
Subject: [Octave-bug-tracker] [bug #47775] realpow and sparse-xpow.cc-tst fail with C++11 and gcc 4
Date: Mon, 02 May 2016 00:09:50 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:43.0) Gecko/20100101 Firefox/43.0

Follow-up Comment #16, bug #47775 (project octave):

A simple response would be to make realpow give a once-off run time warning if
it was built with a version of GCC before 5.0, suggesting upgrading to 5.0 if
the user expects integer exponents to be computed exactly.

Except for the Matrix case, the special case code for integers seems just to
call a different library routine, rather than doing something that would
ensure a real answer.  This would be fixed if the scalar case also did the
repeated multiplication when the GCC version is less than 5.

Soon I'll try to write a patch to show what I mean.

    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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