Home
last modified time | relevance | path

Searched refs:mag (Results 1 – 1 of 1) sorted by relevance

/hardware/invensense/mlsdk/mllite/
DmlMathFunc.c201 float mag; in inv_q_norm4() local
202 mag = sqrtf(q[0] * q[0] + q[1] * q[1] + q[2] * q[2] + q[3] * q[3]); in inv_q_norm4()
203 if (mag) { in inv_q_norm4()
204 q[0] /= mag; in inv_q_norm4()
205 q[1] /= mag; in inv_q_norm4()
206 q[2] /= mag; in inv_q_norm4()
207 q[3] /= mag; in inv_q_norm4()