Half.Greater(Int16, Int16) Method

Definition

Returns true if the first half-precision float value is greater (larger toward positive infinity) than the second half-precision float value.

[Android.Runtime.Register("greater", "(SS)Z", "", ApiSince=26)]
public static bool Greater (short x, short y);
[<Android.Runtime.Register("greater", "(SS)Z", "", ApiSince=26)>]
static member Greater : int16 * int16 -> bool

Parameters

x
Int16

The first half-precision value

y
Int16

The second half-precision value

Returns

True if x is greater than y, false otherwise

Attributes

Remarks

Returns true if the first half-precision float value is greater (larger toward positive infinity) than the second half-precision float value. If either of the values is NaN, the result is false.

Java documentation for android.util.Half.greater(short, 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