This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/32448] [3.3 / 3.4 / 4.1 / 4.2 / 4.3 Regression] abs / printf bug
- From: "ubizjak at gmail dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 21 Jun 2007 11:27:26 -0000
- Subject: [Bug c/32448] [3.3 / 3.4 / 4.1 / 4.2 / 4.3 Regression] abs / printf bug
- References: <bug-32448-13830@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #5 from ubizjak at gmail dot com 2007-06-21 11:27 -------
(In reply to comment #3)
> GCC printed no warning about disliking a conversion.
It just happens that gcc is not like microwave oven that has to include
warnings about not drying animals in it.
> Sometimes the answer is _positive_ zero and sometimes the answer is _negative_
> zero.
http://en.wikipedia.org/wiki/Floating-point
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32448