Op Englesch liesen Editéieren

Deelen iwwer


Vector64.Round Method

Definition

Overloads

Round(Vector64<Double>)
Round(Vector64<Single>)
Round(Vector64<Double>, MidpointRounding)

Rounds each element in a vector to the nearest integer using the specified rounding mode.

Round(Vector64<Single>, MidpointRounding)

Rounds each element in a vector to the nearest integer using the specified rounding mode.

Round(Vector64<Double>)

C#
public static System.Runtime.Intrinsics.Vector64<double> Round(System.Runtime.Intrinsics.Vector64<double> vector);

Parameters

vector
Vector64<Double>

Returns

Applies to

.NET 10 a .NET 9
Produkt Versiounen
.NET 9, 10

Round(Vector64<Single>)

C#
public static System.Runtime.Intrinsics.Vector64<float> Round(System.Runtime.Intrinsics.Vector64<float> vector);

Parameters

vector
Vector64<Single>

Returns

Applies to

.NET 10 a .NET 9
Produkt Versiounen
.NET 9, 10

Round(Vector64<Double>, MidpointRounding)

Rounds each element in a vector to the nearest integer using the specified rounding mode.

C#
public static System.Runtime.Intrinsics.Vector64<double> Round(System.Runtime.Intrinsics.Vector64<double> vector, MidpointRounding mode);

Parameters

vector
Vector64<Double>

The vector to round.

mode
MidpointRounding

The mode under which vector should be rounded.

Returns

The result of rounding each element in vector to the nearest integer using mode.

Applies to

.NET 10 a .NET 9
Produkt Versiounen
.NET 9, 10

Round(Vector64<Single>, MidpointRounding)

Rounds each element in a vector to the nearest integer using the specified rounding mode.

C#
public static System.Runtime.Intrinsics.Vector64<float> Round(System.Runtime.Intrinsics.Vector64<float> vector, MidpointRounding mode);

Parameters

vector
Vector64<Single>

The vector to round.

mode
MidpointRounding

The mode under which vector should be rounded.

Returns

The result of rounding each element in vector to the nearest integer using mode.

Applies to

.NET 10 a .NET 9
Produkt Versiounen
.NET 9, 10