Sse41.RoundToNearestInteger 方法

定义

重载

RoundToNearestInteger(Vector128<Double>)

__m128d _mm_round_pd (__m128d a, int rounding)

ROUNDPD xmm, xmm/m128, imm8(8) _MM_FROUND_TO_NEAREST_INT |_MM_FROUND_NO_EXC

RoundToNearestInteger(Vector128<Single>)

__m128 _mm_round_ps (__m128 a, int rounding)

ROUNDPS xmm, xmm/m128, imm8(8) _MM_FROUND_TO_NEAREST_INT |_MM_FROUND_NO_EXC

RoundToNearestInteger(Vector128<Double>)

Source:
Sse41.cs
Source:
Sse41.cs
Source:
Sse41.cs

__m128d _mm_round_pd (__m128d a, int rounding)

ROUNDPD xmm, xmm/m128, imm8(8) _MM_FROUND_TO_NEAREST_INT |_MM_FROUND_NO_EXC

public:
 static System::Runtime::Intrinsics::Vector128<double> RoundToNearestInteger(System::Runtime::Intrinsics::Vector128<double> value);
public static System.Runtime.Intrinsics.Vector128<double> RoundToNearestInteger (System.Runtime.Intrinsics.Vector128<double> value);
static member RoundToNearestInteger : System.Runtime.Intrinsics.Vector128<double> -> System.Runtime.Intrinsics.Vector128<double>
Public Shared Function RoundToNearestInteger (value As Vector128(Of Double)) As Vector128(Of Double)

参数

value
Vector128<Double>

返回

适用于

RoundToNearestInteger(Vector128<Single>)

Source:
Sse41.cs
Source:
Sse41.cs
Source:
Sse41.cs

__m128 _mm_round_ps (__m128 a, int rounding)

ROUNDPS xmm, xmm/m128, imm8(8) _MM_FROUND_TO_NEAREST_INT |_MM_FROUND_NO_EXC

public:
 static System::Runtime::Intrinsics::Vector128<float> RoundToNearestInteger(System::Runtime::Intrinsics::Vector128<float> value);
public static System.Runtime.Intrinsics.Vector128<float> RoundToNearestInteger (System.Runtime.Intrinsics.Vector128<float> value);
static member RoundToNearestInteger : System.Runtime.Intrinsics.Vector128<single> -> System.Runtime.Intrinsics.Vector128<single>
Public Shared Function RoundToNearestInteger (value As Vector128(Of Single)) As Vector128(Of Single)

参数

value
Vector128<Single>

返回

适用于