Table of Contents

Method IsInfinityOrNaN

Namespace
Zyl.VectorTraits.Numerics
Assembly
VectorTraits.dll

IsInfinityOrNaN(float)

Determines if a element is infinite or NaN (确定元素是否为无穷大或非数).

public static bool IsInfinityOrNaN(float value)

Parameters

value float

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

Returns

bool

Return true if value is infinite or NaN, otherwise is false (如果值是无穷大或非数,则返回 true,否则返回 false).

See Also
IsFinite(TSelf)

IsInfinityOrNaN(double)

Determines if a element is infinite or NaN (确定元素是否为无穷大或非数).

public static bool IsInfinityOrNaN(double value)

Parameters

value double

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

Returns

bool

Return true if value is infinite or NaN, otherwise is false (如果值是无穷大或非数,则返回 true,否则返回 false).

See Also
IsFinite(TSelf)

IsInfinityOrNaN(Half)

Determines if a element is infinite or NaN (确定元素是否为无穷大或非数).

public static bool IsInfinityOrNaN(Half value)

Parameters

value Half

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

Returns

bool

Return true if value is infinite or NaN, otherwise is false (如果值是无穷大或非数,则返回 true,否则返回 false).

See Also
IsFinite(TSelf)