Tag: float
-
0f > Float.MIN_VALUE = false!
Updates: Turns out that this is the expected behaviour from the java doc: A constant holding the smallest positive nonzero value of type float, 2-149. So now, how do I get the smallest negative value that a float can hold? Just came across the most weirdest thing ever in Java – 0f > Float.MIN_VALUE returns…