[Bug other/55560] fesetround(FE_DOWNWARD) causes cos() to return values outside the range of -1 to +1
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55560 Andrew Pinski pinskia at gcc dot gnu.org changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution||MOVED --- Comment #4 from Andrew Pinski pinskia at gcc dot gnu.org 2012-12-09 00:40:04 UTC --- So closing as moved (as in moved to glibc bug).
[Bug other/55560] fesetround(FE_DOWNWARD) causes cos() to return values outside the range of -1 to +1
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55560 --- Comment #2 from pj at ecstaticlyrics dot com 2012-12-02 09:10:35 UTC --- GNU C Library (Ubuntu EGLIBC 2.15-0ubuntu20) stable release version 2.15 I downloaded glibc 2.16, but it encounters an error while compiling.
[Bug other/55560] fesetround(FE_DOWNWARD) causes cos() to return values outside the range of -1 to +1
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55560 --- Comment #3 from joseph at codesourcery dot com joseph at codesourcery dot com 2012-12-02 20:39:23 UTC --- This would have been glibc bug 3976 which was fixed for cos by: commit 804360ed837e3347c9cd9738f25345d2587a1242 Author: Joseph Myers jos...@codesourcery.com Date: Fri Mar 2 20:51:39 2012 + Fix sin, cos, tan in non-default rounding modes (bug 3976).
[Bug other/55560] fesetround(FE_DOWNWARD) causes cos() to return values outside the range of -1 to +1
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55560 Andrew Pinski pinskia at gcc dot gnu.org changed: What|Removed |Added Severity|major |normal --- Comment #1 from Andrew Pinski pinskia at gcc dot gnu.org 2012-12-02 07:40:16 UTC --- I think this is a bug in the glibc version you are using rather than GCC. Have you tried a newer version of glibc like say 2.16? Oh what version of glibc are you using? find out by invoking /lib/libc.so.6 .