Vector128.Round 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
Round(Vector128<Double>) | |
Round(Vector128<Single>) | |
Round(Vector128<Double>, MidpointRounding) | |
Round(Vector128<Single>, MidpointRounding) |
Round(Vector128<Double>)
public:
static System::Runtime::Intrinsics::Vector128<double> Round(System::Runtime::Intrinsics::Vector128<double> vector);
public static System.Runtime.Intrinsics.Vector128<double> Round (System.Runtime.Intrinsics.Vector128<double> vector);
static member Round : System.Runtime.Intrinsics.Vector128<double> -> System.Runtime.Intrinsics.Vector128<double>
Public Function Round (vector As Vector128(Of Double)) As Vector128(Of Double)
参数
返回
适用于
Round(Vector128<Single>)
public:
static System::Runtime::Intrinsics::Vector128<float> Round(System::Runtime::Intrinsics::Vector128<float> vector);
public static System.Runtime.Intrinsics.Vector128<float> Round (System.Runtime.Intrinsics.Vector128<float> vector);
static member Round : System.Runtime.Intrinsics.Vector128<single> -> System.Runtime.Intrinsics.Vector128<single>
Public Function Round (vector As Vector128(Of Single)) As Vector128(Of Single)
参数
返回
适用于
Round(Vector128<Double>, MidpointRounding)
public:
static System::Runtime::Intrinsics::Vector128<double> Round(System::Runtime::Intrinsics::Vector128<double> vector, MidpointRounding mode);
public static System.Runtime.Intrinsics.Vector128<double> Round (System.Runtime.Intrinsics.Vector128<double> vector, MidpointRounding mode);
static member Round : System.Runtime.Intrinsics.Vector128<double> * MidpointRounding -> System.Runtime.Intrinsics.Vector128<double>
Public Function Round (vector As Vector128(Of Double), mode As MidpointRounding) As Vector128(Of Double)
参数
- mode
- MidpointRounding
返回
适用于
Round(Vector128<Single>, MidpointRounding)
public:
static System::Runtime::Intrinsics::Vector128<float> Round(System::Runtime::Intrinsics::Vector128<float> vector, MidpointRounding mode);
public static System.Runtime.Intrinsics.Vector128<float> Round (System.Runtime.Intrinsics.Vector128<float> vector, MidpointRounding mode);
static member Round : System.Runtime.Intrinsics.Vector128<single> * MidpointRounding -> System.Runtime.Intrinsics.Vector128<single>
Public Function Round (vector As Vector128(Of Single), mode As MidpointRounding) As Vector128(Of Single)
参数
- mode
- MidpointRounding