[prev in list] [next in list] [prev in thread] [next in thread] 

List:       gcc-bugs
Subject:    Re: bug report
From:       "Martin v. Loewis" <martin () mira ! isdn ! cs ! tu-berlin ! de>
Date:       1999-11-06 21:00:01
[Download RAW message or body]

> Please see the enclosed file. There is a few simple source code, 
> temporary files and logs. I think the variable comparison has a problem.
> My system is ... see COMPILE_LOG.
> Please let me know whether that is a gcc's problem or mine.

It's your problem, not gcc's. Because you use floating point numbers
(double), you get rounding errors. See

http://egcs.cygnus.com/readings.html

for details, in particular the link

"What Every Computer Scientist Should Know about Floating-Point
Arithmetic by David Goldberg, including Doug Priest's supplement"

Regards,
Martin

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic