XMVectorLog

This function is a compatibility alias for XMVectorLog2 for existing code. This function is deprecated and instead you should use XMVectorLog2 or XMVectorLogE.

Computes the base two logarithm of each component of a vector.

Syntax

XMVECTOR XMVectorLog(
         XMVECTOR V
)  

Parameters

V
Type: XMVECTOR 

Vector for which to compute the base two logarithm.

Return value

Type: XMVECTOR 

Returns a vector whose components are base two logarithm of the corresponding components of V.

Requirements

Header: Declared in directxmath.h.