Lines Matching refs:INT16_MAX
119 expect_ug = (int32_t)(accel_percent[0] * INT64_C(1000000) * accel_range_g / INT16_MAX); in test_fetch_accel_with_range()
124 expect_ug = (int32_t)(accel_percent[1] * INT64_C(1000000) * accel_range_g / INT16_MAX); in test_fetch_accel_with_range()
129 expect_ug = (int32_t)(accel_percent[2] * INT64_C(1000000) * accel_range_g / INT16_MAX); in test_fetch_accel_with_range()
138 INT16_MAX / INT16_C(4), in ZTEST_F()
140 (int16_t)((INT16_MAX * INT32_C(91)) / INT32_C(100)), in ZTEST_F()
181 expect_10udps = (int32_t)(gyro_percent[0] * INT64_C(100) * scale_mdps / INT16_MAX); in test_fetch_gyro_with_range()
188 expect_10udps = (int32_t)(gyro_percent[1] * INT64_C(100) * scale_mdps / INT16_MAX); in test_fetch_gyro_with_range()
195 expect_10udps = (int32_t)(gyro_percent[2] * INT64_C(100) * scale_mdps / INT16_MAX); in test_fetch_gyro_with_range()
206 (int16_t)((INT16_MAX * INT32_C(15)) / INT32_C(100)), in ZTEST_F()
207 (int16_t)((INT16_MAX * INT32_C(68)) / INT32_C(100)), in ZTEST_F()
208 (int16_t)((INT16_MAX * INT32_C(-22)) / INT32_C(100)), in ZTEST_F()