Method YIsInfinityOrNaN
- Namespace
- Zyl.VectorTraits
- Assembly
- VectorTraits.dll
YIsInfinityOrNaN(Vector512<float>)
Determines if a element is infinite or NaN (确定元素是否为无穷大或非数).
Mnemonic: rt[i] := to_mask(isInfinityOrNaN(value[i]))
.
public static Vector512<int> YIsInfinityOrNaN(Vector512<float> value)
Parameters
Returns
- Vector512<int>
A vector whose elements are all-bits-set or zero, depending on if the corresponding elements in
value
were is infinite or NaN (一个向量,其元素是全位为1或0,取决于value
的对应元素中是否为无穷大或非数).
- See Also
YIsInfinityOrNaN(Vector512<double>)
Determines if a element is infinite or NaN (确定元素是否为无穷大或非数).
Mnemonic: rt[i] := to_mask(isInfinityOrNaN(value[i]))
.
public static Vector512<long> YIsInfinityOrNaN(Vector512<double> value)
Parameters
Returns
- Vector512<long>
A vector whose elements are all-bits-set or zero, depending on if the corresponding elements in
value
were is infinite or NaN (一个向量,其元素是全位为1或0,取决于value
的对应元素中是否为无穷大或非数).
- See Also