Vector.ConvertToSingle Method

Definition

Overloads

ConvertToSingle(Vector<Int32>)

Converts a Vector<Int32> to a Vector<Single>.

ConvertToSingle(Vector<UInt32>)

Converts a Vector<UInt32> to a Vector<Single>.

ConvertToSingle(Vector<Int32>)

Source:
Vector.cs
Source:
Vector.cs
Source:
Vector.cs

Converts a Vector<Int32> to a Vector<Single>.

public static System.Numerics.Vector<float> ConvertToSingle (System.Numerics.Vector<int> value);

Parameters

value
Vector<Int32>

The source vector.

Returns

The converted vector.

Applies to

.NET 9 and other versions
Product Versions
.NET Core 2.0, Core 2.1, Core 2.2, Core 3.0, Core 3.1, 5, 6, 7, 8, 9
.NET Framework 4.7 (package-provided), 4.7.1 (package-provided), 4.7.2 (package-provided), 4.8 (package-provided)
.NET Standard 2.0 (package-provided), 2.1

ConvertToSingle(Vector<UInt32>)

Source:
Vector.cs
Source:
Vector.cs
Source:
Vector.cs

Important

This API is not CLS-compliant.

Converts a Vector<UInt32> to a Vector<Single>.

[System.CLSCompliant(false)]
public static System.Numerics.Vector<float> ConvertToSingle (System.Numerics.Vector<uint> value);

Parameters

value
Vector<UInt32>

The source vector.

Returns

The converted vector.

Attributes

Applies to

.NET 9 and other versions
Product Versions
.NET Core 2.0, Core 2.1, Core 2.2, Core 3.0, Core 3.1, 5, 6, 7, 8, 9
.NET Framework 4.7 (package-provided), 4.7.1 (package-provided), 4.7.2 (package-provided), 4.8 (package-provided)
.NET Standard 2.0 (package-provided), 2.1