This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Bug Report (Float --> Integer Inplace Conversion Precision Problem)


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]