double[] data = {-10.5, 20.75}; Vector128vector = Vector128.Create(data); Vector128 unsignedIntegers = vector.AsUInt64();
float[] data = {-10.5f, 20.75f, -30.25f, 40.5f}; Vector128In Example 1, the Vector128.AsUInt64 method is used to convert a Vector128 with two double precision floating-point values to a Vector128 with two unsigned 64-bit integers. In Example 2, the Vector128.AsUInt64 method is used to convert a Vector128 with four single precision floating-point values to a Vector128 with four unsigned 64-bit integers.vector = Vector128.Create(data); Vector128 unsignedIntegers = vector.AsUInt64();