Freigeben über


Half.IsInfinite(Int16) Method

Definition

Returns true if the specified half-precision float value represents infinity, false otherwise.

[Android.Runtime.Register("isInfinite", "(S)Z", "", ApiSince=26)]
public static bool IsInfinite (short h);
[<Android.Runtime.Register("isInfinite", "(S)Z", "", ApiSince=26)>]
static member IsInfinite : int16 -> bool

Parameters

h
Int16

A half-precision float value

Returns

True if the value is positive infinity or negative infinity, false otherwise

Attributes

Remarks

Returns true if the specified half-precision float value represents infinity, false otherwise.

Java documentation for android.util.Half.isInfinite(short).

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