Click or drag to resize

HalfTypeIsInfinity Method

Returns a value indicating whether the specified number evaluates to negative or positive infinity.

Namespace: NeoAxis
Assembly: NeoAxis.Core (in NeoAxis.Core.dll) Version: 2026.1.1.0 (2026.1.1.0)
Syntax
C#
public static bool IsInfinity(
	HalfType half
)

Parameters

half  HalfType
A half-precision floating-point number.

Return Value

Boolean
true if half evaluates to System.Half.PositiveInfinity or System.Half.NegativeInfinity; otherwise, false.
See Also