[Bug c/12203] nearbyint returns always 895
pinskia at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Sun Sep 7 21:24:00 GMT 2003
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.
More information about the Gcc-bugs
mailing list