Table of Contents

Method YIsInfinity

Namespace
Zyl.VectorTraits
Assembly
VectorTraits.dll

YIsInfinity(Vector128<float>)

Determines if a element is infinite (确定元素是否为无穷大). Mnemonic: rt[i] := to_mask(isInfinity(value[i])).

public static Vector128<int> YIsInfinity(Vector128<float> value)

Parameters

value Vector128<float>

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

Returns

Vector128<int>

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

See Also

YIsInfinity(Vector128<double>)

Determines if a element is infinite (确定元素是否为无穷大). Mnemonic: rt[i] := to_mask(isInfinity(value[i])).

public static Vector128<long> YIsInfinity(Vector128<double> value)

Parameters

value Vector128<double>

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

Returns

Vector128<long>

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

See Also