Half.Max(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 the larger of two half-precision float values (the value closest to positive infinity).
[Android.Runtime.Register("max", "(SS)S", "", ApiSince=26)]
public static short Max (short x, short y);
[<Android.Runtime.Register("max", "(SS)S", "", ApiSince=26)>]
static member Max : int16 * int16 -> int16
Parameters
- x
- Int16
The first half-precision value
- y
- Int16
The second half-precision value
Returns
The larger of the two specified half-precision values
- Attributes
Remarks
Returns the larger of two half-precision float values (the value closest to positive infinity). Special values are handled in the following ways: <ul> <li>If either value is NaN, the result is NaN</li> <li>#POSITIVE_ZERO
is greater than #NEGATIVE_ZERO
</li> </ul>
Java documentation for android.util.Half.max(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.