Share via


Half.Less(Int16, Int16) Method

Definition

Returns true if the first half-precision float value is less (smaller toward negative infinity) than the second half-precision float value.

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

Parameters

x
Int16

The first half-precision value

y
Int16

The second half-precision value

Returns

True if x is less than y, false otherwise

Attributes

Remarks

Returns true if the first half-precision float value is less (smaller toward negative 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.less(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