Searched refs:fabs (Results 1 – 4 of 4) sorted by relevance
/Zephyr-latest/tests/boards/vmu_rt1170/icm42688/src/ |
D | main.c | 72 zassert(fabs(x) < 1.0, "fail", "accel x out of range: %10.4f", x); in callback() 73 zassert(fabs(y) < 1.0, "fail", "accel y out of range: %10.4f", y); in callback() 74 zassert(fabs(z - 9.8) < 1.0, "fail", in callback() 83 zassert(fabs(x) < 0.1, "fail", "gyro x out of range: %10.4f", x); in callback() 84 zassert(fabs(y) < 0.1, "fail", "gyro y out of range: %10.4f", y); in callback() 85 zassert(fabs(z) < 0.1, "fail", "gyro z out of range: %10.4f", z); in callback()
|
/Zephyr-latest/tests/lib/cmsis_dsp/common/ |
D | test_common.h | 181 if (fabs(a[index] - b[index]) > threshold) { in test_near_equal_f64() 285 delta = fabs(a[index] - b[index]); in test_rel_error_f64() 286 average = (fabs(a[index]) + fabs(b[index])) / 2.0; in test_rel_error_f64() 355 if (fabs(val[index] - ref[index]) > in test_close_error_f64() 356 (abs_threshold + rel_threshold * fabs(ref[index]))) { in test_close_error_f64()
|
/Zephyr-latest/scripts/coccinelle/ |
D | symbols.txt | 37 fabs
|
/Zephyr-latest/tests/drivers/pwm/pwm_gpio_loopback/src/ |
D | main.c | 170 (uint32_t)10000 * fabs(measured_duty - (float)duty) / duty; in check_timing()
|