Home
last modified time | relevance | path

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

/device/google/contexthub/firmware/os/algos/common/math/
Dquat.c26 q->x = sqrtf(clamp(Hx - My - Az + 1.0f) * 0.25f); in initQuat()
27 q->y = sqrtf(clamp(-Hx + My - Az + 1.0f) * 0.25f); in initQuat()
28 q->z = sqrtf(clamp(-Hx - My + Az + 1.0f) * 0.25f); in initQuat()
29 q->w = sqrtf(clamp(Hx + My + Az + 1.0f) * 0.25f); in initQuat()
70 1.0f / sqrtf(q->x * q->x + q->y * q->y + q->z * q->z + q->w * q->w); in quatNormalize()
Dvec.c47 invMag = 1.0f / sqrtf(magSquared); in findOrthogonalVector()
103 return sqrtf(norm_sq); in vecNorm()
Dkasa.c109 float r = (r_square > 0) ? sqrtf(r_square) : 0; in kasaFit()
Dvec.h128 return sqrtf(vec3NormSquared(v)); in vec3Norm()
Dmat.c340 float t = fabsf(y) + sqrtf(p * p + y * y); in mat33GetEigenbasis()
341 float s = sqrtf(p * p + t * t); in mat33GetEigenbasis()
688 L[i * n + i] = sqrtf(sum); in matCholeskyDecomposition()
/device/google/contexthub/firmware/os/cpu/cortexm4/inc/cpu/
Dnanohub_math.h25 #define sqrtf arm_sqrtf macro
46 return atan2f(x, sqrtf(1.0f - x * x)); in arm_asinf()
/device/google/contexthub/firmware/os/algos/
Dfusion.c524 float l = sqrtf(norm2); in fusionHandleAcc()
578 p = fusion->param.acc_stdev * expf(sqrtf(d)); in fusionHandleAcc()
/device/google/contexthub/firmware/os/algos/calibration/magnetometer/mag_cal/
Dmag_cal.c75 float evmag = (eigenvals_sum > 0) ? sqrtf(eigenvals_sum) : 0; in moc_eigen_test()
/device/google/contexthub/firmware/os/drivers/window_orientation/
Dwindow_orientation.c449 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/contexthub/firmware/os/algos/calibration/accelerometer/
Daccel_cal.c403 float evmag = (eigenvals_sum > 0) ? sqrtf(eigenvals_sum) : 0; in accEigenTest()
/device/google/contexthub/firmware/os/cpu/cortexm4/inc/cpu/cmsis/
Darm_math.h6100 *pOut = sqrtf(in); in arm_sqrt_f32()