Table of Contents

Method YIsInteger

Namespace
Zyl.VectorTraits
Assembly
VectorTraits.dll

YIsInteger(Vector256<float>)

Determines if a element represents an integral number (确定元素是否为整数). Mnemonic: rt[i] := to_mask(isInteger(value[i])).

public static Vector256<int> YIsInteger(Vector256<float> value)

Parameters

value Vector256<float>

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

Returns

Vector256<int>

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

See Also

YIsInteger(Vector256<double>)

Determines if a element represents an integral number (确定元素是否为整数). Mnemonic: rt[i] := to_mask(isInteger(value[i])).

public static Vector256<long> YIsInteger(Vector256<double> value)

Parameters

value Vector256<double>

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

Returns

Vector256<long>

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

See Also