[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: |
Sun, 3 Jul 2016 19:41:36 +0000 (UTC) |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:47.0) Gecko/20100101 Firefox/47.0 |
Follow-up Comment #45, bug #45507 (project octave):
I would start by going back to basics and making sure what we're seeing with
Octave is reflective of the system libraries, versus some other effect going
on.
The attached programs use the standard library routines to compute the
assertion that is failing in Octave, specifically the single assertion
"assert(real(acos(1e150)), 0)" that seems to be failing for you and others.
One is a C99 program and one is a C++11 program, both should produce identical
results.
What confuses me even more is I now have a build of Octave with gcc 4.8.4 on a
Ubuntu 14.04 VM, and I don't see a failure in Octave, and both programs
succeed for me. So now I'm not sure on which systems we see success or
failure. Can we get some details from those of you who see failing tests:
OS/distribution version, gcc version, libc version, and architecture?
_______________________________________________________
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 on gcc 4.8, John W. Eaton, 2016/07/02
- [Octave-bug-tracker] [bug #45507] acos returns different results on big input values on gcc 4.8, Mike Miller, 2016/07/02
- [Octave-bug-tracker] [bug #45507] acos returns different results on big input values on gcc 4.8, Lachlan Andrew, 2016/07/03
- [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, Mike Miller, 2016/07/03
- [Octave-bug-tracker] [bug #45507] acos returns different results on big input values on gcc 4.8, Lachlan Andrew, 2016/07/03
- [Octave-bug-tracker] [bug #45507] acos returns different results on big input values on gcc 4.8, Lachlan Andrew, 2016/07/03
- [Octave-bug-tracker] [bug #45507] acos returns different results on big input values on gcc 4.8, Mike Miller, 2016/07/03
- [Octave-bug-tracker] [bug #45507] acos returns different results on big input values on gcc 4.8, Mike Miller, 2016/07/03
- [Octave-bug-tracker] [bug #45507] acos returns different results on big input values on gcc 4.8, Lachlan Andrew, 2016/07/03