Home
last modified time | relevance | path

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

/Zephyr-latest/lib/libc/minimal/source/math/
Dsqrt.c23 double sqrt(double square) in sqrt() argument
31 p_square.d = square; in sqrt()
33 if (square == 0.0) { in sqrt()
34 return square; in sqrt()
36 if (square < 0.0) { in sqrt()
37 return (square - square) / (square - square); in sqrt()
47 return square + square; in sqrt()
54 root.d = (root.d + square / root.d) * 0.5; in sqrt()
Dsqrtf.c23 float sqrtf(float square) in sqrtf() argument
31 p_square.f = square; in sqrtf()
33 if (square == 0.0f) { in sqrtf()
34 return square; in sqrtf()
36 if (square < 0.0f) { in sqrtf()
37 return (square - square) / (square - square); in sqrtf()
47 return square + square; in sqrtf()
54 root.f = (root.f + square / root.f) * 0.5f; in sqrtf()
/Zephyr-latest/tests/lib/c_lib/common/src/
Dtest_sqrt.c92 float exponent, resf, square, root_squared, error; in ZTEST() local
95 int32_t *p_square = (int32_t *)&square; in ZTEST()
115 square = test_floats[i] * exponent; in ZTEST()
116 resf = sqrtf(square); in ZTEST()
121 error = (square - root_squared) / in ZTEST()
122 square * 100; in ZTEST()
151 double resd, error, square, root_squared, exponent; in ZTEST() local
154 int64_t *p_square = (int64_t *)&square; in ZTEST()
174 square = test_doubles[i] * exponent; in ZTEST()
175 resd = sqrt(square); in ZTEST()
[all …]
/Zephyr-latest/lib/libc/minimal/include/
Dmath.h54 float sqrtf(float square);
55 double sqrt(double square);
/Zephyr-latest/tests/benchmarks/wait_queues/src/
Dmain.c129 static uint64_t sqrt_u64(uint64_t square) in sqrt_u64() argument
131 if (square > 1) { in sqrt_u64()
132 uint64_t lo = sqrt_u64(square >> 2) << 1; in sqrt_u64()
135 return ((hi * hi) > square) ? lo : hi; in sqrt_u64()
138 return square; in sqrt_u64()
/Zephyr-latest/tests/benchmarks/sched_queues/src/
Dmain.c142 static uint64_t sqrt_u64(uint64_t square) in sqrt_u64() argument
144 if (square > 1) { in sqrt_u64()
145 uint64_t lo = sqrt_u64(square >> 2) << 1; in sqrt_u64()
148 return ((hi * hi) > square) ? lo : hi; in sqrt_u64()
151 return square; in sqrt_u64()
/Zephyr-latest/scripts/
Drequirements-base.txt22 pylink-square
/Zephyr-latest/samples/net/lwm2m_client/
DKconfig42 IPv6 addresses must be enclosed in square brackets, for example "coap://[fd00::1]".
/Zephyr-latest/modules/cmsis-dsp/
DKconfig105 * LMS (least mean square) Filter
/Zephyr-latest/samples/subsys/zbus/priority_boost/
Dwithout_hlp_priority_boost_feature.svg54 …troke="#FF7A00" stroke-width="1.5" stroke-miterlimit="3" stroke-linecap="square" stroke-dasharray=…
Dwith_hlp_priority_boost_feature.svg38 …troke="#FF7A00" stroke-width="1.5" stroke-miterlimit="3" stroke-linecap="square" stroke-dasharray=…
/Zephyr-latest/doc/services/zbus/images/
Dzbus_publishing_process_example2.svg54 …troke="#FF7A00" stroke-width="1.5" stroke-miterlimit="3" stroke-linecap="square" stroke-dasharray=…
Dzbus_publishing_process_example.svg55 …troke="#FF7A00" stroke-width="1.5" stroke-miterlimit="3" stroke-linecap="square" stroke-dasharray=…
Dzbus_publishing_process_example_HLP.svg38 …troke="#FF7A00" stroke-width="1.5" stroke-miterlimit="3" stroke-linecap="square" stroke-dasharray=…
/Zephyr-latest/doc/build/dts/
Dintro-syntax-structure.rst354 - in hexadecimal *without* leading ``0x``, between square brackets (``[`` and ``]``).
/Zephyr-latest/doc/contribute/
Dguidelines.rst390 You need to change text in square brackets (``[like this]``) above to
/Zephyr-latest/doc/connectivity/bluetooth/api/mesh/
Dshell.rst145 ``<NetKeyIdx>``), and optional parameters are marked with square brackets (e.g. ``[DstAddr]``).