XMVector4NormalizeEst

Estimates the normalized version of a 4D vector.

Syntax

XMVECTOR XMVector4NormalizeEst(
         XMVECTOR V
)  

Parameters

V
Type: XMVECTOR 

4D vector.

Return value

Type: XMVECTOR 

Returns an estimate of the normalized version of V.

Remarks

For a vector with 0 length or infinite length, this function returns a vector of QNaN.

Est functions offer increased performance at the expense of reduced accuracy. Est functions are appropriate for non-critical calculations where accuracy can be sacrificed for speed. The exact amount of lost accuracy and speed increase are platform dependent.

Requirements

Header: Declared in directxmath.h.