I try to compare Doubles Min/Max with 0.0.
Double min = Double.MIN_VALUE;
Double max = Double.MAX_VALUE;
Double d = new Double (0.0);
System.out.println (min < d);
System.out.println (min.compareTo (d) < 0);
System.out.println (d < max);
System.out.println (d.compareTo (max) < 0);
I would expect all output to be true.
But instead I get
false
false
true
true
Why?