Is it safe if I use comparision like this (a is int, b and c is float/double):
a == b b == c
It may hear ridiculous, but in my old programi
Float wrapper class's compare method can be used to compare two float values.
Float.compare(float1,float2)==0
It will compare integer bits corresponding to each float object.