This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: Bug Report (Float --> Integer Inplace Conversion Precision Problem)
- To: "David Welling" <dwelling at dsrnet dot com>
- Subject: Re: Bug Report (Float --> Integer Inplace Conversion Precision Problem)
- From: Alexandre Oliva <aoliva at redhat dot com>
- Date: 08 May 2001 03:47:48 -0300
- Cc: <gcc-bugs at gcc dot gnu dot org>, <jmurray at dsrnet dot com>, <j dot g dot casserly at worldnet dot att dot net>
- Organization: GCC Team, Red Hat
- References: <000601c0d6fd$c0d66580$06050a0a@DWELLING>
On May 7, 2001, "David Welling" <dwelling@dsrnet.com> wrote:
> The inplace assignment should result in 7. It does not because the value is
> copied straight from the FPU 80 bit register for the integer imm.
And why is this an error? Have you ever read ``What Every Computer
Scientist Should Know about Floating-Point Arithmetic''
http://www.validgh.com/goldberg/paper.ps ?
--
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