Bugs item #2881714, was opened at 2009-10-19 20:58
Message generated for change (Tracker Item Submitted) made by chunkit
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=438935&aid=2881714&group_id=44253
Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Interactions
Group: 2: Annoying
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: chunkit (chunkit)
Assigned to: Nobody/Anonymous (nobody)
Summary: Interactions panel "returns" false for 0.0 == -0.0
Initial Comment:
I get this:
> 0==-0.0
false
> -0.0==0.0
false
> 0.0==-0.0
false
And this:
> System.out.println(0.0==-0.0);
false
> System.out.println(-0.0==0.0);
false
> System.out.println(0==-0.0);
false
They should evaluate to true and do evaluate to true when not using the interactions panel.
DrJava build time 20090821-1520
DrJava revision 5004
java.vendor Sun Microsystems Inc.
java.version 1.6.0_16
os.name Windows XP
os.version 5.1
Thank you for looking into it.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=438935&aid=2881714&group_id=44253
|