Field POSITIVE_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.POSITIVE_INFINITY));
2 divideByZeroValue = (float)Prefs.getDouble(Prefs.DIV_BY_ZERO_VALUE, Float.POSITIVE_INFINITY);
3 if (myValue == Float.POSITIVE_INFINITY) {
4 myValue = Float.POSITIVE_INFINITY;
5 return new Float(Float.POSITIVE_INFINITY);
6 assertTrue(new EqualsBuilder().append(Float.POSITIVE_INFINITY, Float.POSITIVE_INFINITY).isEquals());
7 return new Float(Float.POSITIVE_INFINITY);
Java and J2SE are trademarks or registered trademarks of Sun Microsystems, Inc. in the United States and other Countries.