Avx.RoundToNearestInteger 方法

定义

重载

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)

参数

value
Vector256<Double>

返回

适用于

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)

参数

value
Vector256<Single>

返回

适用于