This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
other/5580: double
- From: x-tronic at ji dot cz
- To: gcc-gnats at gcc dot gnu dot org
- Date: 3 Feb 2002 13:04:01 -0000
- Subject: other/5580: double
- Reply-to: x-tronic at ji dot cz
>Number: 5580
>Category: other
>Synopsis: double
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: unassigned
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Mon Feb 04 11:06:01 PST 2002
>Closed-Date:
>Last-Modified:
>Originator: x-tronic@ji.cz
>Release: gcc 2.96 20000731
>Organization:
>Environment:
RedHat Linux 7.2
>Description:
double d1=40/12;
double d2=40/12.00;
d1 is 3 (???)
d2 is 3.333 (as it should)
leads to serious bugs in applications
>How-To-Repeat:
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted: