This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/14367] inconsistent floating point results in C++ operator *= method
- From: "pinskia at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 1 Mar 2004 17:28:50 -0000
- Subject: [Bug c++/14367] inconsistent floating point results in C++ operator *= method
- References: <20040301165624.14367.djerius@cfa.harvard.edu>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From pinskia at gcc dot gnu dot org 2004-03-01 17:28 -------
In fact neither is correct (well really both are as for rounding errors which can happen and does).
The correct answer is 1582081461419629901.
But really this is a non-bug as you are dealing with FP and x86 where different precision can happen.
This is a dup of bug 323.
*** This bug has been marked as a duplicate of 323 ***
--
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution| |DUPLICATE
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14367