Vector128.Log2 Method

Definition

Overloads

Log2(Vector128<Double>)

Computes the log2 of each element in a vector.

Log2(Vector128<Single>)

Computes the log2 of each element in a vector.

Log2(Vector128<Double>)

Source:
Vector128.cs

Computes the log2 of each element in a vector.

public:
 static System::Runtime::Intrinsics::Vector128<double> Log2(System::Runtime::Intrinsics::Vector128<double> vector);
public static System.Runtime.Intrinsics.Vector128<double> Log2 (System.Runtime.Intrinsics.Vector128<double> vector);
static member Log2 : System.Runtime.Intrinsics.Vector128<double> -> System.Runtime.Intrinsics.Vector128<double>
Public Function Log2 (vector As Vector128(Of Double)) As Vector128(Of Double)

Parameters

vector
Vector128<Double>

The vector that will have its log2 computed.

Returns

A vector whose elements are the log2 of the elements in vector.

Applies to

Log2(Vector128<Single>)

Source:
Vector128.cs

Computes the log2 of each element in a vector.

public:
 static System::Runtime::Intrinsics::Vector128<float> Log2(System::Runtime::Intrinsics::Vector128<float> vector);
public static System.Runtime.Intrinsics.Vector128<float> Log2 (System.Runtime.Intrinsics.Vector128<float> vector);
static member Log2 : System.Runtime.Intrinsics.Vector128<single> -> System.Runtime.Intrinsics.Vector128<single>
Public Function Log2 (vector As Vector128(Of Single)) As Vector128(Of Single)

Parameters

vector
Vector128<Single>

The vector that will have its log2 computed.

Returns

A vector whose elements are the log2 of the elements in vector.

Applies to