/Zephyr-latest/lib/libc/minimal/source/math/ |
D | sqrt.c | 23 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()
|
D | sqrtf.c | 23 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/ |
D | test_sqrt.c | 92 float exponent, resf, square, root_squared, error; in ZTEST() local 95 int32_t *p_square = (int32_t *)□ 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 *)□ in ZTEST() 174 square = test_doubles[i] * exponent; in ZTEST() [all …]
|
/Zephyr-latest/dts/bindings/rtc/ |
D | maxim,ds3231.yaml | 23 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/ |
D | README.rst | 27 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/ |
D | math.h | 54 float sqrtf(float square); 55 double sqrt(double square);
|
/Zephyr-latest/tests/lib/cmsis_dsp/fastmath/src/ |
D | q31.c | 95 "square root did fail with an input value " in ZTEST() 99 "square root operation did not succeed"); in ZTEST()
|
D | q15.c | 95 "square root did fail with an input value " in ZTEST() 99 "square root operation did not succeed"); in ZTEST()
|
D | f32.c | 101 "square root did fail with an input value " in ZTEST() 105 "square root operation did not succeed"); in ZTEST()
|
D | f16.c | 119 "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/ |
D | math_ops.c | 134 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/ |
D | requirements-base.txt | 22 pylink-square
|
/Zephyr-latest/dts/bindings/display/ |
D | sharp,ls0xx.yaml | 15 The EXTCOMIN pin is where a square pulse for toggling VCOM will
|
/Zephyr-latest/modules/cmsis-dsp/ |
D | Kconfig | 78 * Square Root 105 * LMS (least mean square) Filter 162 * Root Mean Square (RMS)
|
/Zephyr-latest/tests/benchmarks/sched_queues/src/ |
D | main.c | 142 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/ |
D | main.c | 129 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/ |
D | Kconfig | 42 IPv6 addresses must be enclosed in square brackets, for example "coap://[fd00::1]".
|
/Zephyr-latest/dts/bindings/fpga/ |
D | lattice,ice40-fpga-bitbang.yaml | 44 in order to create a 1 MHz square wave in the following
|
/Zephyr-latest/include/zephyr/drivers/rtc/ |
D | maxim_ds3231.h | 65 * 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/ |
D | main.c | 297 #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/ |
D | bicr-schema.json | 192 "External square signal" 354 "External square signal"
|
/Zephyr-latest/tests/lib/hash_function/src/ |
D | main.c | 108 * However, since we lack sqrt(n), we have to square both sides in kolmogorov_smirnov_test()
|
/Zephyr-latest/include/zephyr/sys/ |
D | util_macro.h | 524 * #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/ |
D | math_ops.h | 107 /* test Least Mean Square (LMS) Filter for Real Data */
|
/Zephyr-latest/boards/ambiq/apollo3_evb/doc/ |
D | index.rst | 95 https://github.com/Square/pylink
|