XMVectorExp10 function (directxmath.h)

Computes ten raised to the power for each component.

Syntax

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

Parameters

[in] V

Vector used for the exponents of base ten.

Return value

Returns a vector whose components are ten raised to the power of the corresponding component 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

XMVectorExp10 is implemented like this:


XMVECTOR Result;

Result.x = powf(10.0f, V.x);
Result.y = powf(10.0f, V.y);
Result.z = powf(10.0f, V.z);
Result.w = powf(10.0f, V.w);

return Result;

Requirements

Requirement Value
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

XMVectorExp2

XMVectorExpE

XMVectorLog10