Rational.NaN Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Constant for the <em>Not-a-Number (NaN)</em> value of the Rational
type.
[Android.Runtime.Register("NaN")]
public static Android.Util.Rational? NaN { get; }
[<Android.Runtime.Register("NaN")>]
static member NaN : Android.Util.Rational
Property Value
- Attributes
Remarks
Constant for the <em>Not-a-Number (NaN)</em> value of the Rational
type.
A NaN
value is considered to be equal to itself (that is NaN.equals(NaN)
will return true
; it is always greater than any non-NaN
value (that is NaN.compareTo(notNaN)
will return a number greater than 0
).
Equivalent to constructing a new rational with both the numerator and denominator equal to 0
.
Java documentation for android.util.Rational.NaN
.
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.