This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 213113

Summary: error in java?
Product: ide Reporter: DmitryKrapivin
Component: CodeAssignee: issues@ide <issues>
Status: RESOLVED INVALID    
Severity: normal    
Priority: P1    
Version: 7.0.1   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:

Description DmitryKrapivin 2012-05-28 16:18:16 UTC
Product Version = NetBeans IDE 7.0.1 (Build 201107282000)
Operating System = Windows 7 version 6.1 running on x86
Java; VM; Vendor = 1.6.0_26
Runtime = Java HotSpot(TM) Client VM 20.1-b02

Code:
        for (double d =  1.; d <= 2; d += .1) {
            System.out.println("d=" + d);
        }

Output:
d=1.0
d=1.1
d=1.2000000000000002
d=1.3000000000000003
d=1.4000000000000004
d=1.5000000000000004
d=1.6000000000000005
d=1.7000000000000006
d=1.8000000000000007
d=1.9000000000000008
Comment 1 Marian Mirilovic 2012-05-29 07:44:59 UTC
This is a NetBeans related bug tracking system, if you want to report bugs against JDK, please use http://bugreport.sun.com/bugreport/ .
Thanks in advance.