Avx.RoundToNearestInteger Method

Definition

Overloads

RoundToNearestInteger(Vector256<Double>)

__m256d _mm256_round_pd (__m256d a, _MM_FROUND_TO_NEAREST_INT | _MM_FROUND_NO_EXC)

VROUNDPD ymm, ymm/m256, imm8(8)

RoundToNearestInteger(Vector256<Single>)

__m256 _mm256_round_ps (__m256 a, _MM_FROUND_TO_NEAREST_INT | _MM_FROUND_NO_EXC)

VROUNDPS ymm, ymm/m256, imm8(8)

RoundToNearestInteger(Vector256<Double>)

Source:
Avx.cs
Source:
Avx.cs
Source:
Avx.cs

__m256d _mm256_round_pd (__m256d a, _MM_FROUND_TO_NEAREST_INT | _MM_FROUND_NO_EXC)

VROUNDPD ymm, ymm/m256, imm8(8)

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

Parameters

value
Vector256<Double>

Returns

Applies to

RoundToNearestInteger(Vector256<Single>)

Source:
Avx.cs
Source:
Avx.cs
Source:
Avx.cs

__m256 _mm256_round_ps (__m256 a, _MM_FROUND_TO_NEAREST_INT | _MM_FROUND_NO_EXC)

VROUNDPS ymm, ymm/m256, imm8(8)

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

Parameters

value
Vector256<Single>

Returns

Applies to