[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #45507] acos returns different results on big
From: |
Mike Miller |
Subject: |
[Octave-bug-tracker] [bug #45507] acos returns different results on big input values on gcc 4.8 |
Date: |
Thu, 23 Jun 2016 03:01:00 +0000 (UTC) |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:47.0) Gecko/20100101 Firefox/47.0 |
Follow-up Comment #34, bug #45507 (project octave):
If I understand the history of this bug report, the original bug was the the
existing acos, etc, functions overflow when given large magnitude arguments.
The original set of tests were all passing, but those tests are only on
arguments with small magnitudes. Then you proposed a patch to fix this, and
Marco suggested using standard Fortran library routines instead, and I showed
that the C++ equivalents work (given a new enough GCC).
Based on that, I would think that the current #else condition will also fail
to give correct answers for the new set of tests that I added when building
with GCC 4.8. Can you test that by fudging the config.h?
So do we need an entirely new code branch anyway for the #else case if we want
to support systems with the C++ functions but bad results from those
functions?
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?45507>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
- [Octave-bug-tracker] [bug #45507] acos returns different results on big input values, Mike Miller, 2016/06/13
- [Octave-bug-tracker] [bug #45507] acos returns different results on big input values, Marco Caliari, 2016/06/14
- [Octave-bug-tracker] [bug #45507] acos returns different results on big input values, Mike Miller, 2016/06/14
- [Octave-bug-tracker] [bug #45507] acos returns different results on big input values, Marco Caliari, 2016/06/14
- [Octave-bug-tracker] [bug #45507] acos returns different results on big input values, Lachlan Andrew, 2016/06/14
- [Octave-bug-tracker] [bug #45507] acos returns different results on big input values, Mike Miller, 2016/06/14
- [Octave-bug-tracker] [bug #45507] acos returns different results on big input values, Mike Miller, 2016/06/17
- [Octave-bug-tracker] [bug #45507] acos returns different results on big input values on gcc 4.8, Lachlan Andrew, 2016/06/22
- [Octave-bug-tracker] [bug #45507] acos returns different results on big input values on gcc 4.8,
Mike Miller <=
- [Octave-bug-tracker] [bug #45507] acos returns different results on big input values on gcc 4.8, Lachlan Andrew, 2016/06/23
- [Octave-bug-tracker] [bug #45507] acos returns different results on big input values on gcc 4.8, Rik, 2016/06/23
- [Octave-bug-tracker] [bug #45507] acos returns different results on big input values on gcc 4.8, Lachlan Andrew, 2016/06/23
- [Octave-bug-tracker] [bug #45507] acos returns different results on big input values on gcc 4.8, Mike Miller, 2016/06/23
- [Octave-bug-tracker] [bug #45507] acos returns different results on big input values on gcc 4.8, Mike Miller, 2016/06/23
- [Octave-bug-tracker] [bug #45507] acos returns different results on big input values on gcc 4.8, Rik, 2016/06/23
- [Octave-bug-tracker] [bug #45507] acos returns different results on big input values on gcc 4.8, Mike Miller, 2016/06/30