Click or drag to resize

HalfTypeMax Method

Returns the larger of two half-precision floating-point numbers.

Namespace: NeoAxis
Assembly: NeoAxis.Core (in NeoAxis.Core.dll) Version: 2026.1.1.0 (2026.1.1.0)
Syntax
C#
public static HalfType Max(
	HalfType value1,
	HalfType value2
)

Parameters

value1  HalfType
The first of two half-precision floating-point numbers to compare.
value2  HalfType
The second of two half-precision floating-point numbers to compare.

Return Value

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