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: 2024.1.1.0 (2024.1.1.0)
Syntax
C#
public static bool IsInfinity(
	HalfType half
)

Parameters

half
Type: NeoAxisHalfType
A half-precision floating-point number.

Return Value

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