共用方式為


AdvSimd.RoundToNearestScalar 方法

定義

多載

RoundToNearestScalar(Vector64<Double>)

float64x1_t vrndn_f64 (float64x1_t a)

A32: VRINTN.F64 Dd, Dm

A64: FRINTN Dd, Dn

RoundToNearestScalar(Vector64<Single>)

float32_t vrndns_f32 (float32_t a)

A32: VRINTN.F32 Sd, Sm

A64: FRINTN Sd, Sn 上述原生簽章不存在。 為與其他純量 API 一致起見,我們提供這項額外的多載。

RoundToNearestScalar(Vector64<Double>)

來源:
AdvSimd.PlatformNotSupported.cs
來源:
AdvSimd.PlatformNotSupported.cs
來源:
AdvSimd.PlatformNotSupported.cs

float64x1_t vrndn_f64 (float64x1_t a)

A32: VRINTN.F64 Dd, Dm

A64: FRINTN Dd, Dn

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

參數

value
Vector64<Double>

傳回

適用於

RoundToNearestScalar(Vector64<Single>)

來源:
AdvSimd.PlatformNotSupported.cs
來源:
AdvSimd.PlatformNotSupported.cs
來源:
AdvSimd.PlatformNotSupported.cs

float32_t vrndns_f32 (float32_t a)

A32: VRINTN.F32 Sd, Sm

A64: FRINTN Sd, Sn 上述原生簽章不存在。 為與其他純量 API 一致起見,我們提供這項額外的多載。

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

參數

value
Vector64<Single>

傳回

適用於