Field NEGATIVE_INFINITY
Field type: float
Member of:
java.lang.Float
[
api documentation
] [
main menu
]
Examples of how the element is used
(one line per example):
[
add your own example
]
1
new Float(Float.NEGATIVE_INFINITY));
2
if (myValue == Float.NEGATIVE_INFINITY) {
3
myValue = Float.NEGATIVE_INFINITY;
4
return new Float(Float.NEGATIVE_INFINITY);
5
assertTrue(new CompareToBuilder().append(Float.NEGATIVE_INFINITY, Float.MIN_VALUE).toComparison() < 0);
6
return new Float(Float.NEGATIVE_INFINITY);
7
assertTrue(NumberUtils.compare(Float.NaN, Float.NEGATIVE_INFINITY) == +1);
Java and J2SE are trademarks or registered trademarks of Sun Microsystems, Inc. in the United States and other Countries.