Returns the larger of two half-precision floating-point numbers.
Namespace:
NeoAxis
Assembly:
NeoAxis.Core (in NeoAxis.Core.dll) Version: 2024.1.1.0 (2024.1.1.0)
Syntax public static HalfType Max(
HalfType value1,
HalfType value2
)
Parameters
- value1
- Type: NeoAxisHalfType
The first of two half-precision floating-point numbers to compare. - value2
- Type: NeoAxisHalfType
The second of two half-precision floating-point numbers to compare.
Return Value
Type:
HalfType
Parameter value1 or value2, whichever is larger. If value1, or value2, or both val1
and value2 are equal to System.Half.NaN, System.Half.NaN is returned.
See Also