operator « float « Java Data Type Q&A





2. float and == operator    forums.oracle.com

ah sorry - my question was incomplete ... the problem is that I'm trying to compare two instance after unboxing - the problem is even they have same hashcodes they seems to be different - for all the other boxed types they're same float f1,f2 = 10f; => in method they are seen as Float f1,f2 then and then f1 != ...