Home
last modified time | relevance | path

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

/Zephyr-latest/lib/libc/minimal/source/math/
Dsqrt.c29 int64double_t p_square; in sqrt() local
31 p_square.d = square; in sqrt()
44 exponent = ((p_square.i & EXP_MASK64) >> 52) - 1023; in sqrt()
50 root.i = (p_square.i & ~EXP_MASK64) | (exponent + 1023) << 52; in sqrt()
Dsqrtf.c29 intfloat_t p_square; in sqrtf() local
31 p_square.f = square; in sqrtf()
44 exponent = ((p_square.i & EXP_MASK32) >> 23) - 127; in sqrtf()
50 root.i = (p_square.i & ~EXP_MASK32) | (exponent + 127) << 23; in sqrtf()
/Zephyr-latest/tests/lib/c_lib/common/src/
Dtest_sqrt.c95 int32_t *p_square = (int32_t *)&square; in ZTEST() local
130 ierror = (*p_square - *p_root_squared); in ZTEST()
154 int64_t *p_square = (int64_t *)&square; in ZTEST() local
189 ierror = (*p_square - *p_root_squared); in ZTEST()