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

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

[Octave-bug-tracker] [bug #38142] Compiling with -std=c++11 introduces a


From: Jordi Gutiérrez Hermoso
Subject: [Octave-bug-tracker] [bug #38142] Compiling with -std=c++11 introduces a couple make check failures
Date: Tue, 22 Jan 2013 15:30:02 +0000
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.13) Gecko/20110109 Tundrabat/3.6.13

Follow-up Comment #1, bug #38142 (project octave):

I'm not sure build failures with C++11 are a bug.

As an annoying thing that we've discussed on the mailing list, C++11
apparently gets rid of the std::pow(double,int) specialisation that gives you
e.g. pow(1.5,2) exactly, without round-off error.

The tests that fail here seem to be related to std::pow, and I think
pow(1.5,2) should not have round-off error. Are other library implementors
besides GNU doing this?

    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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