AdvSimd.RoundToNearestScalar Method

Definition

Overloads

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 The above native signature does not exist. We provide this additional overload for consistency with the other scalar APIs.

RoundToNearestScalar(Vector64<Double>)

Source:
AdvSimd.PlatformNotSupported.cs
Source:
AdvSimd.PlatformNotSupported.cs
Source:
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)

Parameters

value
Vector64<Double>

Returns

Applies to

RoundToNearestScalar(Vector64<Single>)

Source:
AdvSimd.PlatformNotSupported.cs
Source:
AdvSimd.PlatformNotSupported.cs
Source:
AdvSimd.PlatformNotSupported.cs

float32_t vrndns_f32 (float32_t a)

A32: VRINTN.F32 Sd, Sm

A64: FRINTN Sd, Sn The above native signature does not exist. We provide this additional overload for consistency with the other scalar APIs.

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)

Parameters

value
Vector64<Single>

Returns

Applies to