Table of Contents

Method IsNaN

Namespace
Zyl.VectorTraits.Numerics
Assembly
VectorTraits.dll

IsNaN(float)

Determines if a element is NaN (确定元素是否为非数).

public static bool IsNaN(float value)

Parameters

value float

The value to be checked (要检查的值).

Returns

bool

Return true if value is NaN, otherwise is false (如果值是非数,则返回 true,否则返回 false).

See Also
IsNaN(TSelf)

IsNaN(double)

Determines if a element is NaN (确定元素是否为非数).

public static bool IsNaN(double value)

Parameters

value double

The value to be checked (要检查的值).

Returns

bool

Return true if value is NaN, otherwise is false (如果值是非数,则返回 true,否则返回 false).

See Also
IsNaN(TSelf)

IsNaN(Half)

Determines if a element is NaN (确定元素是否为非数).

public static bool IsNaN(Half value)

Parameters

value Half

The value to be checked (要检查的值).

Returns

bool

Return true if value is NaN, otherwise is false (如果值是非数,则返回 true,否则返回 false).

See Also
IsNaN(TSelf)