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

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

[Octave-bug-tracker] [bug #45507] acos returns different results on big


From: Lachlan Andrew
Subject: [Octave-bug-tracker] [bug #45507] acos returns different results on big input values on gcc 4.8
Date: Sun, 3 Jul 2016 22:35:30 +0000 (UTC)
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:43.0) Gecko/20100101 Firefox/43.0

Follow-up Comment #47, bug #45507 (project octave):


cc     c99-acos-test.c   -o c99-acos-test -lm
z = 1.5708 + -infi
error: fails assertion real(z) == 0



g++ -std=gnu++11    cxx11-acos-test.cc   -o cxx11-acos-test
./cxx11-acos-test 
z = 1.5708 + -infi
error: fails assertion real(z) == 0


OS: Linux Mint Debian Edition
gcc version 4.8.2 (Debian 4.8.2-1) 
GNU libc version: 2.17
x86_64

    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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