Edit

Share via


Sse41.RoundToNearestInteger Method

Definition

Overloads

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)

Parameters

value
Vector128<Double>

Returns

Applies to

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)

Parameters

value
Vector128<Single>

Returns

Applies to