This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: gcc produces a wrong executable code
- To: Vardan Akopian <vakopian at usc dot edu>
- Subject: Re: gcc produces a wrong executable code
- From: Alexandre Oliva <aoliva at redhat dot com>
- Date: 17 Oct 2000 02:42:31 -0200
- Cc: gcc-bugs at gcc dot gnu dot org
- Organization: GCC Team, Red Hat
- References: <39EBAA8D.7ACED343@usc.edu>
On Oct 16, 2000, Vardan Akopian <vakopian@usc.edu> wrote:
> The results should be the same but are different.
Nope. You must take rounding and the possibility of excess precision
into account when dealing with floating point numbers. GCC is
right.
--
Alexandre Oliva Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/
Red Hat GCC Developer aoliva@{cygnus.com, redhat.com}
CS PhD student at IC-Unicamp oliva@{lsd.ic.unicamp.br, gnu.org}
Free Software Evangelist *Please* write to mailing lists, not to me