Half.Equals(Int16, Int16) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Returns true if the two half-precision float values are equal.
[Android.Runtime.Register("equals", "(SS)Z", "", ApiSince=26)]
public static bool Equals (short x, short y);
[<Android.Runtime.Register("equals", "(SS)Z", "", ApiSince=26)>]
static member Equals : int16 * int16 -> bool
Parameters
- x
- Int16
The first half-precision value
- y
- Int16
The second half-precision value
Returns
True if x is equal to y, false otherwise
- Attributes
Remarks
Returns true if the two half-precision float values are equal. If either of the values is NaN, the result is false. #POSITIVE_ZERO
and #NEGATIVE_ZERO
are considered equal.
Java documentation for android.util.Half.equals(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.