

#include <nitro/fx/fx_vec.h>
SDK_WEAK_SYMBOL
void VEC_Fx16Normalize(const VecFx16 * pSrc, VecFx16 * pDst);
| pSrc | Pointer to a vector. |
| pDst | Pointer to the normalized vector. |
None.
Normalizes a VecFx16 type vector. The result is stored in *pDst.
The pointers *pSrc and *pDst can be pointers to the same vector.
The function uses the divider and square-root calculator. See Divider Usage Notes when using this function inside an interrupt.
The error in the obtained result becomes large when the vector specified by pSrc is extremely short. This function is provided as a weak symbol, so you can overwrite it by defining an independent function with the same name.
2009/09/08 Added a note stating that this function is a weak symbol.
2004/02/16 Initial version.
CONFIDENTIAL