Half.LessEquals(Int16, Int16) Method

Definition

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

[Android.Runtime.Register("lessEquals", "(SS)Z", "", ApiSince=26)]
public static bool LessEquals (short x, short y);
[<Android.Runtime.Register("lessEquals", "(SS)Z", "", ApiSince=26)>]
static member LessEquals : 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 or equal to y, false otherwise

Attributes

Remarks

Returns true if the first half-precision float value is less (smaller toward negative infinity) than or equal to the second half-precision float value. If either of the values is NaN, the result is false.

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