Bug Report (Float --> Integer Inplace Conversion Precision Problem)
Alexandre Oliva
aoliva@redhat.com
Mon May 7 23:47:00 GMT 2001
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
More information about the Gcc-bugs
mailing list