Home
last modified time | relevance | path

Searched full:square (Results 1 – 25 of 54) sorted by relevance

123

/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()
126 /* square and root_squared should be almost identical 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()
[all …]
/Zephyr-latest/dts/bindings/rtc/
Dmaxim,ds3231.yaml23 The DS3231 defaults to providing a 32 KiHz square wave on this
31 interrupt/square wave open drain output
34 and also to produce a square wave aligned to the countdown chain.
/Zephyr-latest/samples/boards/nxp/adsp/number_crunching/
DREADME.rst27 filtering (Fast Fourier Transform (FFT)) or echo cancellation (Least Mean Square (LMS) filter
97 [Library Test] == Least Mean Square (LMS) Filter for Real Data test ==
99 [Library Test] Least Mean Square (LMS) Filter for Real Data test takes 184792 cycles
100 [Library Test] == Least Mean Square (LMS) Filter for Real Data test end ==
135 [Library Test] == Least Mean Square (LMS) Filter for Real Data test ==
138 [Library Test] Least Mean Square (LMS) Filter for Real Data test takes 7724 cycles
139 [Library Test] == Least Mean Square (LMS) Filter for Real Data test end ==
/Zephyr-latest/lib/libc/minimal/include/
Dmath.h54 float sqrtf(float square);
55 double sqrt(double square);
/Zephyr-latest/tests/lib/cmsis_dsp/fastmath/src/
Dq31.c95 "square root did fail with an input value " in ZTEST()
99 "square root operation did not succeed"); in ZTEST()
Dq15.c95 "square root did fail with an input value " in ZTEST()
99 "square root operation did not succeed"); in ZTEST()
Df32.c101 "square root did fail with an input value " in ZTEST()
105 "square root operation did not succeed"); in ZTEST()
Df16.c119 "square root did fail with an input value " in ZTEST()
123 "square root operation did not succeed"); in ZTEST()
/Zephyr-latest/samples/boards/nxp/adsp/number_crunching/src/
Dmath_ops.c134 printk("[Library Test] == Least Mean Square (LMS) Filter for Real Data test ==\r\n"); in test_fir_blms_op()
141 printk("[Library Test] Least Mean Square (LMS) Filter for Real Data test takes %d cycles\r\n", in test_fir_blms_op()
143 printk("[Library Test] == Least Mean Square (LMS) Filter for Real Data test end ==\r\n\r\n"); in test_fir_blms_op()
/Zephyr-latest/scripts/
Drequirements-base.txt22 pylink-square
/Zephyr-latest/dts/bindings/display/
Dsharp,ls0xx.yaml15 The EXTCOMIN pin is where a square pulse for toggling VCOM will
/Zephyr-latest/modules/cmsis-dsp/
DKconfig78 * Square Root
105 * LMS (least mean square) Filter
162 * Root Mean Square (RMS)
/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/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/samples/net/lwm2m_client/
DKconfig42 IPv6 addresses must be enclosed in square brackets, for example "coap://[fd00::1]".
/Zephyr-latest/dts/bindings/fpga/
Dlattice,ice40-fpga-bitbang.yaml44 in order to create a 1 MHz square wave in the following
/Zephyr-latest/include/zephyr/drivers/rtc/
Dmaxim_ds3231.h65 * When clear the ISW signal provides a square wave. When set the ISW
72 /** @brief ctrl bit offset for square wave output frequency.
81 /** @brief ctrl RS field value for 1 Hz square wave. */
84 /** @brief ctrl RS field value for 1024 Hz square wave. */
87 /** @brief ctrl RS field value for 4096 Hz square wave. */
90 /** @brief ctrl RS field value for 8192 Hz square wave. */
96 /** @brief ctrl bit to write to enable square wave output in battery mode. */
/Zephyr-latest/tests/unit/util/
Dmain.c297 #define SQUARE(arg) (arg * arg) in ZTEST() macro
303 FOR_EACH_NONEMPTY_TERM(SQUARE, (,)) in ZTEST()
304 FOR_EACH_NONEMPTY_TERM(SQUARE, (,),) in ZTEST()
305 FOR_EACH_NONEMPTY_TERM(SQUARE, (,), ,) in ZTEST()
306 FOR_EACH_NONEMPTY_TERM(SQUARE, (,), EMPTY, EMPTY) in ZTEST()
307 FOR_EACH_NONEMPTY_TERM(SQUARE, (,), SWALLOW_VA_ARGS_1(a, b)) in ZTEST()
308 FOR_EACH_NONEMPTY_TERM(SQUARE, (,), SWALLOW_VA_ARGS_2(c, d)) in ZTEST()
309 FOR_EACH_NONEMPTY_TERM(SQUARE, (,), 1) in ZTEST()
310 FOR_EACH_NONEMPTY_TERM(SQUARE, (,), 2, 3) in ZTEST()
311 FOR_EACH_NONEMPTY_TERM(SQUARE, (,), REPEAT_VA_ARGS(4)) in ZTEST()
[all …]
/Zephyr-latest/soc/nordic/nrf54h/bicr/
Dbicr-schema.json192 "External square signal"
354 "External square signal"
/Zephyr-latest/tests/lib/hash_function/src/
Dmain.c108 * However, since we lack sqrt(n), we have to square both sides in kolmogorov_smirnov_test()
/Zephyr-latest/include/zephyr/sys/
Dutil_macro.h524 * #define SQUARE(x) ((x)*(x))
527 * FOR_EACH_NONEMPTY_TERM(SQUARE, (,), FOO(...))
528 * FOR_EACH_NONEMPTY_TERM(SQUARE, (,), BAR(...))
529 * FOR_EACH_NONEMPTY_TERM(SQUARE, (,), BAZ(...))
537 * 2. rewriting SQUARE so it reacts appropriately when "x" is empty
/Zephyr-latest/samples/boards/nxp/adsp/number_crunching/include/
Dmath_ops.h107 /* test Least Mean Square (LMS) Filter for Real Data */
/Zephyr-latest/boards/ambiq/apollo3_evb/doc/
Dindex.rst95 https://github.com/Square/pylink

123