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 - error in java?
Summary: error in java?
Status: RESOLVED INVALID
Alias: None
Product: ide
Classification: Unclassified
Component: Code (show other bugs)
Version: 7.0.1
Hardware: All All
: P1 normal (vote)
Assignee: issues@ide
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-05-28 16:18 UTC by DmitryKrapivin
Modified: 2012-05-31 17:13 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.