This is the mail archive of the gcc-bugs@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]

other/5580: double



>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:


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