_mm_log2_ps

Calculates base-2 logarithm. Vector variant of log2(x) function for a 128-bit vector argument of four float32 values.

Syntax

extern __m128 __cdecl _mm_log2_ps(__m128 v1);

Arguments

v1

128-bit vector with float32 values

Description

Calculates the base-2 logarithm of vector v1 elements.

Returns

128-bit vector with the result of the operation.