Searched refs:sumsq (Results 1 – 1 of 1) sorted by relevance
413 float32_t w, sumsq; in lsm6dsv16x_decode_fifo() local434 sumsq = powf(x.f, 2) + powf(y.f, 2) + powf(z.f, 2); in lsm6dsv16x_decode_fifo()441 if (sumsq > 1.0f) { in lsm6dsv16x_decode_fifo()442 float n = sqrtf(sumsq); in lsm6dsv16x_decode_fifo()447 sumsq = 1.0f; in lsm6dsv16x_decode_fifo()451 w = sqrtf(1.0f - sumsq); in lsm6dsv16x_decode_fifo()