Vector64.Round Method
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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. |
public:
static System::Runtime::Intrinsics::Vector64<double> Round(System::Runtime::Intrinsics::Vector64<double> vector);
public static System.Runtime.Intrinsics.Vector64<double> Round(System.Runtime.Intrinsics.Vector64<double> vector);
static member Round : System.Runtime.Intrinsics.Vector64<double> -> System.Runtime.Intrinsics.Vector64<double>
Public Function Round (vector As Vector64(Of Double)) As Vector64(Of Double)
Parameters
Returns
Applies to
.NET 10 a .NET 9
Produkt | Versiounen |
---|---|
.NET | 9, 10 |
public:
static System::Runtime::Intrinsics::Vector64<float> Round(System::Runtime::Intrinsics::Vector64<float> vector);
public static System.Runtime.Intrinsics.Vector64<float> Round(System.Runtime.Intrinsics.Vector64<float> vector);
static member Round : System.Runtime.Intrinsics.Vector64<single> -> System.Runtime.Intrinsics.Vector64<single>
Public Function Round (vector As Vector64(Of Single)) As Vector64(Of Single)
Parameters
Returns
Applies to
.NET 10 a .NET 9
Produkt | Versiounen |
---|---|
.NET | 9, 10 |
Rounds each element in a vector to the nearest integer using the specified rounding mode.
public:
static System::Runtime::Intrinsics::Vector64<double> Round(System::Runtime::Intrinsics::Vector64<double> vector, MidpointRounding mode);
public static System.Runtime.Intrinsics.Vector64<double> Round(System.Runtime.Intrinsics.Vector64<double> vector, MidpointRounding mode);
static member Round : System.Runtime.Intrinsics.Vector64<double> * MidpointRounding -> System.Runtime.Intrinsics.Vector64<double>
Public Function Round (vector As Vector64(Of Double), mode As MidpointRounding) As Vector64(Of Double)
Parameters
- 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 |
Rounds each element in a vector to the nearest integer using the specified rounding mode.
public:
static System::Runtime::Intrinsics::Vector64<float> Round(System::Runtime::Intrinsics::Vector64<float> vector, MidpointRounding mode);
public static System.Runtime.Intrinsics.Vector64<float> Round(System.Runtime.Intrinsics.Vector64<float> vector, MidpointRounding mode);
static member Round : System.Runtime.Intrinsics.Vector64<single> * MidpointRounding -> System.Runtime.Intrinsics.Vector64<single>
Public Function Round (vector As Vector64(Of Single), mode As MidpointRounding) As Vector64(Of Single)
Parameters
- 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 |
Feedback zu .NET
.NET ass en Open-Source-Projet. Wielt e Link, fir Feedback ze ginn: