Redigera

Dela via


Vector64.NarrowWithSaturation Method

Definition

Overloads

NarrowWithSaturation(Vector64<Double>, Vector64<Double>)

Narrows two vector of Double instances into one vector of Single using a saturating conversion.

NarrowWithSaturation(Vector64<Int16>, Vector64<Int16>)

Narrows two vector of Int16 instances into one vector of SByte using a saturating conversion.

NarrowWithSaturation(Vector64<Int32>, Vector64<Int32>)

Narrows two vector of Int32 instances into one vector of Int16 using a saturating conversion.

NarrowWithSaturation(Vector64<Int64>, Vector64<Int64>)

Narrows two vector of Int64 instances into one vector of Int32 using a saturating conversion.

NarrowWithSaturation(Vector64<UInt16>, Vector64<UInt16>)

Narrows two vector of UInt16 instances into one vector of Byte using a saturating conversion.

NarrowWithSaturation(Vector64<UInt32>, Vector64<UInt32>)

Narrows two vector of UInt32 instances into one vector of UInt16 using a saturating conversion.

NarrowWithSaturation(Vector64<UInt64>, Vector64<UInt64>)

Narrows two vector of UInt64 instances into one vector of UInt32 using a saturating conversion.

NarrowWithSaturation(Vector64<Double>, Vector64<Double>)

Narrows two vector of Double instances into one vector of Single using a saturating conversion.

public:
 static System::Runtime::Intrinsics::Vector64<float> NarrowWithSaturation(System::Runtime::Intrinsics::Vector64<double> lower, System::Runtime::Intrinsics::Vector64<double> upper);
public static System.Runtime.Intrinsics.Vector64<float> NarrowWithSaturation(System.Runtime.Intrinsics.Vector64<double> lower, System.Runtime.Intrinsics.Vector64<double> upper);
static member NarrowWithSaturation : System.Runtime.Intrinsics.Vector64<double> * System.Runtime.Intrinsics.Vector64<double> -> System.Runtime.Intrinsics.Vector64<single>
Public Function NarrowWithSaturation (lower As Vector64(Of Double), upper As Vector64(Of Double)) As Vector64(Of Single)

Parameters

lower
Vector64<Double>

The vector that will be narrowed to the lower half of the result vector.

upper
Vector64<Double>

The vector that will be narrowed to the upper half of the result vector.

Returns

A vector of Single containing elements narrowed with saturation from lower and upper.

Applies to

NarrowWithSaturation(Vector64<Int16>, Vector64<Int16>)

Important

This API is not CLS-compliant.

Narrows two vector of Int16 instances into one vector of SByte using a saturating conversion.

public:
 static System::Runtime::Intrinsics::Vector64<System::SByte> NarrowWithSaturation(System::Runtime::Intrinsics::Vector64<short> lower, System::Runtime::Intrinsics::Vector64<short> upper);
[System.CLSCompliant(false)]
public static System.Runtime.Intrinsics.Vector64<sbyte> NarrowWithSaturation(System.Runtime.Intrinsics.Vector64<short> lower, System.Runtime.Intrinsics.Vector64<short> upper);
[<System.CLSCompliant(false)>]
static member NarrowWithSaturation : System.Runtime.Intrinsics.Vector64<int16> * System.Runtime.Intrinsics.Vector64<int16> -> System.Runtime.Intrinsics.Vector64<sbyte>
Public Function NarrowWithSaturation (lower As Vector64(Of Short), upper As Vector64(Of Short)) As Vector64(Of SByte)

Parameters

lower
Vector64<Int16>

The vector that will be narrowed to the lower half of the result vector.

upper
Vector64<Int16>

The vector that will be narrowed to the upper half of the result vector.

Returns

A vector of SByte containing elements narrowed with saturation from lower and upper.

Attributes

Applies to

NarrowWithSaturation(Vector64<Int32>, Vector64<Int32>)

Narrows two vector of Int32 instances into one vector of Int16 using a saturating conversion.

public:
 static System::Runtime::Intrinsics::Vector64<short> NarrowWithSaturation(System::Runtime::Intrinsics::Vector64<int> lower, System::Runtime::Intrinsics::Vector64<int> upper);
public static System.Runtime.Intrinsics.Vector64<short> NarrowWithSaturation(System.Runtime.Intrinsics.Vector64<int> lower, System.Runtime.Intrinsics.Vector64<int> upper);
static member NarrowWithSaturation : System.Runtime.Intrinsics.Vector64<int> * System.Runtime.Intrinsics.Vector64<int> -> System.Runtime.Intrinsics.Vector64<int16>
Public Function NarrowWithSaturation (lower As Vector64(Of Integer), upper As Vector64(Of Integer)) As Vector64(Of Short)

Parameters

lower
Vector64<Int32>

The vector that will be narrowed to the lower half of the result vector.

upper
Vector64<Int32>

The vector that will be narrowed to the upper half of the result vector.

Returns

A vector of Int16 containing elements narrowed with saturation from lower and upper.

Applies to

NarrowWithSaturation(Vector64<Int64>, Vector64<Int64>)

Narrows two vector of Int64 instances into one vector of Int32 using a saturating conversion.

public:
 static System::Runtime::Intrinsics::Vector64<int> NarrowWithSaturation(System::Runtime::Intrinsics::Vector64<long> lower, System::Runtime::Intrinsics::Vector64<long> upper);
public static System.Runtime.Intrinsics.Vector64<int> NarrowWithSaturation(System.Runtime.Intrinsics.Vector64<long> lower, System.Runtime.Intrinsics.Vector64<long> upper);
static member NarrowWithSaturation : System.Runtime.Intrinsics.Vector64<int64> * System.Runtime.Intrinsics.Vector64<int64> -> System.Runtime.Intrinsics.Vector64<int>
Public Function NarrowWithSaturation (lower As Vector64(Of Long), upper As Vector64(Of Long)) As Vector64(Of Integer)

Parameters

lower
Vector64<Int64>

The vector that will be narrowed to the lower half of the result vector.

upper
Vector64<Int64>

The vector that will be narrowed to the upper half of the result vector.

Returns

A vector of Int32 containing elements narrowed with saturation from lower and upper.

Applies to

NarrowWithSaturation(Vector64<UInt16>, Vector64<UInt16>)

Important

This API is not CLS-compliant.

Narrows two vector of UInt16 instances into one vector of Byte using a saturating conversion.

public:
 static System::Runtime::Intrinsics::Vector64<System::Byte> NarrowWithSaturation(System::Runtime::Intrinsics::Vector64<System::UInt16> lower, System::Runtime::Intrinsics::Vector64<System::UInt16> upper);
[System.CLSCompliant(false)]
public static System.Runtime.Intrinsics.Vector64<byte> NarrowWithSaturation(System.Runtime.Intrinsics.Vector64<ushort> lower, System.Runtime.Intrinsics.Vector64<ushort> upper);
[<System.CLSCompliant(false)>]
static member NarrowWithSaturation : System.Runtime.Intrinsics.Vector64<uint16> * System.Runtime.Intrinsics.Vector64<uint16> -> System.Runtime.Intrinsics.Vector64<byte>
Public Function NarrowWithSaturation (lower As Vector64(Of UShort), upper As Vector64(Of UShort)) As Vector64(Of Byte)

Parameters

lower
Vector64<UInt16>

The vector that will be narrowed to the lower half of the result vector.

upper
Vector64<UInt16>

The vector that will be narrowed to the upper half of the result vector.

Returns

A vector of Byte containing elements narrowed with saturation from lower and upper.

Attributes

Applies to

NarrowWithSaturation(Vector64<UInt32>, Vector64<UInt32>)

Important

This API is not CLS-compliant.

Narrows two vector of UInt32 instances into one vector of UInt16 using a saturating conversion.

public:
 static System::Runtime::Intrinsics::Vector64<System::UInt16> NarrowWithSaturation(System::Runtime::Intrinsics::Vector64<System::UInt32> lower, System::Runtime::Intrinsics::Vector64<System::UInt32> upper);
[System.CLSCompliant(false)]
public static System.Runtime.Intrinsics.Vector64<ushort> NarrowWithSaturation(System.Runtime.Intrinsics.Vector64<uint> lower, System.Runtime.Intrinsics.Vector64<uint> upper);
[<System.CLSCompliant(false)>]
static member NarrowWithSaturation : System.Runtime.Intrinsics.Vector64<uint32> * System.Runtime.Intrinsics.Vector64<uint32> -> System.Runtime.Intrinsics.Vector64<uint16>
Public Function NarrowWithSaturation (lower As Vector64(Of UInteger), upper As Vector64(Of UInteger)) As Vector64(Of UShort)

Parameters

lower
Vector64<UInt32>

The vector that will be narrowed to the lower half of the result vector.

upper
Vector64<UInt32>

The vector that will be narrowed to the upper half of the result vector.

Returns

A vector of UInt16 containing elements narrowed with saturation from lower and upper.

Attributes

Applies to

NarrowWithSaturation(Vector64<UInt64>, Vector64<UInt64>)

Important

This API is not CLS-compliant.

Narrows two vector of UInt64 instances into one vector of UInt32 using a saturating conversion.

public:
 static System::Runtime::Intrinsics::Vector64<System::UInt32> NarrowWithSaturation(System::Runtime::Intrinsics::Vector64<System::UInt64> lower, System::Runtime::Intrinsics::Vector64<System::UInt64> upper);
[System.CLSCompliant(false)]
public static System.Runtime.Intrinsics.Vector64<uint> NarrowWithSaturation(System.Runtime.Intrinsics.Vector64<ulong> lower, System.Runtime.Intrinsics.Vector64<ulong> upper);
[<System.CLSCompliant(false)>]
static member NarrowWithSaturation : System.Runtime.Intrinsics.Vector64<uint64> * System.Runtime.Intrinsics.Vector64<uint64> -> System.Runtime.Intrinsics.Vector64<uint32>
Public Function NarrowWithSaturation (lower As Vector64(Of ULong), upper As Vector64(Of ULong)) As Vector64(Of UInteger)

Parameters

lower
Vector64<UInt64>

The vector that will be narrowed to the lower half of the result vector.

upper
Vector64<UInt64>

The vector that will be narrowed to the upper half of the result vector.

Returns

A vector of UInt32 containing elements narrowed with saturation from lower and upper.

Attributes

Applies to