Op Englesch liesen Editéieren

Deelen iwwer


Vector64.ToVector128<T>(Vector64<T>) Method

Definition

Converts the given vector to a new Vector128<T> with the lower 64-bits set to the value of the given vector and the upper 64-bits initialized to zero.

C#
public static System.Runtime.Intrinsics.Vector128<T> ToVector128<T>(this System.Runtime.Intrinsics.Vector64<T> vector);
C#
public static System.Runtime.Intrinsics.Vector128<T> ToVector128<T>(this System.Runtime.Intrinsics.Vector64<T> vector) where T : struct;

Type Parameters

T

The type of the input vector.

Parameters

vector
Vector64<T>

The vector to extend.

Returns

A new Vector128<T> with the lower 64-bits set to the value of vector and the upper 64-bits initialized to zero.

Exceptions

The type of vector (T) is not supported.

Applies to

Produkt Versiounen
.NET Core 3.0, Core 3.1, 5, 6, 7, 8, 9, 10