Home
last modified time | relevance | path

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

/device/google/contexthub/firmware/src/algos/
Dquat.c29 q->x = sqrtf(clamp(Hx - My - Az + 1.0f) * 0.25f); in initQuat()
30 q->y = sqrtf(clamp(-Hx + My - Az + 1.0f) * 0.25f); in initQuat()
31 q->z = sqrtf(clamp(-Hx - My + Az + 1.0f) * 0.25f); in initQuat()
32 q->w = sqrtf(clamp(Hx + My + Az + 1.0f) * 0.25f); in initQuat()
73 1.0f / sqrtf(q->x * q->x + q->y * q->y + q->z * q->z + q->w * q->w); in quatNormalize()
Dvec.c41 float invMag = 1.0f / sqrtf(magSquared); in findOrthogonalVector()
Dmag_cal.c57 float evmag = sqrtf(eigenvals.x + eigenvals.y + eigenvals.z); in moc_eigen_test()
99 float r = sqrtf(vec3Dot(&v, &v) - out.w); in moc_fit()
Dfusion.c517 float l = sqrtf(norm2); in fusionHandleAcc()
571 p = fusion->param.acc_stdev * expf(sqrtf(d)); in fusionHandleAcc()
Dmat.c378 float t = fabsf(y) + sqrtf(p * p + y * y); in mat33GetEigenbasis()
379 float s = sqrtf(p * p + t * t); in mat33GetEigenbasis()
/device/google/contexthub/firmware/inc/cpu/cortexm4f/
Dnanohub_math.h25 #define sqrtf arm_sqrtf macro
46 return atan2f(x, sqrtf(1.0f - x * x)); in arm_asinf()
/device/google/contexthub/firmware/inc/algos/
Dvec.h68 return sqrtf(vec3NormSquared(v)); in vec3Norm()
/device/google/contexthub/firmware/src/drivers/window_orientation/
Dwindow_orientation.c389 magnitude = sqrtf(x * x + y * y + z * z); in add_samples()
/device/google/contexthub/firmware/external/freebsd/lib/msun/src/
Dmath_private.h702 #define __ieee754_sqrtf sqrtf
/device/google/dragon/audio/hal/dsp/
Ddrc_kernel.c170 k = sqrtf(minK * maxK); in k_at_slope()
/device/htc/flounder/audio/visualizer/
Dnv_offload_visualizer.c825 float rms = nb_valid_meas == 0 ? 0.0f : sqrtf(sum_rms_squared / nb_valid_meas); in visualizer_command()
/device/google/contexthub/firmware/inc/platform/stm32f4xx/cmsis/
Darm_math.h6100 *pOut = sqrtf(in); in arm_sqrt_f32()