VEC_Fx16Mag

C Specification

#include <nitro/fx/fx_vec.h>

fx32 VEC_Fx16Mag(const VecFx16 * v);

Arguments

The magnitude of the vector. The pointer to a vector.

Return Values

The magnitude of the vector.

Description

This function returns the magnitude of a VecFx16 type vector as an fx32 type.
The Square Root Calculator is used internally. Refer to Square Root Calculator Usage Notes when using this function inside an interrupt.

See Also

VEC_Fx16Normalize

Revision History

02/16/2004 Initial version


CONFIDENTIAL