simd_normalize
Returns a vector pointing in the same direction of the supplied vector, with a length of 1.
Declaration
static simd_double2 simd_normalize(simd_double2 __x);Parameters
- __x:
The vector to normalize.
Return Value
The normalized vector.
Discussion
This function returns an undefined value if the supplied vector has zero length or is poorly scaled such that an intermediate computation overflows or underflows.