This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/12203] nearbyint returns always 895
- From: "pinskia at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 7 Sep 2003 21:24:44 -0000
- Subject: [Bug c/12203] nearbyint returns always 895
- References: <20030907211720.12203.sk@mathematik.uni-ulm.de>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12203
pinskia at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution| |INVALID
------- Additional Comments From pinskia at gcc dot gnu dot org 2003-09-07 21:24 -------
Did you read http://gcc.gnu.org/bugs.html, at all?
`Before reporting that GCC compiles your code incorrectly, please compile it with gcc -Wall and
see whether this shows anything wrong with your code that could be the cause instead of a bug in
GCC.'
gcc -Wall pr12203.c -lm
pr12203.c: In function `show':
pr12203.c:6: warning: implicit declaration of function `nearbyint'
So this is a glibc bug in math.h then and not a GCC bug at all.