Rational.IsInfinite Property

Definition

Indicates whether this rational represents an infinite value.

public bool IsInfinite { [Android.Runtime.Register("isInfinite", "()Z", "")] get; }
[<get: Android.Runtime.Register("isInfinite", "()Z", "")>]
member this.IsInfinite : bool

Property Value

true if this rational is a (positive or negative) infinite value; false if this is a finite number value (or NaN)

Attributes

Remarks

Indicates whether this rational represents an infinite value.

An infinite value occurs when the denominator is 0 (but the numerator is not).

Java documentation for android.util.Rational.isInfinite().

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.

Applies to