Imaginary<T>.NaN Field

Represents complex NaN, or Not a Number.

Definition

Namespace: Numerics.NET
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.2
C#
public static readonly Imaginary<T> NaN

Field Value

Imaginary<T>

Remarks

This constant is returned when the result of an operation is undefined.

NaN is returned when the result of a floating-point operation involving complex numbers is undefined. Use IsNaN(Imaginary<T>) to determine whether a value is not a number. It is not possible to determine whether a value is not a number by comparing it to another value equal to NaN.

See Also