This is the mail archive of the gcc@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]
Other format: [Raw text]

Re: strange double comparison results with -O[12] on x86(-32)



On Jun 13, 2005, at 10:21 AM, Christian Bodenstedt wrote:



last weekend I got some strange results from a C-program doing some comparisons on double-values. I know, usually it's no good idea to compare two doubles with "==". But when they are calculated from the same values with the same operations, both doubles should have the same value, shouldn't they?

Did you read the non-bug section in <http://gcc.gnu.org/bugs.html>?


This is known as GCC PR 323 which is not a bug: <http://gcc.gnu.org/PR323>.


-- Pinski



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