XMVectorLog10 function (directxmath.h)

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

Syntax

XMVECTOR XM_CALLCONV XMVectorLog10(
  [in] FXMVECTOR V
) noexcept;

Parameters

[in] V

Vector for which to compute the base ten logarithm.

Return value

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

Remarks

Platform Requirements

Supported for Win32 desktop apps, Windows Store apps, and Windows Phone 8 apps.

This function was added in DirectXMath 3.16

XMVectorLog10 is implemented like this:


XMVECTOR Result;

Result.x = log10f(V.x);
Result.y = log10f(V.y);
Result.z = log10f(V.z);
Result.w = log10f(V.w);

return Result;

Requirements

   
Minimum supported client Windows 10 Build 20348
Minimum supported server Windows 10 Build 20348
Target Platform Windows
Header directxmath.h (include DirectXMath.h)

See also

Transcendental Vector Functions

XMVectorLogE

XMVectorLog2

XMVectorExp10