[Bug c++/28517] New: Incorrect floating point calculations when done in class constructor

emalloy at andrew dot cmu dot edu gcc-bugzilla@gcc.gnu.org
Thu Jul 27 20:08:00 GMT 2006


OS: Fedora Core 3 (64 AMD)

  I have run into an issue where floating point calculations are incorrect
(slightly off).  The calculations are done as arguments to a class constructor.
 Attached is small program that demostrates this.  However I was only able to
reproduce it using the third party (a single header file of inline code under
the GLPL) random number generator that our program uses.


-- 
           Summary: Incorrect floating point calculations when done in class
                    constructor
           Product: gcc
           Version: 3.4.4
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: emalloy at andrew dot cmu dot edu


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28517



More information about the Gcc-bugs mailing list