Table of Contents

Method YIsNaN

Namespace
Zyl.VectorTraits
Assembly
VectorTraits.dll

YIsNaN(Vector512<float>)

Determines if a element is NaN (确定元素是否为非数). Mnemonic: rt[i] := to_mask(isNaN(value[i])).

public static Vector512<int> YIsNaN(Vector512<float> value)

Parameters

value Vector512<float>

The vectors that will be checked (将进行检查的向量).

Returns

Vector512<int>

A vector whose elements are all-bits-set or zero, depending on if the corresponding elements in value were is NaN (一个向量,其元素是全位为1或0,取决于value的对应元素中是否为非数).

See Also

YIsNaN(Vector512<double>)

Determines if a element is NaN (确定元素是否为非数). Mnemonic: rt[i] := to_mask(isNaN(value[i])).

public static Vector512<long> YIsNaN(Vector512<double> value)

Parameters

value Vector512<double>

The vectors that will be checked (将进行检查的向量).

Returns

Vector512<long>

A vector whose elements are all-bits-set or zero, depending on if the corresponding elements in value were is NaN (一个向量,其元素是全位为1或0,取决于value的对应元素中是否为非数).

See Also